<?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>Position Absolute &#187; Random news</title>
	<atom:link href="http://www.position-absolute.com/category/news/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.position-absolute.com</link>
	<description>Waves of front-end development and entrepreneurship articles</description>
	<lastBuildDate>Mon, 13 May 2013 17:54:26 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>The weird state of mobile web apps</title>
		<link>http://www.position-absolute.com/news/the-weird-state-of-mobile-web-apps/</link>
		<comments>http://www.position-absolute.com/news/the-weird-state-of-mobile-web-apps/#comments</comments>
		<pubDate>Mon, 13 May 2013 01:43:22 +0000</pubDate>
		<dc:creator>Cedric Dugas</dc:creator>
				<category><![CDATA[Articles]]></category>
		<category><![CDATA[Javascript / jQuery]]></category>
		<category><![CDATA[Opinions]]></category>
		<category><![CDATA[Random news]]></category>

		<guid isPermaLink="false">http://www.position-absolute.com/?p=4498</guid>
		<description><![CDATA[<p><img src="http://mobilehtml5.org/img/232x321xlogo.png.pagespeed.ic.CB96-XanN6.png" style="float:right; width:150px;"/>There are countless of articles debating going native or HTML5 for your next mobile app. But with Linkedin recently deciding to going back to native I am really starting to ask myself if HTML5 is still part of the equation&#8230;</p>]]></description>
			<content:encoded><![CDATA[<p><img src="http://mobilehtml5.org/img/232x321xlogo.png.pagespeed.ic.CB96-XanN6.png" style="float:right; width:150px;">There are countless of articles debating going native or HTML5 for your next mobile app. But with Linkedin recently deciding to going back to native I am really starting to ask myself if HTML5 is still part of the equation for mobile apps at the current moment. Let&#8217;s look at a small retrospective &#038; see what conclusions we can extract of the mobile web current state.</p>
<h2>Linkedin reverting to native app = broken heart</h2>
<p>Linkedin had one of the most polish html5 iPad app in the market but they recently decided to kill it off after countless of articles describing HTML5 as a viable solution for mobile. What triggered that 180 on their position? Well contrary to popular believes (that all html5 apps are slow), it&#8217;s not speed &#038; animations that made them rollback, but.. memory management. Here&#8217;s how Kiran,  LinkedIn’s senior director for mobile engineering puts it:</p>
<p>&#8220;The primary reason for that is, we’re seeing that more and more people are spending more time in the app, and the app is running out of memory. It’s not performance issues, like speed or rendering, but it’s still a big problem.&#8221;<br />
Read more at <a href="http://venturebeat.com/2013/04/17/linkedin-mobile-web-breakup/#TOVdbZOq5ZjZB0AY.99">VentureBeat</a></p>
<p>Unfortunately they never really explain what tools they use to bake a native apps from their html5 counterpart, so without more informations it&#8217;s pretty hard to make anything of this. One unfortunate truth is that dev tools for mobile web apps are in it&#8217;s infancy, and there is not quite anything like what native apps can provide.</p>
<p>So with Facebook and LinkedIn quitting the HTML5 boat where does that put us? Well pretty much in limbo, that tells us that most publicly listed companies do not think that HTML5 is ready for primetime and could be associated as a risk for still quite some times.</p>
<h2>Looking further</h2>
<p>When Zuck rolled back to native, a small company called Sencha decided to push back a little and released a video showing one of their html5 app running against the current native iphone app. Sencha has a framework called Sencha Touch, that is pretty much everything you need to make a mobile web apps that looks native. So let&#8217;s check that video:</p>
<p><iframe src="http://player.vimeo.com/video/55486684" width="500" height="281" frameborder="0" webkitAllowFullScreen mozallowfullscreen allowFullScreen></iframe>
<p><em><a href="http://www.sencha.com/blog/the-making-of-fastbook-an-html5-love-story">The Making of Fastbook: An HTML5 Love Story</a></em>.</p>
<p>Pretty impressive, I personally tested Sencha touch a long time ago and there was a lot of problems on Android, that being said Android versions 3.0 and less were a problem in themselves, the hardware quality was bad and there were lots of bugs and missing implementation in the webkit browser. The situation with Android &#038; Sencha touch seems to have much improved.</p>
<h2>Okay, so you are telling me I can make a mobile web app, but other big companies are rolling back but it&#8217;s possible but I probably need a big framework to do it?</h2>
<p>Well&#8230;. not exactly. Like anything else doing an html5 app has advantages &#038; disavantages, and it is sometime appropriate. The principal advantage is you get an app that works on Android, iPhone &#038; Blackberry with minimal efforts with technologies you already know. You made websites when IE6 was around? Well it&#8217;s much easier getting something to work on 3 webkit based browsers.</p>
<h2>When should I consider doing a mobile web app?</h2>
<p>Here a few pointers:</p>
<ul>
<li>You have no budget to hire android, ios &#038; blackberry devs but want big market penetration</li>
<li>You are not reinventing a whole new navigation system full of animations</li>
<li>Your app is principally text based</li>
<li>You are still in the prototype stage where you need to iterate quickly</li>
</ul>
<h2>What about CakeMail?</h2>
<p>If you looked around this blog recently you probably know hat I am currently working on the first iteration of the CakeMail mobile app. Our current strategy is to release a web version first, iterate a second version (ameliorations) and then integrate this app into PhoneGap and package it for app stores if all goes well.</p>
<p>For that to becomes to fruition I had to build quite a few components for backbone.js that handle different states in the pages(animations, topbar, menu, popin &#038; etc). My plan was to release those components at Js-Montreal this month but life got in the way and I won&#8217;t be doing that.</p>
<h2>Building a mobile web apps from scratch</h2>
<p>It&#8217;s not that it is particularly hard, it is just fucking html &#038; javascript in the end, but you definitely need to work out some issues you don&#8217;t generally encounter. I probably invested about 80 hours for now in my backbone.js mobile components, and probably need to invest a bit more to make then really solid on ios and android(4.0+).</p>
<p>Why not use jQuery mobile or Sencha? Well I don&#8217;t like to stand on top of the next guy, not really understanding what&#8217;s happening in the background. Plus the Cake app is pretty small &#038; I did not see the advantage, specially performance wise, of using a big framework. One interesting thing with backbone is that you can really &#8220;bend it&#8221; any way you want and it&#8217;s something I appreciate a lot, my components try to follow the same philosophy.</p>
<p>I plan to do a presentation (<em>probably next month</em>) at js-montreal, if your interested at getting started in mobile web development and you don&#8217;t want to be dependant of Sencha or jQuery , you should difinately check that out, I got tons of tips &#038; tricks. Here a small taste of my <strong>very unfinished</strong> slides:</p>
<p><iframe src="http://www.slideshare.net/slideshow/embed_code/21061545" width="476" height="400" frameborder="0" marginwidth="0" marginheight="0" scrolling="no"></iframe></p>
]]></content:encoded>
			<wfw:commentRss>http://www.position-absolute.com/news/the-weird-state-of-mobile-web-apps/feed/</wfw:commentRss>
		<slash:comments>8</slash:comments>
		</item>
		<item>
		<title>Tips for getting started with Vagrant, dev environments evolved</title>
		<link>http://www.position-absolute.com/news/tips-for-getting-started-with-vagrant-dev-environments-evolved/</link>
		<comments>http://www.position-absolute.com/news/tips-for-getting-started-with-vagrant-dev-environments-evolved/#comments</comments>
		<pubDate>Sun, 21 Oct 2012 20:24:37 +0000</pubDate>
		<dc:creator>Cedric Dugas</dc:creator>
				<category><![CDATA[Articles]]></category>
		<category><![CDATA[Opinions]]></category>
		<category><![CDATA[Random news]]></category>

		<guid isPermaLink="false">http://www.position-absolute.com/?p=4205</guid>
		<description><![CDATA[<p>I have been using xampp for my local lamp stack for ages. It works well, but that&#8217;s definitely nothing like my live production server. Enter Vagrant, &#8220;easily&#8221; reproducible dev stacks.</p>
<p>Wouldn&#8217;t it be perfect if you could just give a recipe&#8230;</p>]]></description>
			<content:encoded><![CDATA[<p>I have been using xampp for my local lamp stack for ages. It works well, but that&#8217;s definitely nothing like my live production server. Enter Vagrant, &#8220;easily&#8221; reproducible dev stacks.</p>
<p>Wouldn&#8217;t it be perfect if you could just give a recipe to your new developers and boom, their app environment is ready, they can get to code right away. No more fiddling with hosts, memcache, enabling by hand php modules. Just 2 or 3 commands and your done. I&#8217;m not going to go deep into a tutorial since I am still very new to Vagrant but I thought I could give you a couple of tips to get you started easily.</p>
<h2>Video tutorial</h2>
<p>One nice thing about Vagrant is their <a href="http://vimeo.com/9976342">introduction video</a> that helps you automate your first lamp stack. The bad news is that while it will get you 90% there, Vagrant changed a lot since that video was made and you will have to do a bit of testing to get everything working.</p>
<p><a href="http://iostudio.github.com/LunchAndLearn/2012/03/21/vagrant.html">These slides</a> are also a good starting point, it&#8217;s a bit more up to date and the coding style is more elegant.</p>
<h2>Fiddling with hosts</h2>
<p>Vagrant by default will forward the vm to your 127.0.0.1 with a special port (any port you choose). On your side you can&#8217;t use your host to forward 127.0.0.1:8080 to (for example) devdomain.com. Hosts file are only for dns not for port so it won&#8217;t help you. You could of course go to forward back the port using firewall apps and etc.</p>
<p>But the easiest thing to do is nothing, put your domain in your host file and then you can just type devdomain:8080 and it&#8217;s going to work since you already forwarded that domain to your localhost in your host file.</p>
<h2>MYSQL installation</h2>
<p>There is currently a bug when you install mysql with the default ubuntu box that Vagrant provides, for some reason chef tries to connect before mysql is ready and it&#8217;s going to throw an error.</p>

<div class="wp_syntax"><div class="code"><pre class="html" style="font-family:monospace;">Error executing action `run` on resource 'execute[mysql-install-privileges]'
STDERR: ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)</pre></div></div>

<p>Fortunately there is an easy monkey patch until they get that worked out. Go to your mysql recipe and edit the server.rb file</p>

<div class="wp_syntax"><div class="code"><pre class="ruby" style="font-family:monospace;"><span style="color:#006666;">139</span> subscribes <span style="color:#ff3333; font-weight:bold;">:run</span>, resources<span style="color:#006600; font-weight:bold;">&#40;</span><span style="color:#996600;">&quot;template[#{grants_path}]&quot;</span><span style="color:#006600; font-weight:bold;">&#41;</span>, <span style="color:#ff3333; font-weight:bold;">:immediately</span>
<span style="color:#006666;">140</span> ignore_failure <span style="color:#0000FF; font-weight:bold;">true</span> <span style="color:#008000; font-style:italic;"># &quot;Can't connect to MySQL&quot; monkeyfix</span></pre></div></div>

<p>There is not much informations about this bug, but if you look a bit there is <a href="https://github.com/xforty/vagrant-drupal/issues/11">these guys</a> that talk about it.</p>
<h2>PHP and it&#8217;s modules</h2>
<p>First thing first, do not forget to add</p>

<div class="wp_syntax"><div class="code"><pre class="ruby" style="font-family:monospace;">include_recipe <span style="color:#996600;">&quot;apache2::mod_php5&quot;</span></pre></div></div>

<p>Or your files won&#8217;t load in your browser, you will download them since the header won&#8217;t work. In fact thinking about apache, you probably should include all of those:</p>

<div class="wp_syntax"><div class="code"><pre class="ruby" style="font-family:monospace;">include_recipe <span style="color:#996600;">&quot;apache2&quot;</span>
include_recipe <span style="color:#996600;">&quot;apache2::mod_php5&quot;</span>
include_recipe <span style="color:#996600;">&quot;apache2::mod_rewrite&quot;</span>
include_recipe <span style="color:#996600;">&quot;apache2::mod_deflate&quot;</span>
include_recipe <span style="color:#996600;">&quot;apache2::mod_headers&quot;</span></pre></div></div>

<p>As for php, do not forget to add all the modules you need to, your list should look something like:</p>

<div class="wp_syntax"><div class="code"><pre class="ruby" style="font-family:monospace;">include_recipe <span style="color:#996600;">&quot;php&quot;</span>
include_recipe <span style="color:#996600;">&quot;php::module_apc&quot;</span>
include_recipe <span style="color:#996600;">&quot;php::module_memcache&quot;</span>
include_recipe <span style="color:#996600;">&quot;php::module_curl&quot;</span>
include_recipe <span style="color:#996600;">&quot;php::module_mcrypt&quot;</span></pre></div></div>

<p>Unfortunately the PHP cookbook does not include recipe for all php modules, for example, mcrypt is not in there, you will have to copy a module recipe and add your custom modules yourself. Fortunately it&#8217;s pretty straight forward and the code is simple, here how I implemented mcrypt:</p>

<div class="wp_syntax"><div class="code"><pre class="ruby" style="font-family:monospace;">pkg = value_for_platform<span style="color:#006600; font-weight:bold;">&#40;</span>
    <span style="color:#006600; font-weight:bold;">&#91;</span> <span style="color:#996600;">&quot;centos&quot;</span>, <span style="color:#996600;">&quot;redhat&quot;</span>, <span style="color:#996600;">&quot;fedora&quot;</span> <span style="color:#006600; font-weight:bold;">&#93;</span> <span style="color:#006600; font-weight:bold;">=&gt;</span> <span style="color:#006600; font-weight:bold;">&#123;</span><span style="color:#996600;">&quot;default&quot;</span> <span style="color:#006600; font-weight:bold;">=&gt;</span> <span style="color:#996600;">&quot;php5-mcrypt&quot;</span><span style="color:#006600; font-weight:bold;">&#125;</span>, 
    <span style="color:#996600;">&quot;default&quot;</span> <span style="color:#006600; font-weight:bold;">=&gt;</span> <span style="color:#996600;">&quot;php5-mcrypt&quot;</span>
  <span style="color:#006600; font-weight:bold;">&#41;</span>
&nbsp;
package pkg <span style="color:#9966CC; font-weight:bold;">do</span>
  action <span style="color:#ff3333; font-weight:bold;">:install</span>
<span style="color:#9966CC; font-weight:bold;">end</span></pre></div></div>

<p>Following that convention you should be able to get all the php modules working.</p>
<h2>File templates</h2>
<p>One of the nice thing about Vagrant is that you can pretty much template any file from your vm. I use this functionality to rewrite /etc/hosts for what I need.</p>
<p>on your recipe you do:</p>

<div class="wp_syntax"><div class="code"><pre class="ruby" style="font-family:monospace;">template <span style="color:#996600;">&quot;/etc/hosts&quot;</span> <span style="color:#9966CC; font-weight:bold;">do</span>
	source <span style="color:#996600;">&quot;hosts.conf.erb&quot;</span>
	owner <span style="color:#996600;">&quot;root&quot;</span>
	group <span style="color:#996600;">&quot;root&quot;</span>
	mode 0644
<span style="color:#9966CC; font-weight:bold;">end</span></pre></div></div>

<p>Then in your hosts.conf.erb you can pretty much do whatever you want with that file using ruby, you also have access to a wide range of variables from vagrant.</p>
<h2>Vagrant, a very impressive technology</h2>
<p>Vagrant is impressive, it&#8217;s unfortunate that it&#8217;s hard to find good up-to-date tutorials to get started, we often get puzzled by a code that should work and not because it changed since the article was written. Hope this couple of tips can help you get your environment running!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.position-absolute.com/news/tips-for-getting-started-with-vagrant-dev-environments-evolved/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Update on mobile web frameworks</title>
		<link>http://www.position-absolute.com/news/update-on-mobile-web-frameworks/</link>
		<comments>http://www.position-absolute.com/news/update-on-mobile-web-frameworks/#comments</comments>
		<pubDate>Thu, 22 Sep 2011 11:28:33 +0000</pubDate>
		<dc:creator>Cedric Dugas</dc:creator>
				<category><![CDATA[Javascript / jQuery]]></category>
		<category><![CDATA[News small archive]]></category>
		<category><![CDATA[Random news]]></category>

		<guid isPermaLink="false">http://www.position-absolute.com/?p=3807</guid>
		<description><![CDATA[<p>Recently saw 2 developments on web mobile frameworks that really got my attention. </p>
<h2>jQuery Mobile</h2>
<p>First, jQuery mobile just entered Beta3. Lots of bugfixes but also one cool thing that has been baking for a while, real fixed footers and headers&#8230;</p>]]></description>
			<content:encoded><![CDATA[<p>Recently saw 2 developments on web mobile frameworks that really got my attention. </p>
<h2>jQuery Mobile</h2>
<p>First, jQuery mobile just entered Beta3. Lots of bugfixes but also one cool thing that has been baking for a while, real fixed footers and headers are available in the framework. Before that, jQuery fixed stuff was just a gimmick with the fixed bars disappearing when scrolling, now you got the real deal, <em>well sort of</em>. It&#8217;s unfortunately only available for ios5, meaning not a big lot of people will see it. </p>
<p>Android does not really support fixed positioning yet, it however supports overflow:scrolltouch. But it seems the jQ teams decided to only implement  position:fixed for everybody. There is a nice video of the feature <a href="http://jquerymobile.com/blog/">here</a>.</p>
<h2>Sencha Touch</h2>
<p>Sencha kind of went off the radar for sometimes now, but they just announced something really hot. Sencha Touch version 2 will include a native packaging that will automatically transform your web apps into native apps on android and ios, on osx and windows.</p>
<p>Now I don&#8217;t know if they really went there and added ios app native packaging on Windows, but that would be legend&#8230; wait for it&#8230; wait for it&#8230; legendary! <a href="http://www.sencha.com/blog/sencha-touch-2-what-to-expect/">More information here</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.position-absolute.com/news/update-on-mobile-web-frameworks/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Text editors again</title>
		<link>http://www.position-absolute.com/news/text-editors-again/</link>
		<comments>http://www.position-absolute.com/news/text-editors-again/#comments</comments>
		<pubDate>Thu, 15 Sep 2011 03:41:27 +0000</pubDate>
		<dc:creator>Cedric Dugas</dc:creator>
				<category><![CDATA[Articles]]></category>
		<category><![CDATA[Opinions]]></category>
		<category><![CDATA[Random news]]></category>

		<guid isPermaLink="false">http://www.position-absolute.com/?p=3798</guid>
		<description><![CDATA[<p>I found my new house, really. I have been using e-text-editor on windows and Textmate on OSX for nearly 3 years and never really saw any contender to them. I tried aptana 3, too slow, no textmate bundle, buggy jquery&#8230;</p>]]></description>
			<content:encoded><![CDATA[<p>I found my new house, really. I have been using e-text-editor on windows and Textmate on OSX for nearly 3 years and never really saw any contender to them. I tried aptana 3, too slow, no textmate bundle, buggy jquery snippets, in the end I still went back. My 2 favorites both support tm bundles, there fast, E had split view and some nice features like command lines via cygwin.. But where is my textmate 2? Nobody knows, I heard the author went to work on the Espresso editor, it did not impress me, but fortunately now Sublime 2 is here to take the place of Textmate 2.</p>
<h2>Sublime text 2, the new holy grail of editing</h2>
<p>Okay, I know VIM is powerful (hello sys admins <img src='http://www.position-absolute.com/wp-includes/images/smilies/icon_razz.gif' alt=':P' class='wp-smiley' /> ) and Emacs got a weird following but here we got a game changer. It got the snippets power of textmate (all tm bundle works, mostly), the extensibility of VIM and the split view of E, all in a nice package, available on Windows, OSX and Linus. Meaning you will never have to fear coding on any platform.<em> A part maybe from your web server.</em></p>
<p>Obviously I am excited, I moved my tm bundles and started playing around with it but it is too soon to tell if the relation will last. If you want some tips and tricks on using Sublime 2 I recommend having a look at <a href="http://net.tutsplus.com/tutorials/tools-and-tips/sublime-text-2-tips-and-tricks/">this article on nettuts</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.position-absolute.com/news/text-editors-again/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>Introducing BackboneFU.com, the resources for Backbone.js.. maybe</title>
		<link>http://www.position-absolute.com/news/backbonefu-com-the-ressources-for-backbone-maybe/</link>
		<comments>http://www.position-absolute.com/news/backbonefu-com-the-ressources-for-backbone-maybe/#comments</comments>
		<pubDate>Sun, 28 Aug 2011 18:52:10 +0000</pubDate>
		<dc:creator>Cedric Dugas</dc:creator>
				<category><![CDATA[Javascript / jQuery]]></category>
		<category><![CDATA[News small archive]]></category>
		<category><![CDATA[Random news]]></category>

		<guid isPermaLink="false">http://www.position-absolute.com/?p=3761</guid>
		<description><![CDATA[<p>Well, well, sometimes I feel that I need to start a small project just for the fun of it, this time I created <a href="http://www.backbonefu.com">backboneFU</a>. I recently started playing with this framework and while there is a lot of resources about&#8230;</p>]]></description>
			<content:encoded><![CDATA[<p>Well, well, sometimes I feel that I need to start a small project just for the fun of it, this time I created <a href="http://www.backbonefu.com">backboneFU</a>. I recently started playing with this framework and while there is a lot of resources about backbone, I feel that it&#8217;s missing a community website like railcasts for Rails.</p>
<p>This is why I started BackboneFU, in my wildest dreams it would become the resource for Backbone. Anyone who wants to write about backbone will be accepted on the website, so if you want to write something, or already wrote something on your blog and donate the article also on BakcbonFU, you are welcome to do so. There is a nice bio for authors on each articles.</p>
<p>I also added one article recently, <a href="http://backbonefu.com/2011/08/front-end-developer-to-backbone-js-what-you-need-to-know/">Front-end developers to backbone.js</a>.</p>
<p>So there you have it, BackboneFU lives <img src='http://www.position-absolute.com/wp-includes/images/smilies/icon_razz.gif' alt=':P' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://www.position-absolute.com/news/backbonefu-com-the-ressources-for-backbone-maybe/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Authoring a css book and what is next</title>
		<link>http://www.position-absolute.com/news/authoring-a-css-book-and-what-is-next/</link>
		<comments>http://www.position-absolute.com/news/authoring-a-css-book-and-what-is-next/#comments</comments>
		<pubDate>Tue, 19 Jul 2011 17:03:06 +0000</pubDate>
		<dc:creator>Cedric Dugas</dc:creator>
				<category><![CDATA[CSS / HTML]]></category>
		<category><![CDATA[Javascript / jQuery]]></category>
		<category><![CDATA[Random news]]></category>

		<guid isPermaLink="false">http://www.position-absolute.com/?p=3704</guid>
		<description><![CDATA[<p>I neglected quite a bit my blog for some times now .. After 3 years of doing this I  feel like I have less and less to say about web development. Well not that it happens to every blogs of&#8230;</p>]]></description>
			<content:encoded><![CDATA[<p>I neglected quite a bit my blog for some times now .. After 3 years of doing this I  feel like I have less and less to say about web development. Well not that it happens to every blogs of course <img src='http://www.position-absolute.com/wp-includes/images/smilies/icon_razz.gif' alt=':P' class='wp-smiley' /> . I still have some stuff for you guys, but I feel my time doing one article a week is gone.</p>
<h2>Confoo conference</h2>
<p>This year I am trying to do a talk at the <a href="http://confoo.ca/en/call-for-papers/1028">Confoo conference</a>, basically it&#8217;s an introduction course at code organization with jQuery, called jQuery Spaghetti. It&#8217;s probably not for most of you guys and I know it has been done in other js conferences, but I feel like Confoo will have quite a bit of &#8216;hobby&#8217; jQuery devs since it&#8217;s really a diverse conference about all web technologies (hoo and it is also in french). Still, if you like the idea and you&#8217;re in Montreal, I could use a vote or 2 for <a href="http://confoo.ca/en/call-for-papers/1028">my talk</a>. (You can downvote too, any feedback is appreciate!)</p>
<h2>Self-publishing a book</h2>
<p>Did you know that anyone can wrote a book and self-publish it these days? and I am not talking about  doing a pdf, I&#8217;m talking about a paperback book available from amazon. This is what <a href="http://lulu.com">lulu.com</a> and <a href="http://createspace.com">createspace.com</a> are offering. It does all the hard work for you (well beside writing the book of course).</p>
<p>It&#8217;s quite impressive to upload a pdf and have a paperback available from online stores, and even physical book stores with lulu.</p>
<h2>A book on css, really?</h2>
<p>Yup, I am writing a book about html and css templating, this has been done 30 times you might say, but I really think the approach I am taking has not been that used. In this book I am not talking about HTML5, CSS3, grids, etc. I am talking about doing templating efficiently on deadlines with a cross-browsers angle. </p>
<p>The book will walk you through 2 examples (a website homepage and an email), and explain you the problems you will encounter along the way. I&#8217;m already 80% done with the writing, but doing image assets takes quite a bit of times.</p>
<h2>A book looking professional</h2>
<p>Obviously if you are authoring a book, you want it to look professional. Unfortunatly most of us are not designers. Fortunately there is a couple of inDesign book template available, I even found one free, and its a really nice <a href="http://www.stockindesign.com/inicio/item/book-template-aristo">book template</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.position-absolute.com/news/authoring-a-css-book-and-what-is-next/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>Going to war, web developer style</title>
		<link>http://www.position-absolute.com/news/going-to-war-web-developer-style/</link>
		<comments>http://www.position-absolute.com/news/going-to-war-web-developer-style/#comments</comments>
		<pubDate>Mon, 28 Mar 2011 14:27:12 +0000</pubDate>
		<dc:creator>Cedric Dugas</dc:creator>
				<category><![CDATA[Articles]]></category>
		<category><![CDATA[Opinions]]></category>
		<category><![CDATA[Random news]]></category>

		<guid isPermaLink="false">http://www.position-absolute.com/?p=3611</guid>
		<description><![CDATA[<p>There is bad customer services everywhere, but nothing quite compares to The Brick for me. Here in Quebec we get raped by Telecom companies on cellphone plans and internet, we pay much more for less, and yet, today I am&#8230;</p>]]></description>
			<content:encoded><![CDATA[<p>There is bad customer services everywhere, but nothing quite compares to The Brick for me. Here in Quebec we get raped by Telecom companies on cellphone plans and internet, we pay much more for less, and yet, today I am really more pissed off at The Brick.</p>
<p>I am going to spare you the details of my adventure with them, you can find all the details <a href="http://thebrickwarranty.com/horror-stories/dining-set/a-5-year-warranty-that-i-will-never-use/">here</a>. Let&#8217;s just say that I bought some furniture and I am really not happy with it.</p>
<h2>War, guerrilla style!</h2>
<p>I was so pissed off about my discussion with their customer support that I decided to create a website to tell everyone about how shitty The Brick is, and I did it in little more than 4 hours. First thing first, I bought a nice domain name, thebrickwarranty.com.  My host, <a href="http://webfaction.com">webfaction</a>, has some pre-install softwares, turns out wordpress is one of them. Not that it&#8217;s hard to install of course, but it is quite satisfying to have it up in running in 10 seconds.</p>
<h2>Ok, but what about the design?</h2>
<p>My friend Google <a target="_blank" href="http://www.smashingmagazine.com/2010/08/19/100-free-high-quality-wordpress-themes-for-2010/">told me</a> that there is quite a few nice free themes around, and I found a <a target="_blank" href="http://wordpress.site5.net/boldy/">spectacular one</a> too. I just did a couple of small template tweaking to fit my needs. </p>
<p>I also needed a couple of plugins, </p>
<p>Disqus &#8211; The super nice commenting system that handles everything.<br />
Share on facebook &#8211; Well a sharing plugin<br />
wp super cache &#8211; Hey, using less resources is always good</p>
<p>The longest thing was finding the Facebook sharing plugin! Of course I needed a Twitter account too, I decided to use the nice concept of BP global PR, which was making fun of BP disaster PR campaign, I registered <a href="http://twitter.com/#!/thebrickwarrant">@thebrickwarranty</a>. I was very disappointed, but not surprised, to find out that The Brick does not even own a Twitter account. HEH!</p>
<p>This was the final result, <a target="_blank" href="http://thebrickwarranty.com">the brick warranty</a></p>
<p>Now that&#8217;s all nice, but I needed people to find me and I needed to get on the first page with the &#8220;The Brick&#8221; keyword. Turns out there also quite a few people pissed at them, so I tried to advertise <a href="http://thebrickwarranty.com">thebrickwarranty.com</a> on different consumer forums, with mitigate results.</p>
<h2>Google Adword</h2>
<p>I had this 100$ Google ad voucher code taking dust for a while, what a nice way to try Adword! Turns out, The Brick is an expensive keyword and it didn&#8217;t last long.</p>
<p>One nice thing however, with Google Analytic I saw that some people find the website on keywords like &#8220;the brick dining set&#8221;, which is pretty cool, over time I am pretty sure my ranking on this type of keywords will become better.</p>
<h2>Reflecting on all this</h2>
<p>In the end I surely invested more time than it was worth the trouble. I contacted their customer support linking my new website in hope it might at least get a &#8220;*(&#038;(u*&#8221; from a director or a vice-president, I did not got a response yet. I&#8217;m still happy I did it, <strong>mission accomplished</strong>.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.position-absolute.com/news/going-to-war-web-developer-style/feed/</wfw:commentRss>
		<slash:comments>7</slash:comments>
		</item>
		<item>
		<title>A front-end developer journey into symfony..</title>
		<link>http://www.position-absolute.com/news/a-front-end-developer-journey-into-symfony/</link>
		<comments>http://www.position-absolute.com/news/a-front-end-developer-journey-into-symfony/#comments</comments>
		<pubDate>Tue, 18 Jan 2011 18:45:24 +0000</pubDate>
		<dc:creator>Cedric Dugas</dc:creator>
				<category><![CDATA[Articles]]></category>
		<category><![CDATA[Random news]]></category>

		<guid isPermaLink="false">http://www.position-absolute.com/?p=3485</guid>
		<description><![CDATA[<p>I love doing HTML/CSS/Javacscript, but what happens when you want to create a project that Wordpress can&#8217;t handle? Beside finding someone who can do it I mean.. Well you have to learn new stuff and this is how I immersed&#8230;</p>]]></description>
			<content:encoded><![CDATA[<p>I love doing HTML/CSS/Javacscript, but what happens when you want to create a project that Wordpress can&#8217;t handle? Beside finding someone who can do it I mean.. Well you have to learn new stuff and this is how I immersed myself in more complex back-end work.</p>
<h2>Making a framework choice</h2>
<p>Where do I start? like anyone I guess, I check for the <a href="http://blog.ifabio.com/2010/03/02/django-rails-symfony-a-different-point-of-view/">best</a>  <a href="http://stackoverflow.com/questions/249984/php-framework-decision-analysis-paralysis">framework</a> to learn. Obviously I am not going to create my own MVC framework, some of the best php guys are already doing that (And also I suck at doing php). And I am not going to use a CMS, not enough barebone to do an app, less extensible and also more security problems (plus I hate Joomla and Drupal).  So I browse the web, django, ruby on rail, Zend, Symfony, so much languages and frameworks, so much choice! </p>
<p>In the end I decided to stay with php, I already know php a bit and learning an entire language felt like a waste of time, <em>I ni mi ni ma nimo</em>, I stop on Kohana and Symfony. </p>
<p>Kohana feels like jQuery I would say, I can do some basic stuff quite easily.<br />
Symfony, feel a bit like Dojo, it&#8217;s effing huge, and not as easy as Kohana.</p>
<p>That being said, Symfony had a lot of features I wanted, a bigger community and a better documentation, so in the end, Symfony won my challenge. Diving right into it, I start the <a href="http://www.symfony-project.org/jobeet/1_4/Doctrine/en/">Symfony in 24 days</a> book. Okay, so yeah, setting up environments <strong>check</strong>, learning a bit of the ORM <strong>check</strong>, learning a bit of the command system <strong>check</strong>, Okay my head hurts now.</p>
<p>Don&#8217;t even get me started with the Symfony form framework, I really hate how they automatically generate your forms. That being said, it still is really useful, the idea is to generate a form linked to your database table, so this make it really easy to save new entries.</p>
<p>In fact it look like this: $form->save(); .. yeah that easy. Like I said I am not a fan of how they automatically generate the form with table though, but you can mold it as you want, and generate each label and input separately.</p>
<h2>My head is being pounded</h2>
<p>You really can&#8217;t be efficient when you&#8217;re learning, getting stuck each day at doing something that should be easy. </p>
<p>Who knew doing back-end was so hard! You got to manage Cron, sql, orm, MVC frameworks, routing&#8230; I feel like I should have started learning this a long time ago. When I was in school has a Multimedia Integrator I learned ASP (not .net), a pure waste of time. Now they learn PHP but I&#8217;m not even sure if they even have any remotely idea of  what MVC mean, which is bad, as most of everything they do will be in front-end developer will be in a similar environnement.</p>
<h2>The documentation</h2>
<p>Probably the best thing about Symfony is it&#8217;s documentation. You get a crazy amount of information from the get-go. With one of the free book, you can create a job posting website in 24 days. I used a lot of information from this book to create my application.</p>
<p>It really give you a good feel on how the anatomy of any application should be like using Symfony.</p>
<h2>Symfony as a framework of choice for front-end developers?</h2>
<p>I found in Symfony what I guess most people found in Ruby on rails from what I read on the web. The framework really give you the tools you need to create web application, so you can really concentrate on your app instead of focusing on integrating swift mailer, managing your database relations and others. It really gives you a <strong>big</strong> abstracted layer of everything you will need to create your next thing.</p>
<p>But I also saw a lot of front-end developers on twitter doing ruby and django, I guess it is a matter of taste after all&#8230;</p>
]]></content:encoded>
			<wfw:commentRss>http://www.position-absolute.com/news/a-front-end-developer-journey-into-symfony/feed/</wfw:commentRss>
		<slash:comments>13</slash:comments>
		</item>
		<item>
		<title>Form validation engine 2.0 is live</title>
		<link>http://www.position-absolute.com/news/form-validation-engine-2-0-is-live/</link>
		<comments>http://www.position-absolute.com/news/form-validation-engine-2-0-is-live/#comments</comments>
		<pubDate>Mon, 17 Jan 2011 18:12:53 +0000</pubDate>
		<dc:creator>Cedric Dugas</dc:creator>
				<category><![CDATA[Javascript / jQuery]]></category>
		<category><![CDATA[Random news]]></category>
		<category><![CDATA[Small Projects & plugins]]></category>

		<guid isPermaLink="false">http://www.position-absolute.com/?p=3539</guid>
		<description><![CDATA[<p>As said previously a rewrite of the validation engine has been in the work for sometimes and  today it is finally live, the API changed a lot, might be a good idea to have a look at the new documentation&#8230;</p>]]></description>
			<content:encoded><![CDATA[<p>As said previously a rewrite of the validation engine has been in the work for sometimes and  today it is finally live, the API changed a lot, might be a good idea to have a look at the new documentation if you are upgrading.</p>
<p>I will be updating the documentation today, but the most up to date doc will always be the readme on github. The legacy 1.7 documentation and download can be found under package when you hit download on github</p>
<p>Time to stop squeezing ketchup (inside joke) and hail to the <a href="https://github.com/posabsolute/jQuery-Validation-Engine">beast</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.position-absolute.com/news/form-validation-engine-2-0-is-live/feed/</wfw:commentRss>
		<slash:comments>22</slash:comments>
		</item>
		<item>
		<title>Form validation engine 2.0 will be live soon</title>
		<link>http://www.position-absolute.com/news/form-validation-engine-2-0-will-be-live-soon/</link>
		<comments>http://www.position-absolute.com/news/form-validation-engine-2-0-will-be-live-soon/#comments</comments>
		<pubDate>Tue, 04 Jan 2011 12:37:18 +0000</pubDate>
		<dc:creator>Cedric Dugas</dc:creator>
				<category><![CDATA[Javascript / jQuery]]></category>
		<category><![CDATA[Random news]]></category>

		<guid isPermaLink="false">http://www.position-absolute.com/?p=3524</guid>
		<description><![CDATA[<p>I will be updating the validation engine to version 2.0 this week, you can have a preview of the beast <a href="https://github.com/orefalo/jQuery-Validation-Engine">here</a>. This version is a complete rewrite of the actual code, and mostly all api&#8217;s had changes, so if your&#8230;</p>]]></description>
			<content:encoded><![CDATA[<p>I will be updating the validation engine to version 2.0 this week, you can have a preview of the beast <a href="https://github.com/orefalo/jQuery-Validation-Engine">here</a>. This version is a complete rewrite of the actual code, and mostly all api&#8217;s had changes, so if your upgrading, you better have a good look at the documentation (see readme).</p>
<p>The rewrite was done by <a href="http://www.crionics.com/">Olivier Refalo</a>, I wanted to do a rewrite for some times but a lack of time and passion about this stopped me. The script was near 3 years old and while I was happy with it, to stay in a &#8220;modern&#8221; javascript world it needed significant changes.</p>
<p>The core of the library stayed the same, but what is wrapping is a lot better, Olivier also did a nice rewrite of the ajax validation function. I am really happy on how it turned out.</p>
<p>The merge should be done by the end of the week, I will also link to a legacy api and I will add the api page to the 1.7.3 bundle, so don&#8217;t worry about loosing the old documentation.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.position-absolute.com/news/form-validation-engine-2-0-will-be-live-soon/feed/</wfw:commentRss>
		<slash:comments>21</slash:comments>
		</item>
	</channel>
</rss>
