-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocumentation-module.html
152 lines (139 loc) · 6.61 KB
/
documentation-module.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Bref. Une API Zia - Documentation - Implémenter un module</title>
<!--[if lt IE 9]>
<script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script>
<![endif]-->
<link href="./assets/css/bootstrap.css" rel="stylesheet">
<link href="./assets/css/bootstrap-responsive.css" rel="stylesheet">
<link href="./assets/css/prettify.css" rel="stylesheet">
<script type="text/javascript">
var _gaq = _gaq || [];
_gaq.push(['_setAccount', 'UA-29009488-1']);
_gaq.push(['_trackPageview']);
(function() {
var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
})();
</script>
</head>
<body data-spy="scroll" data-target=".subnav" data-offset="50">
<div class="navbar navbar-fixed-top">
<div class="navbar-inner">
<div class="container">
<a class="btn btn-navbar" data-toggle="collapse" data-target=".nav-collapse">
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</a>
<a class="brand" href="index.html">Bref.</a>
<div class="nav-collapse">
<ul class="nav">
<li><a href="index.html">Accueil</a></li>
<li><a href="documentation-intro.html">Découvrir l'API</a></li>
<li><a href="documentation-api.html">Implémenter l'API</a></li>
<li class="active"><a href="documentation-module.html">Implémenter un module</a></li>
<li><a href="doxygen">Doxygen</a></li>
<li><a href="https://github.com/bref/bref-api">Le projet sur Github</a></li>
</ul>
</div>
</div>
</div>
</div>
<div class="container">
<header class="jumbotron subhead" id="overview">
<h1>Implémenter un module</h1>
<p class="lead">Comment implémenter un module en utilisant l'API Bref ? Des exemples ici !</p>
</header>
<div class="row">
<div class="span6">
<div class="page-header">
<h1>Explication d'IModule</h1>
</div>
<iframe width="560" height="315" src="http://www.youtube.com/embed/4r6uZWdCGd8" frameborder="0" allowfullscreen></iframe>
</div>
<div class="span6">
<div class="page-header">
<h1>Exemples de modules</h1>
</div>
<h2>ModRewrite.cpp</h2>
<div class="row">
<div class="span2">
<a href="documentation-example-ModRewrite.html" class="thumbnail"><img src="./assets/img/home-examples.jpg" alt="Implémentez un module"></a>
</div>
<div class="span4">
<p>Exemple de module effectuant des transformations sur une URL avant la génération de contenu.</p>
<p class="pull-right"><a href="documentation-example-ModRewrite.html" class="btn">Voir l'exemple »</a></p>
</div>
</div>
<h2>ModCGI.cpp</h2>
<div class="row">
<div class="span2">
<a href="documentation-example-ModCGI.html" class="thumbnail"><img src="./assets/img/example-cgi.jpg" alt="Implémentez un module"></a>
</div>
<div class="span4">
<p>Début d'implémentation d'un exemple de module CGI.</p>
<p class="pull-right"><a href="documentation-example-ModCGI.html" class="btn">Voir l'exemple »</a></p>
</div>
</div>
</div>
</div>
<hr>
<footer>
<p class="pull-right">
<iframe src="http://ghbtns.com/github-btn.html?user=bref&repo=bref-api&type=watch&size=large"
allowtransparency="true" frameborder="0" scrolling="0" width="100px" height="30px"></iframe>
<iframe src="http://ghbtns.com/github-btn.html?user=bref&repo=bref-api&type=fork&size=large"
allowtransparency="true" frameborder="0" scrolling="0" width="100px" height="30px"></iframe>
<a href="http://twitter.com/BrefAPI"><img src="./assets/img/icon_twitter.png" alt="Suivez-nous sur twitter" /></a>
<a href="irc://irc.epitech.net/bref"><img src="./assets/img/icon_irc.png" id="irc" /></a>
</p>
<p class="pull-left epilogo"><a href="http://www.epitech.eu"><img src="./assets/img/epitech.gif" alt="Epitech" /></a></p>
<p>Bref. L'API Zia Epitech Nantes 2014.</p>
<p>Par
<a href="http://www.epitech.eu/intra/index.php?section=etudiant&page=rapport&login=badaud_t">badaud_t</a>,
<a href="http://www.epitech.eu/intra/index.php?section=etudiant&page=rapport&login=chiron_f">chiron_f</a>,
<a href="http://www.epitech.eu/intra/index.php?section=etudiant&page=rapport&login=giersc_v">giersc_v</a>,
<a href="http://www.epitech.eu/intra/index.php?section=etudiant&page=rapport&login=papin_g">papin_g</a> et
<a href="http://www.epitech.eu/intra/index.php?section=etudiant&page=rapport&login=rannou_p">rannou_p</a>.
</p>
</footer>
</div>
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js"></script>
<script src="./assets/js/bootstrap-scrollspy.js"></script>
<script src="./assets/js/prettify/prettify.js"></script>
<script>
$(document).ready(function() {
prettyPrint();
var $win = $(window)
, $nav = $('.subnav')
, navTop = $('.subnav').length && $('.subnav').offset().top - 40
, isFixed = 0;
function processScroll() {
var i, scrollTop = $win.scrollTop()
if (scrollTop >= navTop && !isFixed) {
isFixed = 1;
$nav.addClass('subnav-fixed');
} else if (scrollTop <= navTop && isFixed) {
isFixed = 0
$nav.removeClass('subnav-fixed')
}
}
processScroll();
$win.on('scroll', processScroll);
});
</script>
<script type="text/javascript">
var uvOptions = {};
(function() {
var uv = document.createElement('script'); uv.type = 'text/javascript'; uv.async = true;
uv.src = ('https:' == document.location.protocol ? 'https://' : 'http://') + 'widget.uservoice.com/2Do8WywvBVXH9Qyv847nBA.js';
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(uv, s);
})();
</script>
</body>
</html>