<?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>SitePoint » Learn CSS &#124; HTML5 &#124; JavaScript &#124; Wordpress &#124; Tutorials-Web Development &#124; Reference &#124; Books and More &#187; News &amp; Trends</title> <atom:link href="http://www.sitepoint.com/category/news/feed/" rel="self" type="application/rss+xml" /><link>http://www.sitepoint.com</link> <description></description> <lastBuildDate>Thu, 17 May 2012 11:44:21 +0000</lastBuildDate> <language>en</language> <sy:updatePeriod>hourly</sy:updatePeriod> <sy:updateFrequency>1</sy:updateFrequency> <generator>http://wordpress.org/?v=3.3.1</generator> <xhtml:meta xmlns:xhtml="http://www.w3.org/1999/xhtml" name="robots" content="noindex" /> <item><title>Two New Proposals to Solve the CSS3 Vendor Prefix Crisis</title><link>http://www.sitepoint.com/css3-vendor-prefix-crisis-solutions-2/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=css3-vendor-prefix-crisis-solutions-2</link> <comments>http://www.sitepoint.com/css3-vendor-prefix-crisis-solutions-2/#comments</comments> <pubDate>Tue, 15 May 2012 15:41:07 +0000</pubDate> <dc:creator>Craig Buckler</dc:creator> <category><![CDATA[CSS Tutorials]]></category> <category><![CDATA[CSS3]]></category> <category><![CDATA[Discussion]]></category> <category><![CDATA[HTML & CSS]]></category> <category><![CDATA[HTML5]]></category> <category><![CDATA[News & Trends]]></category> <category><![CDATA[Web Tech]]></category> <category><![CDATA[CSS]]></category> <category><![CDATA[HTML5 Dev Center]]></category> <category><![CDATA[HTML5 Tutorials & Articles]]></category> <category><![CDATA[vendor prefixes]]></category> <guid
isPermaLink="false">http://www.sitepoint.com/?p=54609</guid> <description><![CDATA[<img
width="50" height="50" src="http://www.sitepoint.com/wp-content/uploads/1/files/2012/02/641-css-vendor-prefix-crisis-50x50.jpg" class="attachment-thumbnail wp-post-image" alt="641-css-vendor-prefix-crisis" title="641-css-vendor-prefix-crisis" />Craig discusses two new proposals which could prevent the CSS3 vendor prefix catastrophe before it begins.]]></description> <content:encoded><![CDATA[<img
width="50" height="50" src="http://www.sitepoint.com/wp-content/uploads/1/files/2012/02/641-css-vendor-prefix-crisis-50x50.jpg" class="attachment-thumbnail wp-post-image" alt="641-css-vendor-prefix-crisis" title="641-css-vendor-prefix-crisis" /><p></p><p>Web developers have been concerned about the <a
href="http://www.sitepoint.com/w3c-css-webkit-prefix-crisis/">vendor prefix crisis</a> since February 2012. To summarize the issue, this is what should happen in an ideal world:</p><ol><li>Vendors implement experimental CSS3 properties using their own prefix, e.g. -webkit-transform, -moz-transform, -ms-transform, -o-transform.</li><li>Developers can use the technologies today without breaking cross-browser compatibility. Properties can be listed with their prefixed and unprefixed names to ensure they work everywhere.</li><li>Once a property becomes a W3C recommendation, all browser vendors can provide a stable unprefixed property, e.g. transform.</li><li>Optionally, developers can remove the prefixed properties from their stylesheets. However, it&#8217;s not strictly necessary if the unprefixed property is defined last and CSS cascade rules apply.</li></ol><p>This is what occurs in the real world:</p><ol><li>Vendors implement experimental CSS3 properties using their own prefix. In some cases, vendors promote them as an HTML5 <em>&#8220;standard&#8221;</em> even if they&#8217;re device-specific or never submitted to the W3C.</li><li>Some developers use the proprietary property from a single vendor, e.g. only -webkit-transform. This might be owing to ignorance, laziness or because they&#8217;re testing a limited number of devices.</li><li>Once a property becomes a W3C recommendation, all browser vendors can provide a stable unprefixed property, e.g. transform&hellip;</li><li>but developers neglect to change their stylesheets. The site looks good in some browsers but worse in others even when they support the standard W3C specification.</li><li>The vendors become concerned and add support for other prefixes into their browser, i.e. <a
href="http://www.sitepoint.com/opera-css3-webkit-prefix/">Opera implements the -webkit prefix for some properties</a>. The prefix process is broken and, while it&#8217;s too early to predict the outcome, the majority of developers consider it to be a bad move.</li></ol><p>We have discussed the issues at length on SitePoint; <a
href="http://www.sitepoint.com/css3-vendor-prefix-crisis-solutions/">there are no easy solutions</a>. However, two interesting proposals have been raised by W3C members during the past week.<div
id='div-gpt-ad-1328644474660-10' style='width:728px; height:90px;'> <script type='text/javascript'>googletag.cmd.push(function() { googletag.display('div-gpt-ad-1328644474660-10'); });</script> </div></p><h2>Option 1: Unprefixed Properties are Supported From Day One</h2><p>The first proposal comes from Florian Rivoal, Opera&#8217;s W3C representative:</p><blockquote><p> When a browser vendor implements a new CSS feature, it should support it, from day 1, both prefixed and unprefixed, the two being aliased. If a style sheet contains both prefixed and unprefixed, the last one wins, according to the cascade.</p><p>Authors should write their style sheets using the unprefixed property, and only add a prefixed version of the property (below the unprefixed one) if they discover a bug or inconsistency that they need to work around in a particular browser.</p><p>If a large amount of content accumulates using the a particular vendor prefix to work around an issue with the early implementation in that browser, the vendor could decide to freeze the behavior of the prefixed property while continuing to improve the unprefixed one.</p></blockquote><p>For example, you could use the following transform code in your CSS:</p><pre><code>
transform: rotate(30deg);
</code></pre><p>The property would be ignored by all browsers which had not implemented transforms. If there were a difference between two or more implementations, e.g. webkit browsers rotated anti-clockwise by default, you could override the property accordingly, e.g.</p><pre><code>
transform: rotate(30deg);
-webkit-transform: rotate(-30deg);
</code></pre><p>It&#8217;s a simple solution and easy to implement. Most existing stylesheets would continue to work and prefixed properties would rarely be necessary. In most cases, you would never need to update your CSS again.</p><p>However, what would happen if webkit changed rotation to the W3C-approved clockwise direction? Developers would need to fix their stylesheets by removing or rearranging the <code>-webkit-transform: rotate(-30deg);</code> property. Unfortunately, not everyone uses the same version of the webkit engine at the same time. You could encounter a situation where your site works in Chrome but not in Safari for several months.</p><h2>Option 2: A New Vendor-Draft Modifier</h2><p>The second proposal comes from Fran&ccedil;ois Remy:</p><blockquote><p> Let&#8217;s introduce the &#8220;!vendor-draft&#8221; value modifier. I propose we use unprefixed properties from start, but with a token explaining which version of the property we built our CSS for:<br
/> <code>border-radius: 3px !webkit-draft;</code></p><p>Any browser which is not webkit but implemented border-radius in a way that is compatible with the &#8220;webkit draft&#8221; can support the declaration. This is different from vendor prefixes: other browsers don&#8217;t impersonate webkit, they just acknowledge they support one specific property the way the webkit draft defines it. Browsers which are not compatible with that draft will just ignore the declaration. Browsers that change their implementation of a property are encouraged to iterate their &#8220;!vendor-draft&#8221; flag (using a version number, if appropriate).</p></blockquote><p>This solves the issue by changing the property value rather than its name (in a similar way to the <code>!important</code> modifier). Again, the following transform code could be used:</p><pre><code>
transform: rotate(30deg);
</code></pre><p>But a default anti-clockwise rotation could be fixed in any browser adhering to a webkit specification:</p><pre><code>
transform: rotate(30deg);
transform: rotate(-30deg) !webkit-draft;
</code></pre><p>If a browser subsequently supported the W3C specification, the second property would be ignored.</p><p>It would also be possible to implement draft versioning, e.g.</p><pre><code>
transform: rotate(30deg);
transform: rotate(-30degrees) !webkit-draft;
transform: rotate(-30deg) !webkit-draft-2;
</code></pre><p>It&#8217;s a flexible solution which finally addresses the issue of properties evolving over time.</p><p>Unfortunately, it&#8217;s more difficult to implement and could take months to appear in browsers even if all vendors agreed today. It may be technically better, but it&#8217;s a fundamentally different approach which could break existing stylesheets. In the short term, vendors would probably support both prefixes and value modifiers &#8212; and that would lead to confusion.</p><p>I like both solutions. From a coding perspective, vendor-draft modifiers seems the most logical option but I doubt it can be considered until vendors <em>&#8220;complete&#8221;</em> CSS3 and begin work on CSS4.</p><p>Supporting unprefixed properties is more practical but will certainly cause versioning issues which couldn&#8217;t be fixed in CSS alone. But perhaps that&#8217;s the price you pay for using experimental technology?</p><p>Do you have a preference for either of these options? Or is it too late to prevent a vendor prefix catastrophe?</p> <span
id="pty_trigger"></span><div
style='padding:20px 0px 50px 0px;'><div
style='float:left;padding-left:40px;'><div
id='div-gpt-ad-1335489406190-0' style='width:300px; height:100px;'> <script type='text/javascript'>googletag.cmd.push(function() { googletag.display('div-gpt-ad-1335489406190-0'); });</script> </div></div><div
style='float:right;padding-right:40px;'><div
id='div-gpt-ad-1335489406190-1' style='width:300px; height:100px;'> <script type='text/javascript'>googletag.cmd.push(function() { googletag.display('div-gpt-ad-1335489406190-1'); });</script> </div></div><div
style='clear:both'></div></div><div
style='clear:both'></div>]]></content:encoded> <wfw:commentRss>http://www.sitepoint.com/css3-vendor-prefix-crisis-solutions-2/feed/</wfw:commentRss> <slash:comments>15</slash:comments> </item> <item><title>Celebrate 20 Years of Wolfenstein 3D in Your Browser</title><link>http://www.sitepoint.com/wolfenstein-3d-html5-browser-game/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=wolfenstein-3d-html5-browser-game</link> <comments>http://www.sitepoint.com/wolfenstein-3d-html5-browser-game/#comments</comments> <pubDate>Sat, 12 May 2012 15:00:27 +0000</pubDate> <dc:creator>Craig Buckler</dc:creator> <category><![CDATA[Gems]]></category> <category><![CDATA[HTML & CSS]]></category> <category><![CDATA[HTML5]]></category> <category><![CDATA[JavaScript]]></category> <category><![CDATA[News & Trends]]></category> <category><![CDATA[Opinion]]></category> <category><![CDATA[Reviews]]></category> <category><![CDATA[canvas]]></category> <category><![CDATA[game]]></category> <category><![CDATA[HTML5 Dev Center]]></category> <category><![CDATA[HTML5 Tutorials & Articles]]></category> <guid
isPermaLink="false">http://www.sitepoint.com/?p=54596</guid> <description><![CDATA[<img
width="50" height="50" src="http://www.sitepoint.com/wp-content/uploads/1/files/2012/05/673-wolfenstein-browser-50x50.png" class="attachment-thumbnail wp-post-image" alt="673-wolfenstein-browser" title="673-wolfenstein-browser" />Wolfenstein 3D was released 20 years ago. To celebrate the ground-breaking FPS game, you can now play an HTML5 version in your browser.]]></description> <content:encoded><![CDATA[<img
width="50" height="50" src="http://www.sitepoint.com/wp-content/uploads/1/files/2012/05/673-wolfenstein-browser-50x50.png" class="attachment-thumbnail wp-post-image" alt="673-wolfenstein-browser" title="673-wolfenstein-browser" /><p></p><p>Perhaps I&#8217;m showing my age but is it really 20 years since Wolfenstein 3D exploded onto the PC gaming scene? To celebrate that momentous occasion, the full game can now be played online within your browser at:</p><p><a
href="http://wolfenstein.bethsoft.com/"><strong>wolfenstein.bethsoft.com</strong><br
/> <img
src="http://blogs.sitepointstatic.com/images/tech/673-wolfenstein-browser-screen.png" width="500" height="320" alt="Wolfenstein 3D browser version" class="center" style="margin: 5px auto 20px auto" /></a></p><p><em>(Note the game is recommended for those over 12 and banned in Germany and several other countries).</em></p><p>The site states it&#8217;s compatible with IE9, Firefox, Chrome and Safari &#8212; although Opera seems to work if you&#8217;re not too bothered by a few graphical glitches. The game is mouse-enabled (set it within the configuration options) although few PCs had mice in 1992 and you&#8217;ll find keyboard control best.</p><p>Wolfenstein was released as DOS shareware in 1992. The web was largely unknown and bulletin boards were the reserve of rich geeks but, despite a lack of social networks and online file sharing, word spread and so did thousands of 720kB floppy disks. Suddenly, there was a reason to use a PC for more than Lotus-123 spreadsheets.<div
id='div-gpt-ad-1328644474660-10' style='width:728px; height:90px;'> <script type='text/javascript'>googletag.cmd.push(function() { googletag.display('div-gpt-ad-1328644474660-10'); });</script> </div></p><p>So why the fuss? Wolfenstein started the 3D first-person gaming genre. In 1992, there were relatively few 3D games and most resorted to isometric graphics (Marble Madness, Paperboy), wire-frame (Star Wars, Elite, Starglider) or faked overlaid 2D sprites (Outrun, Chase HQ, Space Harrier). True 3D games were available in the arcades (I-Robot, Hard Drivin&#8217;) but they took themselves a little too seriously and couldn&#8217;t be replicated on the 16-bit PCs of the day.</p><p>I remember playing Wolfenstein for the first time; it changed my perceptions about what could be achieved on a PC. While it looks basic today, having the freedom to explore realistic 3D rooms blasting stuff was revolutionary &#8212; and shouldn&#8217;t have been possible given the hardware limitations.</p><p>More importantly, the game was fun; you played a prisoner trying to escape from a Nazi-controlled castle in World War II. The VGA gore was amusing and you could defeat a robotically-enhanced Hitler at the end of the game. That said, not everything was perfect. The walking movement was unrealistically smooth and the corridor map was always rectangular &#8212; combine that with may hours game play and Wolfenstein remains the only game which made me feel genuinely queasy!</p><p>iD Software&#8217;s success with Wolfenstein led to Doom a year later &#8212; it&#8217;s fair to say you wouldn&#8217;t be playing <em>Call of Duty</em> today if it weren&#8217;t for those two ground-breaking games.</p><p>A version of Wolfenstein was released on almost every computer and gaming platform <em>(even Nintendo permitted the gore-fest on their family-friendly consoles, although iD were instructed to replace guard dogs with large rats)</em>. The browser version if faithful to the original DOS version and permits you to play every level. Actually, it probably plays and sounds better than it did on the latest 386 PCs we had in 1992.</p><p>Technically, the game is implemented using JavaScript and HTML5 audio. I first thought it was rendered using a <code>canvas</code> element but, thanks to further investigation by Matt Vaughan (below), it&#8217;s actually 320 horizontally-stacked DIVs which have their background, vertical size and top location modified as you move around. It&#8217;s clever but slightly unusual solution. The full page weight is a little over 800kB of mostly uncompressed JavaScript &#8212; impressive given that most sites use that for their home page.</p><p>But who cares about the technical details &hellip; <a
href="http://wolfenstein.bethsoft.com/"><strong>Happy Birthday Wolfenstein 3D</strong></a> and thanks for 20 great years of great gaming.</p> <span
id="pty_trigger"></span><div
style='padding:20px 0px 50px 0px;'><div
style='float:left;padding-left:40px;'><div
id='div-gpt-ad-1335489406190-0' style='width:300px; height:100px;'> <script type='text/javascript'>googletag.cmd.push(function() { googletag.display('div-gpt-ad-1335489406190-0'); });</script> </div></div><div
style='float:right;padding-right:40px;'><div
id='div-gpt-ad-1335489406190-1' style='width:300px; height:100px;'> <script type='text/javascript'>googletag.cmd.push(function() { googletag.display('div-gpt-ad-1335489406190-1'); });</script> </div></div><div
style='clear:both'></div></div><div
style='clear:both'></div>]]></content:encoded> <wfw:commentRss>http://www.sitepoint.com/wolfenstein-3d-html5-browser-game/feed/</wfw:commentRss> <slash:comments>6</slash:comments> </item> <item><title>Does Google Drive Better than its Competitors?</title><link>http://www.sitepoint.com/google-drive-review/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=google-drive-review</link> <comments>http://www.sitepoint.com/google-drive-review/#comments</comments> <pubDate>Wed, 02 May 2012 15:21:20 +0000</pubDate> <dc:creator>Craig Buckler</dc:creator> <category><![CDATA[Android]]></category> <category><![CDATA[Cloud]]></category> <category><![CDATA[Disaster Recovery]]></category> <category><![CDATA[iOS]]></category> <category><![CDATA[News & Trends]]></category> <category><![CDATA[Reviews]]></category> <category><![CDATA[Technology]]></category> <category><![CDATA[drive]]></category> <category><![CDATA[Dropbox]]></category> <category><![CDATA[file]]></category> <category><![CDATA[Google Tutorials & Articles]]></category> <category><![CDATA[synchronization]]></category> <guid
isPermaLink="false">http://www.sitepoint.com/?p=54150</guid> <description><![CDATA[<img
width="50" height="50" src="http://www.sitepoint.com/wp-content/uploads/1/files/2012/05/668-google-drive-50x50.jpg" class="attachment-thumbnail wp-post-image" alt="668-google-drive" title="668-google-drive" />Craig reviews Google Drive - a new service which takes aim at Dropbox, SkyDrive, iCloud and similar file synchronization applications.]]></description> <content:encoded><![CDATA[<img
width="50" height="50" src="http://www.sitepoint.com/wp-content/uploads/1/files/2012/05/668-google-drive-50x50.jpg" class="attachment-thumbnail wp-post-image" alt="668-google-drive" title="668-google-drive" /><p></p><p>Rumors of a Google cloud-based file storage service have been circulating since 2006 but Google Drive was finally released on April 24, 2012. That&#8217;s an unusually long gestation period for a company that normally releases first then tweaks (or abandons) later.</p><p>Google Drive is a direct competitor to established players such as <a
href="http://www.dropbox.com">Dropbox</a>, <a
href="http://www.sugarsync.com/">SugarSync</a>, <a
href="http://www.box.com/">Box</a>, <a
href="https://www.cubby.com/">Cubby</a>, <a
href="http://www.skydrive.com/">Microsoft SkyDrive</a> and <a
href="http://www.icloud.com/">Apple iCloud</a>. But is it better?</p><h2>Google Drive Features</h2><p><img
src="http://blogs.sitepointstatic.com/images/tech/668-google-drive-online.jpg" width="360" height="199" alt="Google Drive" class="right" /></p><p>It&#8217;s important to realize that Google Drive is a replacement for Google Docs (GDocs). Once you sign-up with your Google account, the <a
href="http://docs.google.com/">docs.google.com</a> URL will redirect to <a
href="http://docs.google.com/">drive.google.com</a>. The web interface is fundamentally the same and you can add, create, edit and delete files and folders as before.</p><p>Replacing GDocs is a clever idea. The projects are compatible and your cloud-based documents can be browsed from your desktop &#8212; an attractive feature for those migrating from Microsoft Office. It&#8217;s also apparent Google has learned lessons from <a
href="http://www.sitepoint.com/google-scraps-wave/">doomed projects such as Wave</a>; it&#8217;s easier to piggy-back on the success of an existing project than build a new user base from scratch. GDoc&#8217;s 40 million users have little reason not to adopt Google Drive.<div
id='div-gpt-ad-1328644474660-10' style='width:728px; height:90px;'> <script type='text/javascript'>googletag.cmd.push(function() { googletag.display('div-gpt-ad-1328644474660-10'); });</script> </div></p><p>To make the most of Google Drive, you need to install the desktop application on your PCs, tablets and smart phones. Native applications are currently available for Windows, Mac, Android and iOS but you can be certain that other platforms including Linux and Blackberry will appear shortly.</p><p>The desktop application creates a folder on your device. Its files and sub-folders are automatically synchronized to the web and your other devices. Google offer a generous 5GB of free space with competitive plans including 100GB for $60 per year.</p><p><img
src="http://blogs.sitepointstatic.com/images/tech/668-google-drive-desktop.png" width="522" height="379" alt="Google Drive" class="center" /></p><h2>How Does it Compare?</h2><p>Following sign-up, you&#8217;ll need to wait for around 24 hours before your existing Docs account is converted. I suspect Google will convert all accounts at some point in the future.</p><p>The desktop application is simple to install &#8212; assuming it doesn&#8217;t throw fatal errors. Many Windows users have reported similar experiences to me although installing <em>Microsoft&#8217;s Visual C++ 2008 SP1 Redistributable</em> rectified my issues. Once installed, there&#8217;s a little configuration to set the Google Drive folder and the application will run in the background so you can forget about it. On my system, it required a little over 30MB memory to execute &#8212; not horrendous, but Dropbox uses less than half that.</p><p>If you&#8217;ve used similar services you&#8217;ll understand how Google Drive works. The main difference is that you&#8217;ll find Google Docs files in your synchronized folder. Resources such as PDFs are downloaded as-is so you can open them directly.</p><p>Native Google documents are simply URL links which open the file in a browser. While that&#8217;s practical, it means you can&#8217;t open files offline and you don&#8217;t have a real backup in the event of connectivity or service problems. I&#8217;m not convinced it&#8217;s a major drawback but an option for automatic conversion to desktop formats such as TXT, RTF, DOC, ODT, XLS and PDF would be a bonus.</p><p>Finally, there&#8217;s the issue of trust. From an ownership perspective, the terms and conditions are clear:</p><blockquote><p>You retain ownership of any intellectual property rights that you hold in that content. In short, what belongs to you stays yours.</p></blockquote><p>Privacy is another matter&hellip;</p><blockquote><p>When you upload or otherwise submit content to our Services, you give Google (and those we work with) a worldwide license to use, host, store, reproduce, modify, create derivative works (such as those resulting from translations, adaptations or other changes we make so that your content works better with our Services), communicate, publish, publicly perform, publicly display and distribute such content. The rights you grant in this license are for the limited purpose of operating, promoting, and improving our Services, and to develop new ones. This license continues even if you stop using our Services.</p></blockquote><p>Could Google take a sneaky peek at your files to provide context-sensitive advertising? Put it this way, I suggest caution if you&#8217;re planning to upload documents containing personal information. But the same can be said for every online service since the dawn of the web.</p><h2>Google Docs Summary</h2><p>In essence, there&#8217;s little to distinguish Google Drive from its competitors. Google has copied the best features from Dropbox and, while that&#8217;s no bad thing, it doesn&#8217;t offer a compelling reason to switch. <em>Yet</em>.</p><p>More competition is great for users, though. Google may drive down storage prices and you can install different services concurrently to obtain many gigabytes of free backup space.</p><p><strong>Pros:</strong></p><ul><li>The service works.</li><li>Generous 5GB of free space and inexpensive storage plans.</li><li>Automatic Google Docs synchronization.</li><li>Google will evolve the product rapidly.</li></ul><p><strong>Cons:</strong></p><ul><li>Currently limited to Windows, Mac, iOS and Android platforms.</li><li>Some rough edges; application installation problems and less-efficient memory use.</li><li>Google document synchronization is a little kludgey.</li><li>Fewer features, no API and less capable than competing products.</li><li>Potential trust issues.</li></ul><p>Have you installed Google Drive? Do you prefer it to competing services? Should Dropbox be concerned? Do you trust Google keep their eyes off your data?</p> <span
id="pty_trigger"></span><div
style='padding:20px 0px 50px 0px;'><div
style='float:left;padding-left:40px;'><div
id='div-gpt-ad-1335489406190-0' style='width:300px; height:100px;'> <script type='text/javascript'>googletag.cmd.push(function() { googletag.display('div-gpt-ad-1335489406190-0'); });</script> </div></div><div
style='float:right;padding-right:40px;'><div
id='div-gpt-ad-1335489406190-1' style='width:300px; height:100px;'> <script type='text/javascript'>googletag.cmd.push(function() { googletag.display('div-gpt-ad-1335489406190-1'); });</script> </div></div><div
style='clear:both'></div></div><div
style='clear:both'></div>]]></content:encoded> <wfw:commentRss>http://www.sitepoint.com/google-drive-review/feed/</wfw:commentRss> <slash:comments>23</slash:comments> </item> <item><title>Browser Trends May 2012: IE9 Strikes Back</title><link>http://www.sitepoint.com/browser-trends-may-2012/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=browser-trends-may-2012</link> <comments>http://www.sitepoint.com/browser-trends-may-2012/#comments</comments> <pubDate>Tue, 01 May 2012 09:54:33 +0000</pubDate> <dc:creator>Craig Buckler</dc:creator> <category><![CDATA[Mobile]]></category> <category><![CDATA[News & Trends]]></category> <category><![CDATA[Opinion]]></category> <category><![CDATA[Web Tech]]></category> <category><![CDATA[apple]]></category> <category><![CDATA[Browser Trends]]></category> <category><![CDATA[browsers]]></category> <category><![CDATA[chrome]]></category> <category><![CDATA[firefox]]></category> <category><![CDATA[Google Tutorials & Articles]]></category> <category><![CDATA[HTML5 Dev Center]]></category> <category><![CDATA[ie]]></category> <category><![CDATA[microsoft]]></category> <category><![CDATA[Mozilla]]></category> <category><![CDATA[opera]]></category> <category><![CDATA[safari]]></category> <guid
isPermaLink="false">http://www.sitepoint.com/?p=54145</guid> <description><![CDATA[<img
width="50" height="50" src="http://www.sitepoint.com/wp-content/uploads/1/files/2011/05/522-browser-trends-50x50.jpg" class="attachment-thumbnail wp-post-image" alt="522-browser-trends" title="522-browser-trends" />Has Chrome's growth finally started to plateau? Craig takes us through the latest browser market share facts, figures and fallacies.]]></description> <content:encoded><![CDATA[<img
width="50" height="50" src="http://www.sitepoint.com/wp-content/uploads/1/files/2011/05/522-browser-trends-50x50.jpg" class="attachment-thumbnail wp-post-image" alt="522-browser-trends" title="522-browser-trends" /><p></p><p>It&#8217;s been one month since we <a
href="http://www.sitepoint.com/browser-trends-april-2012/">last looked at the browser market</a>. Since then, <a
href="http://www.sitepoint.com/firefox-12-chrome-18-whats-new/">Firefox 12 and Chrome 18</a> were released and Microsoft has embarked on an aggressive television, movie and online marketing campaign for IE9. Has any of this affected usage patterns in the <a
href="http://gs.statcounter.com/#browser_version-ww-monthly-201204-201204-bar">worldwide StatCounter statistics</a>?&hellip;</p><table
id="stats" summary="worldwide browser market share statistics, April 2011" width="80%" style="text-align:right !important;margin:20px auto"><tr><th
width="20%">Browser</th><th
width="20%">March</th><th
width="20%">April</th><th
width="20%">change</th><th
width="20%">relative</th></tr><tr><th>IE 9.0+</th><td>14.56%</td><td>15.67%</td><td
class="up">+1.11%</td><td
class="up">+7.60%</td></tr><tr><th>IE 8.0</th><td>16.00%</td><td>14.69%</td><td
class="dn">-1.31%</td><td
class="dn">-8.20%</td></tr><tr><th>IE 7.0</th><td>2.91%</td><td>2.54%</td><td
class="dn">-0.37%</td><td
class="dn">-12.70%</td></tr><tr><th>IE 6.0</th><td>1.34%</td><td>1.17%</td><td
class="dn">-0.17%</td><td
class="dn">-12.70%</td></tr><tr><th>Firefox 4.0+</th><td>21.11%</td><td>21.38%</td><td
class="up">+0.27%</td><td
class="up">+1.30%</td></tr><tr><th>Firefox 3.7-</th><td>3.88%</td><td>3.48%</td><td
class="dn">-0.40%</td><td
class="dn">-10.30%</td></tr><tr><th>Chrome</th><td>30.92%</td><td>31.29%</td><td
class="up">+0.37%</td><td
class="up">+1.20%</td></tr><tr><th>Safari</th><td>6.71%</td><td>7.14%</td><td
class="up">+0.43%</td><td
class="up">+6.40%</td></tr><tr><th>Opera</th><td>1.76%</td><td>1.70%</td><td
class="dn">-0.06%</td><td
class="dn">-3.40%</td></tr><tr><th>Others</th><td>0.81%</td><td>0.94%</td><td
class="up">+0.13%</td><td
class="up">+16.00%</td></tr><tr><th>IE (all)</th><td>34.81%</td><td>34.07%</td><td
class="dn">-0.74%</td><td
class="dn">-2.10%</td></tr><tr><th>Firefox (all)</th><td>24.99%</td><td>24.86%</td><td
class="dn">-0.13%</td><td
class="dn">-0.50%</td></tr></table><p>The table shows market share estimates for desktop browsers. The &#8216;change&#8217; column shows the absolute increase or decrease in market share. The &#8216;relative&#8217; column indicates the proportional change, i.e. another 12.7% of IE6 users abandoned the browser last month. There are several caveats so I recommend you read <a
href="http://blogs.sitepoint.com/how-browser-market-share-is-calculated">How Browser Market Share is Calculated</a>.<div
id='div-gpt-ad-1328644474660-10' style='width:728px; height:90px;'> <script type='text/javascript'>googletag.cmd.push(function() { googletag.display('div-gpt-ad-1328644474660-10'); });</script> </div></p><p>Chrome&#8217;s monthly growth has fallen below 1% for the first time since <a
href="http://www.sitepoint.com/browser-trends-october-2011/">October 2011</a>. Other vendors dream about a market share increase of 0.37% but it&#8217;s unusually low for Chrome. I&#8217;m not convinced adoption rates have begun to plateau and it could be a statistical blip. That said, the advantages Chrome holds over the competition are more marginal than they&#8217;ve ever been.</p><p>This month&#8217;s biggest winner is IE9 and it&#8217;s risen 3.6% since the start of March. Three factors have contributed to it&#8217;s success:</p><ol><li>Automated browser updates.</li><li>Microsoft&#8217;s glossy marketing campaign.</li><li>Businesses migrating to Windows Vista/7.</li></ol><p>However, Microsoft cannot be complacent. IE8 is falling faster than IE9&#8242;s gains and total IE usage dropped by 0.74%. Chrome is still poised to overtake during the summer of 2012.</p><p>Safari had another good month and the browser is slowly creeping toward double-digit usage figures. The iPad accounts for 2.12% of the 7.14% total which means it now has more users than IE6.</p><p>Firefox and Opera&#8217;s market share barely changed. Perhaps this isn&#8217;t surprising; there are few major differences between the top five browsers and we could be entering a period of stability with little significant movement in browser market.</p><h2>Mobile Browser Usage</h2><p>April&#8217;s mobile usage increased to <a
href="http://gs.statcounter.com/#mobile_vs_desktop-ww-monthly-201204-201204-bar">9.58% of all web activity</a>. This is partly owing to better weather in the northern hemisphere &#8212; although the UK had its wettest April for 100 years.</p><p>The primary mobile browsing applications are:</p><ol><li>Opera Mini/Mobile &#8212; 21.52% (down 1.34%)</li><li>Android &#8212; 21.31% (up 0.15%)</li><li>iPhone &#8212; 20.04% (down 0.06%)</li><li>Nokia browser &#8212; 11.42% (down 0.44%)</li><li>UC Browser &#8212; 7.77% (up 1.42%)</li></ol><p>There&#8217;s little change within the top five although <a
href="http://www.ucweb.com/">UC Browser</a> has helped itself to another slice of Blackberry.</p><p>While it&#8217;s great to see healthy competition in the mobile market, it remains frustratingly difficult to test web sites and applications on a range of popular devices. Do you bother?</p> <span
id="pty_trigger"></span><div
style='padding:20px 0px 50px 0px;'><div
style='float:left;padding-left:40px;'><div
id='div-gpt-ad-1335489406190-0' style='width:300px; height:100px;'> <script type='text/javascript'>googletag.cmd.push(function() { googletag.display('div-gpt-ad-1335489406190-0'); });</script> </div></div><div
style='float:right;padding-right:40px;'><div
id='div-gpt-ad-1335489406190-1' style='width:300px; height:100px;'> <script type='text/javascript'>googletag.cmd.push(function() { googletag.display('div-gpt-ad-1335489406190-1'); });</script> </div></div><div
style='clear:both'></div></div><div
style='clear:both'></div>]]></content:encoded> <wfw:commentRss>http://www.sitepoint.com/browser-trends-may-2012/feed/</wfw:commentRss> <slash:comments>18</slash:comments> </item><div><div
class="post_box two_ads" style="float:left;padding-left:2px;"><div
id='div-gpt-ad-1328645237920-0' style='width:728px; height:90px;'> <script type='text/javascript'>googletag.cmd.push(function() { googletag.display('div-gpt-ad-1328645237920-0'); });</script> </div></div></div><div
class="clear">&nbsp;</div> <item><title>How to Use WebSockets Today With Pusher</title><link>http://www.sitepoint.com/use-websockets-today-with-pusher/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=use-websockets-today-with-pusher</link> <comments>http://www.sitepoint.com/use-websockets-today-with-pusher/#comments</comments> <pubDate>Thu, 26 Apr 2012 16:27:45 +0000</pubDate> <dc:creator>Craig Buckler</dc:creator> <category><![CDATA[HTML5]]></category> <category><![CDATA[News & Trends]]></category> <category><![CDATA[Resources]]></category> <category><![CDATA[Reviews]]></category> <category><![CDATA[Tutorials]]></category> <category><![CDATA[Web Tech]]></category> <category><![CDATA[HTML5 Dev Center]]></category> <category><![CDATA[HTML5 Tutorials & Articles]]></category> <category><![CDATA[Pusher]]></category> <category><![CDATA[WebSockets]]></category> <guid
isPermaLink="false">http://www.sitepoint.com/?p=53837</guid> <description><![CDATA[<img
width="50" height="50" src="http://www.sitepoint.com/wp-content/uploads/1/files/2012/04/665-websockets-pusher-50x50.png" class="attachment-thumbnail wp-post-image" alt="665-websockets-pusher" title="665-websockets-pusher" />HTML5 WebSockets are great - if your browser and server platform support them. Craig looks at Pusher, a new service which polyfills the gaps and allows you to use WebSocket technology today.]]></description> <content:encoded><![CDATA[<img
width="50" height="50" src="http://www.sitepoint.com/wp-content/uploads/1/files/2012/04/665-websockets-pusher-50x50.png" class="attachment-thumbnail wp-post-image" alt="665-websockets-pusher" title="665-websockets-pusher" /><p></p><p>Brian Raymor&#8217;s recent SitePoint article, <a
href="http://www.sitepoint.com/websockets-stable-and-ready-for-developers/">WebSockets: Stable and Ready for Developers</a> provides a fabulous overview of the technology. In essence, WebSockets permit asynchronous bi-directional communication between the client and server. A connection is held open so lightweight messages can be sent from either device at any time. It&#8217;s an ideal solution for real-time chat and games and is likely to be more efficient than Ajax polling.</p><p>That said, there are a couple of drawbacks:</p><ul><li>WebSocket technology is relatively new and, at the time of writing, it&#8217;s only fully supported by Firefox and Chrome.</li><li>Even if your browser supports WebSockets, there&#8217;s no guarantee it&#8217;ll be natively supported by your server platform.</li></ul><p>Stable and ready? Perhaps not yet.</p><p>Fortunately, there&#8217;s another option if you&#8217;re desperate to exploit WebSocket technology today. <a
href="http://pusher.com/">Pusher</a> is a new service which ployfills over the gaps in WebSocket implementation:</p><ul><li>Pusher is a proxy service that sits between your clients and server.</li><li>On the client, Pusher provides a range of WebSocket libraries for JavaScript, iOS, Android, Flash, .NET, Silverlight, Ruby and Arduino.</li><li>If you&#8217;re using a browser which doesn&#8217;t offer native support, the JavaScript library automatically imports a Flash-based shim which implements WebSocket technology on IE6 to 9, Chrome 1 to 4, Firefox 1 to 3, Safari 1 to 4, Opera and Android.</li><li>On the server, Pusher provides a range of WebSocket libraries for PHP (generic and framework options), Ruby, ASP.NET (C# and VB.NET), Python, Node.js, Java, Groovy/Grails, Clojure, Coldfusion and Perl.</li><li>If you&#8217;d prefer not use the WebSocket API for triggering server events, you can adopt <a
href="http://pusher.com/docs/rest_api">Pusher&#8217;s REST API</a>.</li></ul><p>The whole process is reassuringly simple. Once you&#8217;ve <a
href="https://app.pusherapp.com/accounts/sign_up">registered for a Pusher account</a>, you&#8217;ll receive an API key. Your HTML5 page includes the JavaScript library, establishes a connection and subscribes to a named channel:<div
id='div-gpt-ad-1328644474660-10' style='width:728px; height:90px;'> <script type='text/javascript'>googletag.cmd.push(function() { googletag.display('div-gpt-ad-1328644474660-10'); });</script> </div></p><pre><code>
&lt;script src=&quot;http://js.pusher.com/1.11/pusher.min.js&quot;&gt;&lt;/script&gt;
&lt;script&gt;
var pusher = new Pusher(&quot;YOUR-PUSHER-API-KEY&quot;);
var channel = pusher.subscribe(&quot;my-channel&quot;);
</code></pre><p>You can then define callbacks that bind to events coming in via the Pusher socket:</p><pre><code>
channel.bind(&quot;my-event&quot;, function(data) {
	alert("An event was triggered with message: " + data.message);
});
</code></pre><p>To send a message from PHP:</p><pre><code>
require('Pusher.php');
$pusher = new Pusher($key, $secret, $app_id);
$pusher-&gt;trigger( 'my-channel', 'my-event', array('message' =&gt; 'hello world') );
</code></pre><p>The <a
href="http://pusher.com/">Pusher website</a> provides <a
href="http://pusher.com/docs">full documentation</a>, a selection of <a
href="http://pusher.com/tutorials">tutorials for PHP and Ruby</a> and a <a
href="http://pusher.com/showcase">showcase</a> with case studies which might inspire your next world-beating real-time app.</p><p>I like the concept behind Pusher. It&#8217;s a great solution if you want to try WebSockets today while supporting the majority of browsers and native OS platforms. There are free plans for experimental prototypes as well as paid accounts for heavier usage.</p><p>For more information, refer to <a
href="http://pusher.com/">Pusher.com</a>.</p> <span
id="pty_trigger"></span><div
style='padding:20px 0px 50px 0px;'><div
style='float:left;padding-left:40px;'><div
id='div-gpt-ad-1335489406190-0' style='width:300px; height:100px;'> <script type='text/javascript'>googletag.cmd.push(function() { googletag.display('div-gpt-ad-1335489406190-0'); });</script> </div></div><div
style='float:right;padding-right:40px;'><div
id='div-gpt-ad-1335489406190-1' style='width:300px; height:100px;'> <script type='text/javascript'>googletag.cmd.push(function() { googletag.display('div-gpt-ad-1335489406190-1'); });</script> </div></div><div
style='clear:both'></div></div><div
style='clear:both'></div>]]></content:encoded> <wfw:commentRss>http://www.sitepoint.com/use-websockets-today-with-pusher/feed/</wfw:commentRss> <slash:comments>4</slash:comments> </item> <item><title>How to Use Easy File Sharing in Dropbox</title><link>http://www.sitepoint.com/how-to-use-easy-file-sharing-in-dropbox/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=how-to-use-easy-file-sharing-in-dropbox</link> <comments>http://www.sitepoint.com/how-to-use-easy-file-sharing-in-dropbox/#comments</comments> <pubDate>Tue, 24 Apr 2012 14:03:18 +0000</pubDate> <dc:creator>Craig Buckler</dc:creator> <category><![CDATA[Backup]]></category> <category><![CDATA[Cloud]]></category> <category><![CDATA[Discussion]]></category> <category><![CDATA[Gems]]></category> <category><![CDATA[News & Trends]]></category> <category><![CDATA[Opinion]]></category> <category><![CDATA[Software Tutorials]]></category> <category><![CDATA[Dropbox]]></category> <category><![CDATA[file sharing]]></category> <guid
isPermaLink="false">http://www.sitepoint.com/?p=53834</guid> <description><![CDATA[<img
width="50" height="50" src="http://www.sitepoint.com/wp-content/uploads/1/files/2011/10/593-dropbox-api-50x50.png" class="attachment-thumbnail wp-post-image" alt="593-dropbox-api" title="593-dropbox-api" />Dropbox is great but file sharing was always a little tougher than it should have been. Craig looks at the latest development which fixes that problem.]]></description> <content:encoded><![CDATA[<img
width="50" height="50" src="http://www.sitepoint.com/wp-content/uploads/1/files/2011/10/593-dropbox-api-50x50.png" class="attachment-thumbnail wp-post-image" alt="593-dropbox-api" title="593-dropbox-api" /><p></p><p>You&#8217;re using <a
href="https://www.dropbox.com/">Dropbox</a> right? If not, you should &#8212; it&#8217;s rapidly become one of the most useful applications ever devised. The concept is simple; install the Dropbox application on your PCs, smartphones and tablets and it creates a magic folder which synchronizes all its files across all your devices. As a bonus, it&#8217;s useful for backing-up, accessing files online, extracting historical versions, exploiting the API and sharing files with other users. With a free 2GB account, it&#8217;s no wonder venture capitalists have invested 48 gazillion dollars in the company.</p><p>Unfortunately, Dropbox sharing could lead to complications. The first stumbling block was that users needed to sign-up and install the Dropbox application. That may be easy for you, but try explaining it to more technically-challenged users &#8212; like those who are yet to appreciate the differences between files and folders. You then need to ensure users click a sharing link and navigate to the correct place on their file system. Finally, just as you got everything working, someone would delete an essential file which  disappeared from everyone&#8217;s Dropbox folder <em>(I mention no names &#8212; you know who you are!)</em><div
id='div-gpt-ad-1328644474660-10' style='width:728px; height:90px;'> <script type='text/javascript'>googletag.cmd.push(function() { googletag.display('div-gpt-ad-1328644474660-10'); });</script> </div></p><p>Fortunately, the situation&#8217;s just become a whole lot easier. You can share a file or folder with anyone just by sending them a link. They don&#8217;t require a Dropbox account and they&#8217;re even provided with a great online file viewer so it may not be necessary to download files.</p><p><img
src="https://www.dropbox.com/static/images/shmodel-desktopscreenshot-osx.png" width="274" height="204" alt="Dropbox file sharing" class="right" />Easy sharing should be activated in your Dropbox application (try rebooting or restarting Dropbox if it&#8217;s not). Right-click any file in your Dropbox folder and select <strong>Get link</strong> from the Dropbox menu. The file will be shown in your browser &#8212; simply copy the URL and share with whoever needs it.</p><p><img
src="https://www.dropbox.com/static/images/shmodel-webscreenshot.png" width="274" height="204" alt="Dropbox file sharing" class="right" style="clear:both" />Alternatively, log on at <a
href="https://www.dropbox.com/">Dropbox.com</a>, navigate to the file or folder you want to share and click its <strong>Get link icon</strong>.</p><p>To remove sharing, visit the shared URL again, click the cog icon at the top-right of the screen and select <strong>Remove link</strong>. You can also click <strong>Links</strong> on the website&#8217;s menu to view your shared files and remove any links.</p><p>Easy sharing is an amazing new feature which is certain to attract new users to Dropbox. You could even use it as a rudimentary <acronym
title="Content Delivery Network">CDN</acronym> for your website. Let us know if you think of other interesting uses.</p> <span
id="pty_trigger"></span><div
style='padding:20px 0px 50px 0px;'><div
style='float:left;padding-left:40px;'><div
id='div-gpt-ad-1335489406190-0' style='width:300px; height:100px;'> <script type='text/javascript'>googletag.cmd.push(function() { googletag.display('div-gpt-ad-1335489406190-0'); });</script> </div></div><div
style='float:right;padding-right:40px;'><div
id='div-gpt-ad-1335489406190-1' style='width:300px; height:100px;'> <script type='text/javascript'>googletag.cmd.push(function() { googletag.display('div-gpt-ad-1335489406190-1'); });</script> </div></div><div
style='clear:both'></div></div><div
style='clear:both'></div>]]></content:encoded> <wfw:commentRss>http://www.sitepoint.com/how-to-use-easy-file-sharing-in-dropbox/feed/</wfw:commentRss> <slash:comments>14</slash:comments> </item> <item><title>Places to Sell Your Photography</title><link>http://www.sitepoint.com/15-places-to-sell-your-photos/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=15-places-to-sell-your-photos</link> <comments>http://www.sitepoint.com/15-places-to-sell-your-photos/#comments</comments> <pubDate>Sat, 14 Apr 2012 15:08:00 +0000</pubDate> <dc:creator>James George</dc:creator> <category><![CDATA[News & Trends]]></category> <guid
isPermaLink="false">http://www.sitepoint.com/blogs/?p=2929</guid> <description><![CDATA[<img
width="50" height="33" src="http://www.sitepoint.com/wp-content/uploads/1/files/2012/04/camera-50x33.jpg" class="attachment-thumbnail wp-post-image" alt="camera" title="camera" />A quick trip around the many photo sharing sites on the web confirms that there are may talented amateur photographers on the Internet.  But how many know that they can make money selling those photos?  Apparently, not many.]]></description> <content:encoded><![CDATA[<img
width="50" height="33" src="http://www.sitepoint.com/wp-content/uploads/1/files/2012/04/camera-50x33.jpg" class="attachment-thumbnail wp-post-image" alt="camera" title="camera" /><p></p><p>I’m sure that you’ve heard the expression “A picture is worth 1,000 words.” This is no less true, whether you are a seasoned professional photographer, or an aspiring amateur. What many people don’t realize is that your pictures could be worth $1,000. That may be exaggerating a bit, but making money selling your photography is not as far fetched as you might think. Many stock photography websites are more than willing to give you a cut of their profits for selling your work on their site.</p><p>Here is how it works. You build a nice collection of great photos, and you want to begin selling them. You sign up with a stock photography company and in return, if someone buys your photo to use in their work, then you get a percentage of each sale. If your work is good enough, and your photos are relevant to a certain topic, they could be worth money.</p><p>Stock photography websites sprang up over the recent years, due to the increase in freelance graphic designers and startup design firms. The economy has everyone watching their budgets, and it can be expensive to hire a professional photographer for a project. It can also be a lot of work, time, and money to set up the scene that they want. This is where a good stock photography website comes in. You go to their site, sign up for a membership, and you can immediate begin to search for images via topic. Some larger stock photo companies have 1 million+ images in their database. You find an image that fits your creative vision, pay a reasonable price ($5- $50), download the image, and you are creating your design work in minutes. Some stock photo sites offer a monthly membership fee, and you can download as many images as you want, or you may have a predetermined amount of images that you can download each month. This usually depends on your membership level. This puts professional level photography in the hands of designers quickly and easily, and the designer saves tons of time.<div
id='div-gpt-ad-1328644474660-10' style='width:728px; height:90px;'> <script type='text/javascript'>googletag.cmd.push(function() { googletag.display('div-gpt-ad-1328644474660-10'); });</script> </div></p><h2>Where to Sell Your Photos</h2><p><a
href="http://istockphoto.com">iStockPhoto</a>- iStockPhoto can be a bit of a challenge to join. You have to join their site, read their manual, and take a quiz. Then you have to submit samples of your best work, and if accepted, you can start selling your photos. If you sell to multiple sites, you can earn 15% through iStockPhoto, but if you decide to become exclusive to their site, then you can earn anywhere between a 22-45% royalty rate on your photos. If you fulfill certain requirements, you can sell your images to the entire Getty Images Family.</p><p><a
href="http://shutterstock.com">ShutterStock</a>- It is free to contribute. All you have to do is sign up, and you can earn anywhere from $0.25 all the way up to $28.00 per image download. This can be very lucrative if your images are common or very general in subject, while being professional at the same time.</p><p><a
href="http://us.fotolia.com/Info/Contributors/GeneralInformation">Fotolia</a>- Fotolia has a huge library of images available for professionals. You can sign up for a free account. Then, you just upload your images and give them relevant tags. Fotolia breaks down your ability to earn into 2 categories. The first one is for single image downloads and you can earn anywhere from 20%- 63% for each image, but this rate depends on if you are exclusive to Fotolia, and what your ranking is. The second rate is for when your image is sold via subscription download. You can earn 0.25 credits to 0.40 credits.</p><p><a
href="http://www.shutterfly.com/selling_photos_online/professional_photography/sell_my_photos_sign_up.jsp">Shutterfly</a>- Shutterfly does things a little differently. Instead of selling your photos directly on their site, you pay an annual fee and they allow you to set up a gallery to market and sell your photos. The nice part about this is that you pay a reasonable annual fee to set up your gallery. $99 gets you 5GB of hosting space for your images, and $199 per year gives you unlimited hosting space, so if you have a very large collection of photography that you would like to sell, that package is for you. Another great aspect is that you set your own prices for your photos, which means that you make what you want to make from your work. People can order prints of your work and you get paid, or they can buy your work via digital download.</p><p><a
href="http://www.shutterpoint.com/Sell-Photos.cfm">ShutterPoint</a>- Shutterpoint makes it easy to join and start selling your photos immediately. All you have to do is sign up. They also accept all types of photos, so there isn’t a test or acceptance process before you can start selling. They also mention a bulk upload tool, so you can upload many photos quickly. They have a payout rate of 85% for Full Royalty Free images, and 70% for Standard Royalty Free images.</p><p><a
href="http://www.bigstockphoto.com/sell-your-images.html">BigStockPhoto</a>- This site allows you to sign up, but you have to complete a tutorial before you can begin uploading your images. Before you start selling your images on BigStockPhoto, their review team must approve them. Pay As You Go purchases will pay you 30% of the US dollar price when someone downloads a single image. This can equal up to $29.70. When someone buys your image using BigStock credits, you will receive $0.50 for every credit spent.</p><p><a
href="http://www.123rf.com/sellimages.php">123RF</a>- 123RF is another good site where you can sell your photos. Simply sign up, upload your images, and you get paid depending on how they downloaded your photo. If someone pays for your photo with credits, then you receive 50% of the selling price. If they download your photo when they are on a subscription plan, then you will receive $0.36 per download.</p><p><a
href="http://www.dreamstime.com/sellimages">Dreamstime</a>- Dreamstime allows anyone to become a member, but to sell your photos, your work has to be reviewed and you have to be accepted. The pay that you receive depends on the level that you photos are on when they sell. Every image starts at level 0 and the more times the image is downloaded, the higher its level will increase. Each level has a percentage, based on certain criteria. The whole process is rather complicated, and to understand, it would be best to view the chart on their website. There are 5 levels, and different pay scales depending on size.</p><p><a
href="http://contributor.corbis.com/">Corbis</a>- Corbis is a professional stock photography site that also allows for photography submissions. The difference here is that they are very vague on the details of being a contributor. You have to fill out an application, but it doesn’t say anywhere on the site what your compensation will be, the rates, how it works, or any details. Corbis is not as user-friendly and straightforward about compensation as the other sites listed here are.</p><p><a
href="http://www.canstockphoto.com/submit_images.php">CanStockPhoto</a>- CanStockPhoto makes it easy to sell your photos online. Sign up for an account, fill out an application, and once you are accepted, you can begin uploading your photos quickly. You also receive money for referring other photographers. Exclusive rights photos earn 50% commission, and different sized images and assets earn different amounts of commission. To see a detailed list, <a
href="http://www.canstockphoto.com/payout_schedule.php">click here</a>.</p><p><a
href="http://depositphotos.com/seller-price.html">DepositPhotos</a>- DepositPhotos makes it quick and easy to get started with selling you images. Sign up for an account, pass a quick exam (they assure you that it is easy), and then you can start uploading images. The only snag is that each image has to be approved before it is officially displayed on the site to be sold. Their pay scale is similar to that of Dreamstime, where your images increase in level when they sell a certain amount. The higher the level is, the more money you make from each sale. They have a chart with examples available on their site. One stand out feature that they have is that you can sell vector images as well, but you have to upload them in the format specified.</p><p><small>Photography Image via Shutterstock</small></p> <span
id="pty_trigger"></span><div
style='padding:20px 0px 50px 0px;'><div
style='float:left;padding-left:40px;'><div
id='div-gpt-ad-1335489406190-0' style='width:300px; height:100px;'> <script type='text/javascript'>googletag.cmd.push(function() { googletag.display('div-gpt-ad-1335489406190-0'); });</script> </div></div><div
style='float:right;padding-right:40px;'><div
id='div-gpt-ad-1335489406190-1' style='width:300px; height:100px;'> <script type='text/javascript'>googletag.cmd.push(function() { googletag.display('div-gpt-ad-1335489406190-1'); });</script> </div></div><div
style='clear:both'></div></div><div
style='clear:both'></div>]]></content:encoded> <wfw:commentRss>http://www.sitepoint.com/15-places-to-sell-your-photos/feed/</wfw:commentRss> <slash:comments>29</slash:comments> </item> <item><title>Browser Trends April 2012: Chrome Crushes the Competition</title><link>http://www.sitepoint.com/browser-trends-april-2012/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=browser-trends-april-2012</link> <comments>http://www.sitepoint.com/browser-trends-april-2012/#comments</comments> <pubDate>Mon, 02 Apr 2012 15:29:59 +0000</pubDate> <dc:creator>Craig Buckler</dc:creator> <category><![CDATA[Mobile]]></category> <category><![CDATA[News & Trends]]></category> <category><![CDATA[Opinion]]></category> <category><![CDATA[Web Tech]]></category> <category><![CDATA[apple]]></category> <category><![CDATA[Browser Trends]]></category> <category><![CDATA[browsers]]></category> <category><![CDATA[chrome]]></category> <category><![CDATA[firefox]]></category> <category><![CDATA[Google Tutorials & Articles]]></category> <category><![CDATA[HTML5 Dev Center]]></category> <category><![CDATA[ie]]></category> <category><![CDATA[microsoft]]></category> <category><![CDATA[Mozilla]]></category> <category><![CDATA[opera]]></category> <category><![CDATA[safari]]></category> <guid
isPermaLink="false">http://www.sitepoint.com/?p=53218</guid> <description><![CDATA[<img
width="50" height="50" src="http://www.sitepoint.com/wp-content/uploads/1/files/2011/05/522-browser-trends-50x50.jpg" class="attachment-thumbnail wp-post-image" alt="522-browser-trends" title="522-browser-trends" />Craig takes another look at the worldwide desktop and mobile browser markets during March 2012. Can anyone prevent Chrome's world domination?]]></description> <content:encoded><![CDATA[<img
width="50" height="50" src="http://www.sitepoint.com/wp-content/uploads/1/files/2011/05/522-browser-trends-50x50.jpg" class="attachment-thumbnail wp-post-image" alt="522-browser-trends" title="522-browser-trends" /><p></p><p>We&#8217;re a quarter of the way through 2012 so it&#8217;s time to take another look at the worldwide browser market. <a
href="http://www.sitepoint.com/browser-trends-march-2012/">Last month</a> was bad for Microsoft and IE lost almost two percentage points &#8212; mostly to Google Chrome. Android also overtook Opera to become the most-used mobile browser. Has any company been made to look foolish in April&#8217;s <a
href="http://gs.statcounter.com/#browser_version-ww-monthly-201203-201203-bar">worldwide StatCounter statistics</a>?&hellip;</p><table
id="stats" summary="worldwide browser market share statistics, March 2011" width="80%" style="text-align:right !important;margin:20px auto"><tr><th
width="20%">Browser</th><th
width="20%">February</th><th
width="20%">March</th><th
width="20%">change</th><th
width="20%">relative</th></tr><tr><th>IE 9.0+</th><td>12.09%</td><td>14.56%</td><td
class="up">+2.47%</td><td
class="up">+20.40%</td></tr><tr><th>IE 8.0</th><td>18.86%</td><td>16.00%</td><td
class="dn">-2.86%</td><td
class="dn">-15.20%</td></tr><tr><th>IE 7.0</th><td>3.32%</td><td>2.91%</td><td
class="dn">-0.41%</td><td
class="dn">-12.30%</td></tr><tr><th>IE 6.0</th><td>1.48%</td><td>1.34%</td><td
class="dn">-0.14%</td><td
class="dn">-9.50%</td></tr><tr><th>Firefox 4.0+</th><td>20.39%</td><td>21.11%</td><td
class="up">+0.72%</td><td
class="up">+3.50%</td></tr><tr><th>Firefox 3.7-</th><td>4.49%</td><td>3.88%</td><td
class="dn">-0.61%</td><td
class="dn">-13.60%</td></tr><tr><th>Chrome</th><td>29.88%</td><td>30.92%</td><td
class="up">+1.04%</td><td
class="up">+3.50%</td></tr><tr><th>Safari</th><td>6.76%</td><td>6.71%</td><td
class="dn">-0.05%</td><td
class="dn">-0.70%</td></tr><tr><th>Opera</th><td>2.02%</td><td>1.76%</td><td
class="dn">-0.26%</td><td
class="dn">-12.90%</td></tr><tr><th>Others</th><td>0.71%</td><td>0.81%</td><td
class="up">+0.10%</td><td
class="up">+14.10%</td></tr><tr><th>IE (all)</th><td>35.75%</td><td>34.81%</td><td
class="dn">-0.94%</td><td
class="dn">-2.60%</td></tr><tr><th>Firefox (all)</th><td>24.88%</td><td>24.99%</td><td
class="up">+0.11%</td><td
class="up">+0.40%</td></tr></table><p>The table shows market share estimates for desktop browsers. The &#8216;change&#8217; column shows the absolute increase or decrease in market share. The &#8216;relative&#8217; column indicates the proportional change, i.e. another 9.5% of IE6 users abandoned the browser last month. There are several caveats so I recommend you read <a
href="http://blogs.sitepoint.com/how-browser-market-share-is-calculated">How Browser Market Share is Calculated</a>.<div
id='div-gpt-ad-1328644474660-10' style='width:728px; height:90px;'> <script type='text/javascript'>googletag.cmd.push(function() { googletag.display('div-gpt-ad-1328644474660-10'); });</script> </div></p><p>It&#8217;s the same old story. Chrome leaped another 1% primarily at the expense of Internet Explorer. If we look at individual versions, Chrome 17 is the world&#8217;s most-used browser with a 27.2% share. IE8 is far behind in second place with 16.0%. At best, Microsoft has two or three months before Chrome overtakes IE&#8217;s total and we crown a new champion for the first time in 13 years.</p><p>There&#8217;s some consolation for Microsoft; IE9 was the fastest growing browser in March 2012. It gained another 2.5% of the market to increase its user base by 20% and become the most-used version in Europe and the US. Many users would have been upgrading XP to Vista/7 which is good for the company&#8217;s bottom line.</p><p>However, IE8 is dropping fast &#8212; and by more than I expected. Many of us doom-mongers prophesied IE8 would morph into another IE6 following Microsoft&#8217;s decision to abandon XP users. The browser&#8217;s unlikely to become irrelevant for a while but it&#8217;s almost certain to reach single-figures within a few months.</p><p>IE6 usage in China is still a concern and it retains almost 26% of the market. Elsewhere, IE6 and 7 combined share has dropped to 4.25% &#8212; or fewer than one in 20 users. You should always check your site&#8217;s figures but we&#8217;ve reached a point where there&#8217;s no need to spend a disproportionate amount of time developing and testing the browsers. IE6 and 7 are dead to me, but still rise like zombies now and again.</p><p>Firefox holds 25%. <a
href="http://www.sitepoint.com/firefox-11-whats-new/">Version 11</a> has reached 6% within a few weeks and the 4+ line is growing steadily. That said, version 3 and below are dropping at a similar rate.</p><p>Both Safari and Opera dropped although statistical fluctuations are amplified by their relatively low figures. They&#8217;ll probably regain that loss next month.</p><h2>Mobile Browser Usage</h2><p>March&#8217;s mobile usage increased to <a
href="http://gs.statcounter.com/#mobile_vs_desktop-ww-monthly-201203-201203-bar">8.99% of all web activity</a>.</p><p>The primary mobile browsing applications are:</p><ol><li>Opera Mini/Mobile &#8212; 22.86% (up 1.16%)</li><li>Android &#8212; 21.16% (down 1.51%)</li><li>iPhone &#8212; 20.10% (down 0.96%)</li><li>Nokia browser &#8212; 11.86% 11.24% (up 0.62%)</li><li>UC Browser &#8212; 6.35% (up 0.45%)</li></ol><p>There&#8217;s more bad news for Blackberry. It dropped 0.35% to 6.18% and has been knocked out of the top five by <a
href="http://www.ucweb.com/">UC Browser</a> &#8212; an independent application for most platforms which users have to choose and install.</p><p>I hope Android enjoyed its single month at the top of the chart because Opera has regained the crown again. There&#8217;s a three-way tie between Opera, Android and the iPhone which highlights healthy competition in the market. Don&#8217;t make the mistake that everyone&#8217;s using the same phone as you!</p> <span
id="pty_trigger"></span><div
style='padding:20px 0px 50px 0px;'><div
style='float:left;padding-left:40px;'><div
id='div-gpt-ad-1335489406190-0' style='width:300px; height:100px;'> <script type='text/javascript'>googletag.cmd.push(function() { googletag.display('div-gpt-ad-1335489406190-0'); });</script> </div></div><div
style='float:right;padding-right:40px;'><div
id='div-gpt-ad-1335489406190-1' style='width:300px; height:100px;'> <script type='text/javascript'>googletag.cmd.push(function() { googletag.display('div-gpt-ad-1335489406190-1'); });</script> </div></div><div
style='clear:both'></div></div><div
style='clear:both'></div>]]></content:encoded> <wfw:commentRss>http://www.sitepoint.com/browser-trends-april-2012/feed/</wfw:commentRss> <slash:comments>14</slash:comments> </item><div><div
class="post_box two_ads" style="float:left;padding-left:2px;"><div
id='div-gpt-ad-1328645237920-1' style='width:728px; height:90px;'> <script type='text/javascript'>googletag.cmd.push(function() { googletag.display('div-gpt-ad-1328645237920-1'); });</script> </div></div></div><div
class="clear">&nbsp;</div> <item><title>Are You on the Case in SitePoint&#8217;s Great Mystery Hunt?</title><link>http://www.sitepoint.com/are-you-on-the-case-in-sitepoints-great-mystery-hunt/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=are-you-on-the-case-in-sitepoints-great-mystery-hunt</link> <comments>http://www.sitepoint.com/are-you-on-the-case-in-sitepoints-great-mystery-hunt/#comments</comments> <pubDate>Thu, 29 Mar 2012 23:37:50 +0000</pubDate> <dc:creator>Mick Gibson</dc:creator> <category><![CDATA[General]]></category> <category><![CDATA[News & Trends]]></category> <guid
isPermaLink="false">http://www.sitepoint.com/?p=53146</guid> <description><![CDATA[<img
width="50" height="30" src="http://www.sitepoint.com/wp-content/uploads/1/files/2012/03/hunt-banner-50x30.png" class="attachment-thumbnail wp-post-image" alt="hunt-banner" title="hunt-banner" />2012 is only three months in and there are already two new SitePoint books for all you developers and designers (CSS and jQuery). Plus DealFuel.com is now brimming with cool deals for you each week. But now, let&#8217;s have some fun! :) SitePoint&#8217;s GREAT MYSTERY HUNT is on! Search SitePoint for the answers to three [...]]]></description> <content:encoded><![CDATA[<img
width="50" height="30" src="http://www.sitepoint.com/wp-content/uploads/1/files/2012/03/hunt-banner-50x30.png" class="attachment-thumbnail wp-post-image" alt="hunt-banner" title="hunt-banner" /><p></p><p>2012 is only three months in and there are already two new SitePoint books for all you developers and designers (<a
href="http://www.sitepoint.com/books/cssant4">CSS </a>and <a
href="http://www.sitepoint.com/books/jquery2">jQuery</a>). Plus <a
href="http://www.dealfuel.com" target="_blank">DealFuel.com</a> is now brimming with cool deals for you each week.</p><p>But now, let&#8217;s have some fun! :)</p><p><strong><a
href="http://www.dealfuel.com?utm_source=sitepoint&amp;utm_medium=blog-link&amp;utm_campaign=great-mystery-hunt" rel="attachment wp-att-53147"><img
class="size-full wp-image-53147 alignright" style="margin-top: 5px; margin-bottom: 5px; margin-left: 10px; margin-right: 10px;" title="great-mystery-hunt" src="http://www.sitepoint.com/wp-content/uploads/1/files/2012/03/mystery-detective.png" alt="great-mystery-hunt" width="401" height="292" /></a>SitePoint&#8217;s <a
href="http://www.dealfuel.com/?utm_source=sitepoint&amp;utm_medium=blog-link&amp;utm_campaign=great-mystery-hunt" target="_blank">GREAT MYSTERY HUNT</a> is on!</strong></p><p>Search SitePoint for the answers to three clues, and save yourself a thrilling 75% on our &#8211; <a
href="http://dealfuel.com/seller/save-60-on-sitepoints-ultimate-designers-digital-bundle/?utm_source=google&amp;utm_medium=cpc&amp;utm_campaign=great-mystery-hunt" target="_blank">Ultimate Design Bundle</a>, which includes:</p><ul><li><em>jQuery: Novice to Ninja, 2nd edition (ebook)</em></li><li><em>Principles of Beautiful Web Design, 2nd edition (eBook)</em></li><li><em>SEO Guide Kit (digital version)</em></li><li><em>1 Month&#8217;s Learnable Membership</em></li></ul><p>Make sure you also sign-up to DealFuel to receive your FREE digital copy of our just released HTML5 poster.</p><p><strong>Happy Hunting Sherlocks!<br
/> </strong></p> <span
id="pty_trigger"></span><div
style='padding:20px 0px 50px 0px;'><div
style='float:left;padding-left:40px;'><div
id='div-gpt-ad-1335489406190-0' style='width:300px; height:100px;'> <script type='text/javascript'>googletag.cmd.push(function() { googletag.display('div-gpt-ad-1335489406190-0'); });</script> </div></div><div
style='float:right;padding-right:40px;'><div
id='div-gpt-ad-1335489406190-1' style='width:300px; height:100px;'> <script type='text/javascript'>googletag.cmd.push(function() { googletag.display('div-gpt-ad-1335489406190-1'); });</script> </div></div><div
style='clear:both'></div></div><div
style='clear:both'></div>]]></content:encoded> <wfw:commentRss>http://www.sitepoint.com/are-you-on-the-case-in-sitepoints-great-mystery-hunt/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>Web Bots vs Humans: We&#8217;re Losing</title><link>http://www.sitepoint.com/web-bots-vs-humans/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=web-bots-vs-humans</link> <comments>http://www.sitepoint.com/web-bots-vs-humans/#comments</comments> <pubDate>Sat, 17 Mar 2012 17:15:56 +0000</pubDate> <dc:creator>Craig Buckler</dc:creator> <category><![CDATA[Disaster]]></category> <category><![CDATA[Discussion]]></category> <category><![CDATA[Industry Links]]></category> <category><![CDATA[News & Trends]]></category> <category><![CDATA[Opinion]]></category> <category><![CDATA[Security]]></category> <category><![CDATA[bots]]></category> <category><![CDATA[security]]></category> <category><![CDATA[survey]]></category> <guid
isPermaLink="false">http://www.sitepoint.com/?p=52833</guid> <description><![CDATA[<img
width="50" height="50" src="http://www.sitepoint.com/wp-content/uploads/1/files/2012/03/660-bots-vs-humans-50x50.jpg" class="attachment-thumbnail wp-post-image" alt="660-bots-vs-humans" title="660-bots-vs-humans" />A new survey reveals that human website visitors are now a minority group. Craig analyses the figures and discusses why you should be concerned about security.]]></description> <content:encoded><![CDATA[<img
width="50" height="50" src="http://www.sitepoint.com/wp-content/uploads/1/files/2012/03/660-bots-vs-humans-50x50.jpg" class="attachment-thumbnail wp-post-image" alt="660-bots-vs-humans" title="660-bots-vs-humans" /><p></p><p>51% of all web site traffic is non-human. If you&#8217;re reading this, you&#8217;re in the minority. Unless you&#8217;re a machine <em>(check your ports &#8212; if they&#8217;re warm and moist, you&#8217;re probably OK)</em>.</p><p>The study was undertaken by <a
href="http://www.incapsula.com/">Incapsula</a>, a website security company. While we haven&#8217;t quite reached the point where Skynet becomes self-aware and dispatches Terminators to wipe us out, it does appear that the web would continue to operate happily without us.</p><p>Data was collected from a sample of 1,000 websites which use Incapsula services. The report concluded that web traffic is generated from:</p><ul><li>49%: people browsing the web</li><li>20%: search engines bots indexing pages</li><li>19%: spy-bots collecting competitive intelligence</li><li>5%: website scrapers</li><li>5%: automated hacking tools searching vulnerabilities</li><li>2%: automated comment spammers</li></ul><p>It&#8217;s easy to be cynical about these reports, especially when they&#8217;re conducted by a security company which could enjoy commercial benefits from scare-mongering. That said, it does indicate a significant volume of hacking activity even if the report is somewhat skewed or exaggerated.</p><p>If you or your clients aren&#8217;t concerned about security, perhaps it&#8217;s time to evaluate that policy. If we assume Incapsula report is over-estimated by a factor of 300%, malicious activity will still account for one in ten website requests. That&#8217;s equivalent to the average number of all IE6, IE7, Firefox 3.x and Opera users combined. Nasty.<div
id='div-gpt-ad-1328644474660-10' style='width:728px; height:90px;'> <script type='text/javascript'>googletag.cmd.push(function() { googletag.display('div-gpt-ad-1328644474660-10'); });</script> </div></p><p>Humans may be losing the web war, but at least we can win a few battles.</p><p>Do you believe Incapsula&#8217;s report? How does it compare with your website statistics? Have you successfully defeated a major hacking attempt?</p> <span
id="pty_trigger"></span><div
style='padding:20px 0px 50px 0px;'><div
style='float:left;padding-left:40px;'><div
id='div-gpt-ad-1335489406190-0' style='width:300px; height:100px;'> <script type='text/javascript'>googletag.cmd.push(function() { googletag.display('div-gpt-ad-1335489406190-0'); });</script> </div></div><div
style='float:right;padding-right:40px;'><div
id='div-gpt-ad-1335489406190-1' style='width:300px; height:100px;'> <script type='text/javascript'>googletag.cmd.push(function() { googletag.display('div-gpt-ad-1335489406190-1'); });</script> </div></div><div
style='clear:both'></div></div><div
style='clear:both'></div>]]></content:encoded> <wfw:commentRss>http://www.sitepoint.com/web-bots-vs-humans/feed/</wfw:commentRss> <slash:comments>21</slash:comments> </item> <item><title>What&#8217;s New in Firefox 11</title><link>http://www.sitepoint.com/firefox-11-whats-new/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=firefox-11-whats-new</link> <comments>http://www.sitepoint.com/firefox-11-whats-new/#comments</comments> <pubDate>Wed, 14 Mar 2012 11:44:33 +0000</pubDate> <dc:creator>Craig Buckler</dc:creator> <category><![CDATA[CSS3]]></category> <category><![CDATA[Gems]]></category> <category><![CDATA[HTML & CSS]]></category> <category><![CDATA[HTML5]]></category> <category><![CDATA[JavaScript]]></category> <category><![CDATA[News & Trends]]></category> <category><![CDATA[Open Source]]></category> <category><![CDATA[Opinion]]></category> <category><![CDATA[Web Tech]]></category> <category><![CDATA[browser]]></category> <category><![CDATA[firefox]]></category> <category><![CDATA[HTML5 Dev Center]]></category> <category><![CDATA[Mozilla]]></category> <guid
isPermaLink="false">http://www.sitepoint.com/?p=52683</guid> <description><![CDATA[<img
width="50" height="50" src="http://www.sitepoint.com/wp-content/uploads/1/files/2012/03/328-firefox-4-50x50.png" class="attachment-thumbnail wp-post-image" alt="328-firefox-4" title="328-firefox-4" />Another six weeks has passed and Mozilla has released a new version Firefox. Craig looks at the new features in Firefox 11 including the stunning Style Editor and 3D Page View.]]></description> <content:encoded><![CDATA[<img
width="50" height="50" src="http://www.sitepoint.com/wp-content/uploads/1/files/2012/03/328-firefox-4-50x50.png" class="attachment-thumbnail wp-post-image" alt="328-firefox-4" title="328-firefox-4" /><p></p><p>Where did the last six weeks go? Following the Firefox 10 release on January 31 2012, Firefox 11 was released on March 13. We rarely see major new features in Chrome, so it&#8217;s great to discover that Mozilla has added several new toys for us:</p><h2>Style Editor</h2><p>Firefox 11 provides a new stylesheet editor. Visit any page, then select <strong>Style Editor</strong> from the <strong>Web Developer</strong> menu or press Shift+F7:</p><p><img
src="http://hacks.mozilla.org/wp-content/uploads/2011/12/Style-Editor-HN-500x220.png" width="500" height="220" alt="Firefox style editor" class="center" /></p><p>While there are several excellent add-ons which offer similar functionality &#8212; <a
href="http://getfirebug.com/">Firebug</a>, the <a
href="https://addons.mozilla.org/en-US/firefox/addon/web-developer/">Web Developer Toolbar</a> and Firefox&#8217;s own <a
href="http://www.sitepoint.com/firefox-10-whats-new/">Page Inspector tool</a> &#8212; the Style Editor is dedicated to editing styles and does it very well. It&#8217;s main advantages:</p><ul><li>all stylesheet files are displayed &#8212; you can disable or enable any by clicking the &#8216;eye&#8217; icon</li><li>compressed CSS is automatically decompressed</li><li>you can add or import additional files</li><li>all changes are live &#8212; start typing and the page will re-render immediately</li><li>you can save any file to your hard disk</li><li>it&#8217;s fast and looks great.</li></ul><p>I&#8217;m a fan and will certainly use it on a day-to-day basis.<div
id='div-gpt-ad-1328644474660-10' style='width:728px; height:90px;'> <script type='text/javascript'>googletag.cmd.push(function() { googletag.display('div-gpt-ad-1328644474660-10'); });</script> </div></p><h2>&#8220;Tilt&#8221; 3D Page Structure View</h2><p>Tilt was previously available as an add-on. It&#8217;s accessed from the Inspector tool which now offers a &#8220;3D&#8221; button (<strong>Inspect</strong> from the <strong>Web Developer</strong> menu, Ctrl+Shift+I, or &#8220;Inspect&#8221; from the context menu):</p><p><img
src="http://hacks.mozilla.org/wp-content/uploads/2011/12/CNN-3D-View-500x324.png" width="500" height="324" alt="Firefox 3D page structure" class="center" /></p><p>The view stacks elements as they are nested in the DOM and displays any which are hidden or off the page. You can zoom in and out, rotate and pan the map using +/-, a/d/w/s, and the cursors. It&#8217;s integrated with the Page Inspector so you can use the element breadcrumbs and style windows as before.</p><p>The 3D page view requires a graphic card which supports <a
href="http://www.sitepoint.com/firefox-enable-webgl-blacklisted-graphics-card/">WebGL</a>. Mine does and it runs <a
href="http://www.sitepoint.com/trigger-rally-html5-game/">Trigger Rally</a> without problems but, for some reason, 3D page view wouldn&#8217;t work on my PC. Hopefully, you&#8217;ll have better luck.</p><h2>text-size-adjust CSS property</h2><p>text-size-adjust or, more specifically, -moz-text-size-adjust is a non-standard property which caused much of the <a
href="http://www.sitepoint.com/w3c-css-webkit-prefix-crisis/">CSS vendor prefix controversy</a>. Apple introduced the property for their smartphones and tablets but has not submitted it to the W3C. However, that&#8217;s likely to change now it&#8217;s been implemented by Microsoft and Mozilla.</p><p>text-size-adjust controls how mobile devices size text and show scrollbars when zooming into a web page. It can be set to inherit, none, auto or a percentage &#8212; <a
href="https://developer.mozilla.org/en/CSS/text-size-adjust">the MDN page explains more</a>.</p><h2>outerHTML property</h2><p>outerHTML has finally made it to Firefox &#8212; it&#8217;s available in all the competing browsers and was originally implemented in IE4.</p><p>You may have encountered innerHTML which can extract or replace an element&#8217;s descendants with a serialized HTML fragment, e.g.</p><pre><code>
&lt;div id=&quot;myelement&quot;&gt;
	&lt;p&gt;Hello&lt;/p&gt;
&lt;/div&gt;
&lt;script&gt;
var m = document.getElementById(&quot;myelement&quot;);
m.innerHTML = &quot;&lt;p&gt;Goodbye&lt;/p&gt;&quot;;
&lt;/script&gt;
</code></pre><p>The resulting HTML:</p><pre><code>
&lt;div id=&quot;myelement&quot;&gt;
	&lt;p&gt;Goodbye&lt;/p&gt;
&lt;/div&gt;
</code></pre><p>outerHTML is similar to innerHTML except that it can extract or replace the selected element as well as its descendants, e.g.</p><pre><code>
&lt;div id=&quot;myelement&quot;&gt;
	&lt;p&gt;Hello&lt;/p&gt;
&lt;/div&gt;
&lt;script&gt;
var m = document.getElementById(&quot;myelement&quot;);
m.outerHTML = &quot;&lt;p&gt;Goodbye&lt;/p&gt;&quot;;
&lt;/script&gt;
</code></pre><p>The resulting HTML:</p><pre><code>
&lt;p&gt;Goodbye&lt;/p&gt;
</code></pre><p>The <code>div</code> is removed from the DOM.</p><h2>Miscellaneous Updates</h2><p>That&#8217;s not quite everything. As well as several bug fixes and speed improvements:</p><ul><li>Sync can synchronize your add-ons across devices.</li><li>Firefox can now migrate your bookmarks, history, and cookies from Google Chrome.</li><li>The default HTML5 video controls have been redesigned.</li><li>HTML5 tags are correctly highlighted when viewing the source.</li><li>Files can be stored in IndexedDB.</li><li>The moz prefix has been removed from the Websockets API.</li><li>When viewing a single image from a URL, the graphic is now centered on a gray background &#8212; <a
href="http://www.sitepoint.com/wp-content/themes/thesis/custom/images/logo.png">try it</a>.</li></ul><p>Despite the initial teething problems, Firefox gets better with every release. If you were disillusioned with v4.0+ and migrated elsewhere, I recommend you give it another try.</p> <span
id="pty_trigger"></span><div
style='padding:20px 0px 50px 0px;'><div
style='float:left;padding-left:40px;'><div
id='div-gpt-ad-1335489406190-0' style='width:300px; height:100px;'> <script type='text/javascript'>googletag.cmd.push(function() { googletag.display('div-gpt-ad-1335489406190-0'); });</script> </div></div><div
style='float:right;padding-right:40px;'><div
id='div-gpt-ad-1335489406190-1' style='width:300px; height:100px;'> <script type='text/javascript'>googletag.cmd.push(function() { googletag.display('div-gpt-ad-1335489406190-1'); });</script> </div></div><div
style='clear:both'></div></div><div
style='clear:both'></div>]]></content:encoded> <wfw:commentRss>http://www.sitepoint.com/firefox-11-whats-new/feed/</wfw:commentRss> <slash:comments>29</slash:comments> </item> <item><title>Browser Trends March 2012: IE8 Falls Below 20%</title><link>http://www.sitepoint.com/browser-trends-march-2012/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=browser-trends-march-2012</link> <comments>http://www.sitepoint.com/browser-trends-march-2012/#comments</comments> <pubDate>Thu, 01 Mar 2012 14:32:58 +0000</pubDate> <dc:creator>Craig Buckler</dc:creator> <category><![CDATA[Mobile]]></category> <category><![CDATA[News & Trends]]></category> <category><![CDATA[Opinion]]></category> <category><![CDATA[Web Tech]]></category> <category><![CDATA[apple]]></category> <category><![CDATA[chrome]]></category> <category><![CDATA[firefox]]></category> <category><![CDATA[Google Tutorials & Articles]]></category> <category><![CDATA[HTML5 Dev Center]]></category> <category><![CDATA[ie]]></category> <category><![CDATA[microsoft]]></category> <category><![CDATA[Mozilla]]></category> <category><![CDATA[opera]]></category> <category><![CDATA[safari]]></category> <guid
isPermaLink="false">http://www.sitepoint.com/?p=52125</guid> <description><![CDATA[<img
width="50" height="50" src="http://www.sitepoint.com/wp-content/uploads/1/files/2011/05/522-browser-trends-50x50.jpg" class="attachment-thumbnail wp-post-image" alt="522-browser-trends" title="522-browser-trends" />Internet Explorer lost almost 5% of its user base in one month. Craig discusses which browser is benefiting from IE's demise and how Microsoft could reverse the trend.]]></description> <content:encoded><![CDATA[<img
width="50" height="50" src="http://www.sitepoint.com/wp-content/uploads/1/files/2011/05/522-browser-trends-50x50.jpg" class="attachment-thumbnail wp-post-image" alt="522-browser-trends" title="522-browser-trends" /><p></p><p>Another month has passed so it&#8217;s time to look at the browser market once more. <a
href="http://www.sitepoint.com/browser-trends-february-2012/">During February</a>, Chrome 16 became the world&#8217;s most-used browser version and exceeded IE8&#8242;s market share by 5%. Can Chrome continue it&#8217;s meteoric rise? Let&#8217;s look at the latest <a
href="http://gs.statcounter.com/#browser_version-ww-monthly-201202-201202-bar">worldwide StatCounter statistics</a> to find out&hellip;</p><table
id="stats" summary="worldwide browser market share statistics, February 2011" width="80%" style="text-align:right !important;margin:20px auto"><tr><th
width="20%">Browser</th><th
width="20%">January</th><th
width="20%">February</th><th
width="20%">change</th><th
width="20%">relative</th></tr><tr><th>IE 9.0+</th><td>11.45%</td><td>12.09%</td><td
class="up">+0.64%</td><td
class="up">+5.60%</td></tr><tr><th>IE 8.0</th><td>20.82%</td><td>18.86%</td><td
class="dn">-1.96%</td><td
class="dn">-9.40%</td></tr><tr><th>IE 7.0</th><td>3.63%</td><td>3.32%</td><td
class="dn">-0.31%</td><td
class="dn">-8.50%</td></tr><tr><th>IE 6.0</th><td>1.56%</td><td>1.48%</td><td
class="dn">-0.08%</td><td
class="dn">-5.10%</td></tr><tr><th>Firefox 4.0+</th><td>20.01%</td><td>20.39%</td><td
class="up">+0.38%</td><td
class="up">+1.90%</td></tr><tr><th>Firefox 3.7-</th><td>4.77%</td><td>4.49%</td><td
class="dn">-0.28%</td><td
class="dn">-5.90%</td></tr><tr><th>Chrome</th><td>28.45%</td><td>29.88%</td><td
class="up">+1.43%</td><td
class="up">+5.00%</td></tr><tr><th>Safari</th><td>6.61%</td><td>6.76%</td><td
class="up">+0.15%</td><td
class="up">+2.30%</td></tr><tr><th>Opera</th><td>1.96%</td><td>2.02%</td><td
class="up">+0.06%</td><td
class="up">+3.10%</td></tr><tr><th>Others</th><td>0.74%</td><td>0.71%</td><td
class="dn">-0.03%</td><td
class="dn">-4.10%</td></tr><tr><th>IE (all)</th><td>37.46%</td><td>35.75%</td><td
class="dn">-1.71%</td><td
class="dn">-4.60%</td></tr><tr><th>Firefox (all)</th><td>24.78%</td><td>24.88%</td><td
class="up">+0.10%</td><td
class="up">+0.40%</td></tr></table><p>The table shows market share estimates for desktop browsers. The &#8216;change&#8217; column shows the absolute increase or decrease in market share. The &#8216;relative&#8217; column indicates the proportional change, i.e. another 9.4% of IE8 users abandoned the browser last month. There are several caveats so I recommend you read <a
href="http://blogs.sitepoint.com/how-browser-market-share-is-calculated">How Browser Market Share is Calculated</a>.<div
id='div-gpt-ad-1328644474660-10' style='width:728px; height:90px;'> <script type='text/javascript'>googletag.cmd.push(function() { googletag.display('div-gpt-ad-1328644474660-10'); });</script> </div></p><p>There&#8217;s a little good news for <a
href="http://www.microsoft.com/ie">Microsoft</a>: IE8 has become the most-used browser version once again.</p><p>The bad news:</p><ul><li>It only occurred because Google released <a
href="http://www.google.com/chrome">Chrome 17</a>. Half of Chrome&#8217;s user base upgraded last month which resulted in version 17 gaining 13.7% while version 16 retained 13.4%.</li><li>IE8 slipped below 1 in 5 users for the first time since November 2009.</li><li>Internet Explorer lost almost 5% of its user base in one month. That&#8217;s a shocking figure.</li></ul><p>IE10 may be stunning, but it&#8217;s unlikely to appear for a while and IE9 is being left behind. Microsoft&#8217;s decision to abandon XP users has also back-fired: the aging OS still accounts for more than one in three PC users who must either stick with IE8 or switch to an alternative browser.</p><p>Technically, IE8 isn&#8217;t too bad and will happily support HTML5 with a little JavaScript shim-magic. But it lacks basic CSS3 features such as rounded corners and shading which we&#8217;re all using. The result: sites are usable but look terrible in IE8 when compared with any other browser.</p><p>Of course, Microsoft want users to upgrade to Windows 7 or 8 so they can use IE9/10. Unfortunately, that won&#8217;t happen quickly. Even if the economy and costs were not factors, large organizations implement long-term IT plans and upgrading thousands of users takes time. The PC market has also been saturated for several years; many individuals will stick with XP until their machine breaks down and they&#8217;re forced to buy a replacement. And let&#8217;s not forget that XP remains a capable OS; some users prefer it and Microsoft would not contemplate withdrawing support for major products such as Office.</p><p>Microsoft has a simple choice: either release IE9/10 on XP or continue to lose massive chunks of market share. There will be technical hurdles but IE9 already has a software rendering mode and few would complain if the XP version was slower. The relatively tiny <a
href="http://www.opera.com/">Opera</a> can create a modern HTML5 browser which works on Windows 2000 &#8212; Microsoft has few excuses. Users are increasingly browser-literate and, once they&#8217;ve switched to an alternative, it&#8217;ll be tougher to get them back on IE.</p><p>Usage patterns are not quite so straight-forward, but the bulk of those IE users switched to Chrome. If anything, the browser&#8217;s market share gains appear to be accelerating as its user base expands. There&#8217;s no sign of the predicted growth plateau.</p><p><a
href="http://getfirefox.com/">Mozilla Firefox</a> held steady at 25%. <a
href="http://www.sitepoint.com/firefox-10-whats-new/">Version 10</a> has been well received and many of the memory and add-on glitches which frustrated users have been solved. Mozilla hasn&#8217;t reversed the downtrend, but Firefox&#8217;s future looks brighter.</p><p><a
href="http://www.apple.com/safari">Safari</a> and <a
href="http://www.opera.com/">Opera</a> both enjoyed modest gains. Significantly, Opera has broken through the 2% barrier once again &#8212; it&#8217;s been below that level for more than 12 months.</p><h2>Mobile Browser Usage</h2><p>Mobiles accounted for <a
href="http://gs.statcounter.com/#mobile_vs_desktop-ww-monthly-201202-201202-bar">8.53% of all web activity</a> during February 2012.</p><p>The primary mobile browsing applications are:</p><ol><li>Android &#8212; 22.67% (up 1.28%)</li><li>Opera Mini/Mobile &#8212; 21.70% (down 1.64%)</li><li>iPhone &#8212; 21.06% (up 1.55%)</li><li>Nokia browser &#8212; 11.24% (down 0.58%)</li><li>Blackberry &#8212; 6.53% (down 0.15%)</li></ol><p>The top three have almost identical usage figures but Opera has been knocked off the top spot for the first time. The Android browser has been rising steadily at a rate similar to Chrome &#8212; it&#8217;s desktop cousin.</p><p>Blackberry has fallen a little further. It held a 19% share just 18 months ago which illustrates just how fickle the mobile market can be.</p> <span
id="pty_trigger"></span><div
style='padding:20px 0px 50px 0px;'><div
style='float:left;padding-left:40px;'><div
id='div-gpt-ad-1335489406190-0' style='width:300px; height:100px;'> <script type='text/javascript'>googletag.cmd.push(function() { googletag.display('div-gpt-ad-1335489406190-0'); });</script> </div></div><div
style='float:right;padding-right:40px;'><div
id='div-gpt-ad-1335489406190-1' style='width:300px; height:100px;'> <script type='text/javascript'>googletag.cmd.push(function() { googletag.display('div-gpt-ad-1335489406190-1'); });</script> </div></div><div
style='clear:both'></div></div><div
style='clear:both'></div>]]></content:encoded> <wfw:commentRss>http://www.sitepoint.com/browser-trends-march-2012/feed/</wfw:commentRss> <slash:comments>7</slash:comments> </item> <item><title>Adobe Shifts Flash Focus</title><link>http://www.sitepoint.com/adobe-shifts-flash-focus/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=adobe-shifts-flash-focus</link> <comments>http://www.sitepoint.com/adobe-shifts-flash-focus/#comments</comments> <pubDate>Mon, 27 Feb 2012 16:22:34 +0000</pubDate> <dc:creator>Craig Buckler</dc:creator> <category><![CDATA[Flash]]></category> <category><![CDATA[HTML5]]></category> <category><![CDATA[News & Trends]]></category> <category><![CDATA[Web Tech]]></category> <category><![CDATA[adobe]]></category> <category><![CDATA[HTML5 Dev Center]]></category> <category><![CDATA[html5 dev centre]]></category> <category><![CDATA[HTML5 Tutorials & Articles]]></category> <guid
isPermaLink="false">http://www.sitepoint.com/?p=51852</guid> <description><![CDATA[<img
width="50" height="50" src="http://www.sitepoint.com/wp-content/uploads/1/files/2010/05/327-flash-crash-50x50.png" class="attachment-thumbnail wp-post-image" alt="327-flash-crash" title="327-flash-crash" />Adobe has published a roadmap for the Flash runtimes and reassured developers that it will meet their needs over the next five to ten years. Craig discusses whether Flash can compete against HTML5.]]></description> <content:encoded><![CDATA[<img
width="50" height="50" src="http://www.sitepoint.com/wp-content/uploads/1/files/2010/05/327-flash-crash-50x50.png" class="attachment-thumbnail wp-post-image" alt="327-flash-crash" title="327-flash-crash" /><p></p><p><em>(Try saying that title after a few drinks!)</em></p><p>Flash has reached a crossroads. It&#8217;s been the only reliable rich-media delivery platform for the past decade but the technology is being attacked on several fronts:</p><ul><li><strong>HTML5</strong>. Native browser audio, video and features such as canvas provide an alternative to Flash. They&#8217;re not without their own set of issues but are backed by many large IT companies.</li><li><strong>Apple</strong>. Whether it was technical, commercial or political reasons, Apple banned Flash on the iPhone and iPad. That policy ultimately led to <a
href="http://www.sitepoint.com/adobe-abandons-mobile-flash/">Adobe abandoning Flash on mobile devices</a> (although AIR can still be used to create cross-platform <em>&#8216;native&#8217;</em> applications).</li><li><strong>Competing plugins</strong>. To a lesser extent, alternatives such as Microsoft&#8217;s Silverlight and Google&#8217;s native client want a slice of Adobe&#8217;s market.</li></ul><p>Developer opinions range from <em>&#8220;HTML5 will never supersede Flash&#8221;</em> to <em>&#8220;Flash is dead and buried&#8221;</em>. Personally, I think it&#8217;s good to have a range of options but the days of Flash being the only contender are long gone. Which is why it&#8217;s refreshing to see a little commercial honesty in <a
href="http://www.adobe.com/devnet/flashplatform/whitepapers/roadmap.html">Adobe&#8217;s roadmap for the Flash runtimes</a>.<div
id='div-gpt-ad-1328644474660-10' style='width:728px; height:90px;'> <script type='text/javascript'>googletag.cmd.push(function() { googletag.display('div-gpt-ad-1328644474660-10'); });</script> </div></p><p>Adobe is shifting focus to gaming and premium video. The company believes Flash is particularly suited to those markets and is concentrating its efforts accordingly:</p><blockquote><p> Increasingly, rich motion graphics will be deployed directly via the browser using HTML5, CSS3, JavaScript and other modern web technologies. While the primary role of Flash Player as an engine for innovation on the web remains the same, what it is used for will change.</p><p>Adobe believes that the Flash runtimes are particularly and uniquely suited for two primary use cases: creating and deploying rich, expressive games with console-quality graphics and deploying premium video.</p><p>This shift in focus for Flash does not mean that existing content will no longer run, or that Flash cannot be used for content other than gaming and premium video. However, it does mean that when prioritizing future development and bug fixes, gaming and premium video use cases will take priority.</p></blockquote><p>My favorite quote:</p><blockquote><p> Adobe believes that Flash is the game console for the web</p></blockquote><p>It&#8217;s a sensible move. Reliable native video is a few years away; vendors are yet to agree on a single codec and IE8 usage will remain high until Windows XP dies. You can use Flash as a fallback but, if you&#8217;re doing that, there&#8217;s little point using a multitude of HTML5 formats.</p><p>HTML5 gaming is possible but can be a lot of effort &#8212; especially if you&#8217;re relying on newer technologies such as 3D transforms or WebGL. Flash offers a more consistent platform although the gap is narrowing.</p><p>Adobe is reassuring Flash developers that the runtime will meet their needs over the next five to ten years. If you&#8217;re using Flash now, there&#8217;s no immediate reason to panic (unless your audience is primarily mobile users). Ironically, Flash&#8217;s advantages will dwindle to nil once Adobe&#8217;s own development tools can export native HTML5. The plug-in will become irrelevant but that doesn&#8217;t mean ActionScript and its associated technologies can&#8217;t be used.</p> <span
id="pty_trigger"></span><div
style='padding:20px 0px 50px 0px;'><div
style='float:left;padding-left:40px;'><div
id='div-gpt-ad-1335489406190-0' style='width:300px; height:100px;'> <script type='text/javascript'>googletag.cmd.push(function() { googletag.display('div-gpt-ad-1335489406190-0'); });</script> </div></div><div
style='float:right;padding-right:40px;'><div
id='div-gpt-ad-1335489406190-1' style='width:300px; height:100px;'> <script type='text/javascript'>googletag.cmd.push(function() { googletag.display('div-gpt-ad-1335489406190-1'); });</script> </div></div><div
style='clear:both'></div></div><div
style='clear:both'></div>]]></content:encoded> <wfw:commentRss>http://www.sitepoint.com/adobe-shifts-flash-focus/feed/</wfw:commentRss> <slash:comments>23</slash:comments> </item> <item><title>The Impending CSS Vendor Prefix Catastrophe</title><link>http://www.sitepoint.com/w3c-css-webkit-prefix-crisis/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=w3c-css-webkit-prefix-crisis</link> <comments>http://www.sitepoint.com/w3c-css-webkit-prefix-crisis/#comments</comments> <pubDate>Mon, 13 Feb 2012 10:35:42 +0000</pubDate> <dc:creator>Craig Buckler</dc:creator> <category><![CDATA[Discussion]]></category> <category><![CDATA[HTML & CSS]]></category> <category><![CDATA[HTML5]]></category> <category><![CDATA[JavaScript & CSS]]></category> <category><![CDATA[News & Trends]]></category> <category><![CDATA[Opinion]]></category> <category><![CDATA[browser]]></category> <category><![CDATA[CSS]]></category> <category><![CDATA[CSS3]]></category> <category><![CDATA[HTML5 Dev Center]]></category> <category><![CDATA[standards]]></category> <category><![CDATA[vendor prefixes]]></category> <category><![CDATA[w3c]]></category> <guid
isPermaLink="false">http://www.sitepoint.com/?p=51435</guid> <description><![CDATA[<img
width="50" height="50" src="http://www.sitepoint.com/wp-content/uploads/1/files/2012/02/641-css-vendor-prefix-crisis-50x50.jpg" class="attachment-thumbnail wp-post-image" alt="641-css-vendor-prefix-crisis" title="641-css-vendor-prefix-crisis" />Vendors may be adding CSS3 -webkit prefixes to their non-webkit browsers. Craig discusses why it's being considered by the W3C and why it should be prevented.]]></description> <content:encoded><![CDATA[<img
width="50" height="50" src="http://www.sitepoint.com/wp-content/uploads/1/files/2012/02/641-css-vendor-prefix-crisis-50x50.jpg" class="attachment-thumbnail wp-post-image" alt="641-css-vendor-prefix-crisis" title="641-css-vendor-prefix-crisis" /><p></p><p>Developers have a love-hate relationship with CSS vendor prefixes. They allow us to use bleeding-edge technologies at the expense of long-winded declarations:</p><pre><code>
background-image: -webkit-linear-gradient(#fff, #000);
background-image: -moz-linear-gradient(#fff, #000);
background-image: -ms-linear-gradient(#fff, #000);
background-image: -o-linear-gradient(#fff, #000);
background-image: linear-gradient(#fff, #000);
</code></pre><p>It works well in theory but consider what happens in the wild:</p><ol><li>Experimental properties are often implemented in the webkit engine first and there&#8217;s no guarantee they&#8217;ll be replicated in other browsers.</li><li>It&#8217;s often difficult to determine whether a vendor-prefixed property is part of the CSS specification. Some vendors don&#8217;t submit properties for standardization.</li><li>Even if the standard property changes, the incorrect vendor-prefixed version continues to be supported. Your old code still works; you won&#8217;t revisit it to correct the implementation.</li></ol><p>You&#8217;ll often find sites using the -webkit prefixes alone &#8212; even if other browsers support the property or it has widespread availability without a prefix (such as <code>border-radius</code>). Chrome and Safari therefore look better than competing browsers &#8212; <em>and the other vendors aren&#8217;t happy</em>.</p><p>The issue was raised and discussed in the <a
href="http://lists.w3.org/Archives/Public/www-style/2012Feb/0313.html">W3C meeting on February 7, 2012</a>:<div
id='div-gpt-ad-1328644474660-10' style='width:728px; height:90px;'> <script type='text/javascript'>googletag.cmd.push(function() { googletag.display('div-gpt-ad-1328644474660-10'); });</script> </div></p><blockquote><p> Web standards activists are teaching people to use webkit. You will see presentations from all the web standards advocates advocating people to use webkit prefixes.</p><p>Our job is to solve interoperability.</p><p>At this point we&#8217;re trying to figure out which and how many webkit prefix properties to actually implement support for in Mozilla.</p><p>If we don&#8217;t support webkit prefixes, we are locking ourselves out of parts of the mobile web.</p></blockquote><p>Let that sink in for a moment.</p><p>Non-webkit browsers will support the -webkit prefix. That is the solution being considered by the W3C.</p><p>The idea is likely to fail miserably. Two or more implementations of the same webkit property won&#8217;t be compatible so developers won&#8217;t be able to use it anywhere. No one wins &#8212; including Apple and Google.</p><p>But I&#8217;m more concerned about the irreparable damage it&#8217;ll cause if the solution <em>is</em> successful. Once developers discover webkit prefixes working in Firefox, IE and Opera, they&#8217;ll expect them to work on all properties. Webkit-only adoption will rise exponentially and the vendors will be forced to implement the prefixes throughout. At that point, webkit properties will become the de facto standard regardless of any W3C specification. Game over: the open web is closed.</p><p>The implications also go further than CSS: many of the new JavaScript APIs have vendor prefixes.</p><h2>Who&#8217;s to Blame?</h2><p>We can point the sticky finger of failure at:</p><p><strong>The W3C Working Group</strong><br
/> It takes too long for web standards to reach maturity. That may be unavoidable but browser vendors are bypassing the process.</p><p><strong>Browser Vendors</strong><br
/> In their rush to push new technologies, it&#8217;s too easy for vendors to add a prefix and forget about it. Web developers require more information: is the property being considered by the W3C and when will the prefix be dropped?</p><p>In an ideal world, experimental prefixes would disappear once the browser implements the standard property. Vendors won&#8217;t do that because it&#8217;d break sites, but they could do more to highlight the problem, e.g. provide obsolescence detection tools or output error messages to the developer console.</p><p><strong>Apple and Google</strong><br
/> Both are guilty of promoting webkit prefixes as though they&#8217;re a standard part of day-to-day HTML5 web development. Apple has been accused of actively working against the W3C.</p><p><strong>Mozilla, Microsoft and Opera</strong><br
/> Other vendors are often months behind the webkit browsers &#8212; if not years. Adding webkit prefixes is a ludicrous solution: it&#8217;s time to up their game.</p><p><strong>Technology Websites and Evangelists</strong><br
/> We all love cool demonstrations but evangelists often neglect to mention that properties are experimental and may never have full browser support <em>(and, yes, that includes SitePoint)</em>. Ideally, code should work in at least two browsers; at least it would indicate that multiple vendor prefixes are required.</p><p><strong>Web Developers</strong><br
/> We&#8217;re too lazy. We&#8217;re writing browser-specific code and, while we may have good intentions about correcting it later, we rarely do.</p><p>Do you recall the last time developers targeted a specific browser? <strong>It was IE6.</strong> We&#8217;re still living with the legacy of that decision a decade later. Do you really want history to repeat itself?</p><h2>It&#8217;s Time to Act</h2><p>I&#8217;m opposed to non-webkit browsers supporting webkit prefixes. At best, it makes prefixes unusable. At worst, it breaks the whole standardization process. You may agree or disagree but make your opinion known to colleagues, in blogs and on social networks. The W3C and browser vendors will listen to your feedback; you just need to provide some.</p><p>Then test your site in multiple browsers. A little graceful degradation is fine but neglecting one or more modern browsers with equivalent support is not. Fix the code, otherwise your site is contributing to the problem.</p> <span
id="pty_trigger"></span><div
style='padding:20px 0px 50px 0px;'><div
style='float:left;padding-left:40px;'><div
id='div-gpt-ad-1335489406190-0' style='width:300px; height:100px;'> <script type='text/javascript'>googletag.cmd.push(function() { googletag.display('div-gpt-ad-1335489406190-0'); });</script> </div></div><div
style='float:right;padding-right:40px;'><div
id='div-gpt-ad-1335489406190-1' style='width:300px; height:100px;'> <script type='text/javascript'>googletag.cmd.push(function() { googletag.display('div-gpt-ad-1335489406190-1'); });</script> </div></div><div
style='clear:both'></div></div><div
style='clear:both'></div>]]></content:encoded> <wfw:commentRss>http://www.sitepoint.com/w3c-css-webkit-prefix-crisis/feed/</wfw:commentRss> <slash:comments>53</slash:comments> </item> </channel> </rss>
<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Page Caching using memcached
Database Caching 40/113 queries in 0.104 seconds using memcached
Object Caching 3356/3492 objects using memcached

Served from: www.sitepoint.com @ 2012-05-17 10:00:08 -->
