<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>CreativityJuice &#187; plugins development</title>
	<atom:link href="http://www.creativityjuice.com/tag/developpement-de-plugins/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.creativityjuice.com</link>
	<description>Donnez du jus à votre communication web !</description>
	<lastBuildDate>Tue, 08 Oct 2013 07:27:52 +0000</lastBuildDate>
	<language>en-US</language>
		<sy:updatePeriod>hourly</sy:updatePeriod>
		<sy:updateFrequency>1</sy:updateFrequency>
	<generator>https://wordpress.org/?v=3.7.41</generator>
	<item>
		<title>WordPress plugins activation issue</title>
		<link>http://www.creativityjuice.com/en/blog/probleme-dactivation-de-plugins-wordpress/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=probleme-dactivation-de-plugins-wordpress</link>
		<comments>http://www.creativityjuice.com/en/blog/probleme-dactivation-de-plugins-wordpress/#comments</comments>
		<pubDate>Thu, 08 Nov 2012 10:23:31 +0000</pubDate>
		<dc:creator><![CDATA[admin]]></dc:creator>
				<category><![CDATA[Blog]]></category>
		<category><![CDATA[debugging]]></category>
		<category><![CDATA[plugins development]]></category>
		<category><![CDATA[WordPress]]></category>

		<guid isPermaLink="false">http://www.creativityjuice.com/?p=618</guid>
		<description><![CDATA[How to debug warnings from the activation of your WordPress plugins using output buffering]]></description>
				<content:encoded><![CDATA[<p>If you have tried to develop some plugins for WordPress, you might have faced some warnings while activating it. This is due to some characters sent to the standard output before the header.<span id="more-618"></span> It&#8217;s a bit ugly and we should not distribute that plugin like that.</p>
<p><a href="http://www.creativityjuice.com/wp-content/uploads/2012/11/WordPress_plugin_activation_issue.jpg"><img class="alignnone size-full wp-image-643 colorbox-618" title="WordPress plugin activation issue" src="http://www.creativityjuice.com/wp-content/uploads/2012/11/WordPress_plugin_activation_issue.jpg" alt="WordPress plugin activation issue" width="1432" height="401" /></a></p>
<h2>Where does it come from ?</h2>
<p>Most of the time, it is just a matter of warnings sent during the activation of the plugin. For instance, when you set WordPress in debug mode (WP_DEBUG to true) or when you use <a title="xDebug" href="http://xdebug.org/" target="_blank">xDebug</a>.</p>
<h2>How to deal with that ?</h2>
<p>We set WordPress WP_DEBUG to false, we disable xDebug, and we play with error_reporting flags in our php.ini in order to hide warnings. Ok, I&#8217;m joking ! It might maybe be a good idea to fix our warnings. But how to display those warnings, because blind debugging is a pain.</p>
<h2>How to access to these characters ?</h2>
<p>Well, we are gonna play with output buffering. What&#8217;s that ? It&#8217;s exactly how it sounds, it buffers the characters that were meant to be display on the output. We will use two php functions <a title="ob_start" href="http://www.php.net/manual/en/function.ob-start.php" target="_blank">ob_start</a> and <a title="ob_get_contents" href="http://www.php.net/manual/en/function.ob-get-contents.php" target="_blank">ob_get_contents</a>. The first one starts to buffer the data, while the second one just gets what&#8217;s inside this buffer.</p>
<p>So it&#8217;s gonna look like that:</p>
<p>
<pre class="brush: php; title: ; notranslate">&lt;/p&gt;
&lt;p&gt;register_activation_hook(__FILE__,'myplugin_activate');&lt;/p&gt;
&lt;p&gt;function myplugin_activate(){&lt;/p&gt;
&lt;p&gt;ob_start();&lt;/p&gt;
&lt;p&gt;// Here your plugin activation code&lt;/p&gt;
&lt;p&gt;$contents = ob_get_contents();&lt;/p&gt;
&lt;p&gt;}&lt;/p&gt;
&lt;p&gt;</pre>
</p>
<p>For getting <em>$contents</em>, I let choose: set a breakpoint and debug with your favorite tool, a little <a title="PHP exit" href="http://de3.php.net/manual/en/function.exit.php" target="_blank">exit</a> or even <a title="PHP error log" href="http://de3.php.net/manual/en/function.error-log.php" target="_blank">error_log</a>.</p>
<p>There is a bunch of links that google can give you about output buffering if you want to know more about that.</p>
<p>Have fun with it !</p>
]]></content:encoded>
			<wfw:commentRss>http://www.creativityjuice.com/en/blog/probleme-dactivation-de-plugins-wordpress/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>LIDILE &#8211; Université de Rennes 2</title>
		<link>http://www.creativityjuice.com/en/references/lidile-universite-de-rennes-2/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=lidile-universite-de-rennes-2</link>
		<comments>http://www.creativityjuice.com/en/references/lidile-universite-de-rennes-2/#comments</comments>
		<pubDate>Mon, 28 Feb 2011 15:18:21 +0000</pubDate>
		<dc:creator><![CDATA[admin]]></dc:creator>
				<category><![CDATA[Références]]></category>
		<category><![CDATA[cdille]]></category>
		<category><![CDATA[plugins development]]></category>
		<category><![CDATA[Web development]]></category>
		<category><![CDATA[LabTool]]></category>
		<category><![CDATA[WordPress]]></category>

		<guid isPermaLink="false">http://www.creativityjuice.com/?p=280</guid>
		<description><![CDATA[Le laboratoire LIDILE de l&#8217;Université de Rennes 2 travaille sur la linguistique et la didactique des langues. Ce laboratoire étant très actif, il avait besoin de se doter d&#8217;un outil de communication web à la fois moderne et facile d&#8217;accès. LabTools répond parfaitement à ces critères. En collaboration avec les membres de LIDILE, une nouvelle [&#8230;]]]></description>
				<content:encoded><![CDATA[<p>Le laboratoire LIDILE de l&#8217;Université de Rennes 2 travaille sur la linguistique et la didactique des langues. Ce laboratoire étant très actif, il avait besoin de se doter d&#8217;un outil de communication web à  la fois moderne et facile d&#8217;accès. LabTools répond parfaitement à  ces critères.<br />
En collaboration avec les membres de LIDILE, une nouvelle fonctionnalité a été développée afin de faciliter la communication sur les différents événements scientifiques des équipes du laboratoire. Cette collaboration fait de LIDILE un des principaux moteurs du lancement de la plateforme pour les laboratoires de recherches LabTools !</p>
<h3>Technique développement web</h3>
<ul>
<li>Serveur &#8211; PHP/MySQSL (<a href="http://wordpress.org/" target="_blank">WordPress</a>,<a href="../references/labtools/">LabTools</a>)</li>
<li>Client &#8211; xHTML/CSS/Javascript (<a href="http://jquery.com//" target="_blank">jQuery</a>)</li>
</ul>
<h3>Collaboration technique et graphique</h3>
<ul>
<li>Développement web &#8211; <a href="../" target="_blank">creativityjuice</a></li>
<li>Graphisme web &#8211; <a href="http://cdille.fr/" target="_blank">cdille</a></li>
<li>Design web &#8211; <a href="http://cdille.fr/" target="_blank">cdille</a> &amp; <a href="../" target="_blank">creativityjuice</a></li>
</ul>
<h3>Capture d&#8217;écran</h3>
<p><em>bientà´t en ligne !</em></p>
<p><img class="alignnone size-full wp-image-283 colorbox-280" title="lidilecapt" src="http://www.creativityjuice.com/wp-content/uploads/2011/02/lidilecapt.jpg" alt="" width="600" height="338" /></p>
<h3>Validité</h3>
<p><a href="http://jigsaw.w3.org/css-validator/check/referer"><img class="colorbox-280"  src="http://www.creativityjuice.com/wp-content/uploads/2010/11/vcss-blue.gif" alt="CSS Valide !" width="88" height="31" /></a><br />
<a href="http://validator.w3.org/check?uri=referer"><img class="colorbox-280"  src="http://www.creativityjuice.com/wp-content/uploads/2010/11/valid-xhtml10.png" alt="Valid XHTML 1.0 Transitional" width="88" height="31" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.creativityjuice.com/en/references/lidile-universite-de-rennes-2/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Comportement et Noyaux Gris Centraux</title>
		<link>http://www.creativityjuice.com/en/references/comportement-et-noyaux-gris-centraux/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=comportement-et-noyaux-gris-centraux</link>
		<comments>http://www.creativityjuice.com/en/references/comportement-et-noyaux-gris-centraux/#comments</comments>
		<pubDate>Tue, 25 Jan 2011 10:47:32 +0000</pubDate>
		<dc:creator><![CDATA[admin]]></dc:creator>
				<category><![CDATA[Références]]></category>
		<category><![CDATA[plugins development]]></category>
		<category><![CDATA[Web development]]></category>
		<category><![CDATA[LabTool]]></category>
		<category><![CDATA[WordPress]]></category>

		<guid isPermaLink="false">http://www.creativityjuice.com/?p=271</guid>
		<description><![CDATA[Le laboratoire Comportement et Noyaux Gris Centraux, fraîchement créé à l&#8217;université de Rennes 1, est un des tous premiers laboratoires à avoir choisi LabTools. Ses membres ont activement contribué à l&#8217;amélioration et au développement du module LabTools par leurs remarques constructives. Il en résulte une plateforme web tout à fait en adéquation avec les besoins [&#8230;]]]></description>
				<content:encoded><![CDATA[<p>Le laboratoire Comportement et Noyaux Gris Centraux, fraîchement créé à  l&#8217;université de Rennes 1, est un des tous premiers laboratoires à  avoir choisi LabTools. Ses membres ont activement contribué à  l&#8217;amélioration et au développement du module LabTools par leurs remarques constructives. Il en résulte une plateforme web tout à  fait en adéquation avec les besoins d&#8217;un laboratoire moderne, ses volontés de communication numérique externe mais aussi interne à  l&#8217;équipe.</p>
<h3>Technique développement web</h3>
<ul>
<li>Serveur &#8211; PHP/MySQSL (<a href="http://wordpress.org/" target="_blank">WordPress</a>,<a href="http://www.creativityjuice.com/references/labtools/">LabTools</a>)</li>
<li>Client &#8211; xHTML/CSS/Javascript (<a href="http://jquery.com//" target="_blank">jQuery</a>)</li>
</ul>
<h3>Collaboration technique et graphique</h3>
<ul>
<li>Développement web &#8211; <a href="../" target="_blank">creativityjuice</a></li>
<li>Graphisme &#8211; Laurence ROVERI</li>
</ul>
<h3>Capture d&#8217;écran</h3>
<p>Bientà´t le lien vers la page du site</p>
<h3>Validité</h3>
<p><a href="http://jigsaw.w3.org/css-validator/check/referer"><img class="colorbox-271"  src="http://www.creativityjuice.com/wp-content/uploads/2010/11/vcss-blue.gif" alt="CSS Valide !" width="88" height="31" /></a><br />
<a href="http://validator.w3.org/check?uri=referer"><img class="colorbox-271"  src="http://www.creativityjuice.com/wp-content/uploads/2010/11/valid-xhtml10.png" alt="Valid XHTML 1.0 Transitional" width="88" height="31" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.creativityjuice.com/en/references/comportement-et-noyaux-gris-centraux/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>LabTool</title>
		<link>http://www.creativityjuice.com/en/references/labtool/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=labtool</link>
		<comments>http://www.creativityjuice.com/en/references/labtool/#comments</comments>
		<pubDate>Fri, 05 Nov 2010 15:49:32 +0000</pubDate>
		<dc:creator><![CDATA[admin]]></dc:creator>
				<category><![CDATA[Références]]></category>
		<category><![CDATA[plugins development]]></category>
		<category><![CDATA[LabTool]]></category>
		<category><![CDATA[WordPress]]></category>

		<guid isPermaLink="false">http://www.creativityjuice.com/?p=227</guid>
		<description><![CDATA[LabTool is a platform for the research labs. There are three main goal to that software: * Help the labs with web communication * Centralize their documents * Ease the production of documents about the lab (for instance governmental evaluation) The base of that development is WordPress as a CMS. LabTool is a WordPress plugin [&#8230;]]]></description>
				<content:encoded><![CDATA[<p>LabTool is a platform for the research labs. There are three main goal to that software:</p>
<ul>
<li>* Help the labs with web communication</li>
<li>* Centralize their documents</li>
<li>* Ease the production of documents about the lab (for instance governmental evaluation)</li>
</ul>
<p><span id="more-227"></span>The base of that development is WordPress as a CMS. LabTool is a WordPress plugin which comes to add some functionalities :</p>
<ul>
<li>* Team members profile and web page edition</li>
<li>* News of the lab</li>
<li>* Publications of the lab (import, export and edition)</li>
<li>* Online documents sharing</li>
<li>* Generation of documents from infos in the database</li>
<li>* Scientific events information and inscription</li>
<li>* And more are coming &#8230;</li>
</ul>
<h3>Web development technologies</h3>
<ul>
<li>Server side &#8211; PHP/MySQSL (<a href="http://wordpress.org/" target="_blank">WordPress</a>)</li>
<li>Client side &#8211; xHTML/CSS/Javascript (<a href="http://jquery.com/" target="_blank">jQuery</a>)</li>
</ul>
<h3>Technical and graphic design team</h3>
<ul>
<li>Web development &#8211; <a href="../" target="_blank">creativityjuice</a></li>
<li>Design &#8211; <a href="../" target="_blank">creativityjuice</a></li>
</ul>
<h3>Screen shots</h3>
<p>Go and see the lab which choose to use that solution.</p>
<h3>Validity</h3>
<p><a href="http://jigsaw.w3.org/css-validator/check/referer"><img class="colorbox-227"  style="border: 0; width: 88px; height: 31px;" src="http://www.creativityjuice.com/wp-content/uploads/2010/11/vcss-blue.gif" alt="CSS Valide !" /></a></p>
<p><a href="http://validator.w3.org/check?uri=referer"><img class="colorbox-227"  src="http://www.creativityjuice.com/wp-content/uploads/2010/11/valid-xhtml10.png" alt="Valid XHTML 1.0 Transitional" width="88" height="31" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.creativityjuice.com/en/references/labtool/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
