<?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>Delivering Quality &#187; Web</title>
	<atom:link href="http://www.markdeepwell.com/category/web/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.markdeepwell.com</link>
	<description>A Software Developers View of the World</description>
	<lastBuildDate>Sat, 31 Dec 2011 22:41:24 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Cache Password Protected Website</title>
		<link>http://www.markdeepwell.com/2011/11/cache-password-protected-website/</link>
		<comments>http://www.markdeepwell.com/2011/11/cache-password-protected-website/#comments</comments>
		<pubDate>Tue, 22 Nov 2011 02:03:08 +0000</pubDate>
		<dc:creator>Mark</dc:creator>
				<category><![CDATA[Web]]></category>
		<category><![CDATA[Web Application]]></category>
		<category><![CDATA[cache]]></category>
		<category><![CDATA[password protected]]></category>
		<category><![CDATA[tumblr]]></category>

		<guid isPermaLink="false">http://www.markdeepwell.com/?p=652</guid>
		<description><![CDATA[I needed to write a simple web app to automatically cache a password protected tumblr admin account, so I wrote simple symfony app to do it. It was pretty simple to do because I could leverage the sfWebBrowserPlugin which provides most of the heavy work for simulating a browser and logging into the site. While [...]]]></description>
			<content:encoded><![CDATA[<p>I needed to write a simple web app to automatically cache a password protected tumblr admin account, so I wrote simple symfony app to do it. It was pretty simple to do because I could leverage the sfWebBrowserPlugin which provides most of the heavy work for simulating a browser and logging into the site.</p>
<p>While this project is setup to cache tumblr, you can easily modify it to cache any website. It&#8217;s built in PHP on the symfony framework.</p>
<p>Configure it by changing the apps/frontend/config/app.yml file to add in the blog name, email, and password, with these config parameters: app_tumblr_blog_name, app_tumblr_email, app_tumblr_password</p>
<p>To cache a page, run it via command line:</p>
<p>./symfony tumblr:cache</p>
<p>Source is on github: <a href="https://github.com/deepwell/Cache-Tumblr-Admin">Cache Tumblr Admin</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.markdeepwell.com/2011/11/cache-password-protected-website/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>WordPress Needs a Default Caching Plugin</title>
		<link>http://www.markdeepwell.com/2011/10/wordpress-needs-default-caching-plugin/</link>
		<comments>http://www.markdeepwell.com/2011/10/wordpress-needs-default-caching-plugin/#comments</comments>
		<pubDate>Sat, 29 Oct 2011 17:44:23 +0000</pubDate>
		<dc:creator>Mark</dc:creator>
				<category><![CDATA[Web]]></category>
		<category><![CDATA[blog]]></category>
		<category><![CDATA[cache]]></category>
		<category><![CDATA[Hyper Cache]]></category>
		<category><![CDATA[page load]]></category>
		<category><![CDATA[plugin]]></category>
		<category><![CDATA[scalability]]></category>
		<category><![CDATA[Wordpress]]></category>

		<guid isPermaLink="false">http://www.markdeepwell.com/?p=646</guid>
		<description><![CDATA[I find it curious that WordPress, one of the biggest and best blogging platforms currently around does not come default with a caching plugin. I think the WordPress developers should either include one of the excellent WordPress caching plugins, or build their own and then enable it by default. Users and blog hosts worldwide would [...]]]></description>
			<content:encoded><![CDATA[<p>I find it curious that <a href="http://wordpress.org/">WordPress</a>, one of the <a href="http://lifehacker.com/5568092/five-best-blogging-platforms">biggest and best blogging platforms</a> currently around does not come default with a caching plugin. I think the WordPress developers should either include one of the<a href="http://www.satollo.net/plugins/hyper-cache"> excellent WordPress caching plugins</a>, or build their own and then enable it by default. Users and blog hosts worldwide would have better page load performance and improved scalability.</p>
<p>This blog is build with WordPress, and in my first year of blogging, one of my posts received a lot of hits. Unfortunately, the default WordPress install I had setup wasn&#8217;t able to cope with the demand effectively. It was taking 2-5 seconds for visitors to load a page. That&#8217;s unreasonable for a simple blog and I&#8217;m sure I lost a lot of visitors because of it. So I looked into ways to make my blog load faster without paying extra for better hosting hardware. That&#8217;s when I found an excellent caching plugin called <a href="http://www.satollo.net/plugins/hyper-cache">Hyper Cache</a>.</p>
<p>With Hyper Cache, I made my blog page load from 2-5 seconds under heavy load, to down to less than a second,  under load the same load. The HTML itself only takes about 230ms to download, down from 4000ms, allowing the other resources to start downloading in a paralleled fashion much earlier. How is this possible? Well a caching mechanism works like this: The first time a page is requested, it will render it as normal, but what&#8217;s different is that it will save the rendered page in a special <strong>cache</strong> file. Then, subsequent visitors simply get handed this same cache file immediately, without much PHP processing required. It&#8217;s like skipping to the front of the line.</p>
<p>So we can see a cache has a huge effect on performance, and made a big difference to my blog, but what other benefits are there?</p>
<ul>
<li>Many people won&#8217;t know what a cache is, or how to install one</li>
<li>Better experience for blog owners because they don&#8217;t have to learn how to install one after they experience poor site performance</li>
<li>Blog is more ready to handle getting slashdotted</li>
<li>Will ultimately give WordPress a much better image</li>
</ul>
<p>In my opinion, well worth it. So WordPress team, please?</p>
]]></content:encoded>
			<wfw:commentRss>http://www.markdeepwell.com/2011/10/wordpress-needs-default-caching-plugin/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Yii Override Command Parameters</title>
		<link>http://www.markdeepwell.com/2011/07/yii-override-command-parameters/</link>
		<comments>http://www.markdeepwell.com/2011/07/yii-override-command-parameters/#comments</comments>
		<pubDate>Mon, 11 Jul 2011 14:35:48 +0000</pubDate>
		<dc:creator>Mark</dc:creator>
				<category><![CDATA[Software Development]]></category>
		<category><![CDATA[Tutorial]]></category>
		<category><![CDATA[Web]]></category>
		<category><![CDATA[command]]></category>
		<category><![CDATA[commandMap]]></category>
		<category><![CDATA[config]]></category>
		<category><![CDATA[Yii]]></category>

		<guid isPermaLink="false">http://www.markdeepwell.com/?p=629</guid>
		<description><![CDATA[The Yii Framework is very flexible and has a variety of way you can configure it. Here I will show you how you can customize parameters on a Command task. The default Yii Migration command asks the user for a confirmation before running if there are any tables that have been changed, this is quite [...]]]></description>
			<content:encoded><![CDATA[<p>The <a href="http://www.yiiframework.com/">Yii Framework</a> is very flexible and has a variety of way you can configure it. Here I will show you how you can customize parameters on a Command task.</p>
<p>The default Yii Migration command asks the user for a confirmation before running if there are any tables that have been changed, this is quite a sensible default, but I don&#8217;t want to be asked if the command should be run after a deployment. Of course it should be.</p>
<p>To see what options can be configured, open the Migrations file</p>
<pre>
vendors/framework/cli/commands/MigrateCommand.php
</pre>
<p>Any of the public class variables can be configured in your config/console.php file. Using the <b>commandMap</b> parameter, you can configure values for Yii Commands. Then specify the <b>migrate</b> task, and then the config values you want to change. In this case, I want to change interactive to false, so it won&#8217;t ask for a confirmation.</p>
<p>Sample config/console.php:</p>
<pre class="brush: php; title: ; notranslate">
return array(
 ...
  // database migration, don't ask for confirmation
  'commandMap'=&gt;array(
    'migrate'=&gt;array(
      'class'=&gt;'system.cli.commands.MigrateCommand',
      'interactive'=&gt;false,
    ),
  ),
);
</pre>
]]></content:encoded>
			<wfw:commentRss>http://www.markdeepwell.com/2011/07/yii-override-command-parameters/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to add Local Config Variables to Yii</title>
		<link>http://www.markdeepwell.com/2011/06/how-to-add-local-config-variables-to-yii/</link>
		<comments>http://www.markdeepwell.com/2011/06/how-to-add-local-config-variables-to-yii/#comments</comments>
		<pubDate>Thu, 30 Jun 2011 22:13:58 +0000</pubDate>
		<dc:creator>Mark</dc:creator>
				<category><![CDATA[Software Development]]></category>
		<category><![CDATA[Web]]></category>
		<category><![CDATA[config]]></category>
		<category><![CDATA[local settings]]></category>
		<category><![CDATA[web development]]></category>
		<category><![CDATA[Yii]]></category>

		<guid isPermaLink="false">http://www.markdeepwell.com/?p=623</guid>
		<description><![CDATA[Often times you want to be able to specify configuration parameters or settings that only apply to a single environment. These local configuration don&#8217;t need to, and shouldn&#8217;t be entered into version control, and should over ride default values. I needed a solution for a project I was working on so I wrote one for [...]]]></description>
			<content:encoded><![CDATA[<p>Often times you want to be able to specify configuration parameters or settings that only apply to a single environment. These local configuration don&#8217;t need to, and shouldn&#8217;t be entered into version control, and should over ride default values. I needed a solution for a project I was working on so I wrote one for Yii.</p>
<p>The main configuration file protected/config/main.php returns an array of parameters. Edit this file to merge 2 arrays, 1 from main.php, and another from local.php.</p>
<p>Edit main.php to look like this:</p>
<pre class="brush: php; title: ; notranslate">
&lt;?php

return CMap::mergeArray(
  array(
    'basePath'=&gt;dirname(__FILE__).DIRECTORY_SEPARATOR.'..',
    'name'=&gt;'Web app',

... other parameters ...

    'params'=&gt;array(
      // this is used in contact page
      'adminEmail'=&gt;'webmaster@example.com',
    ),
  ),
  local_config()
);

// return an array of custom local configuration settings
function local_config()
{
  if (file_exists(dirname(__FILE__).'/local.php'))
  {
    return require_once(dirname(__FILE__).'/local.php');
  }

  return array();
};
</pre>
<p>And then add any of your own configuration to local.php in the same config directory.</p>
<pre class="brush: php; title: ; notranslate">
&lt;?php
return array(
  'components'=&gt;array(
    'db'=&gt;array(
      'connectionString' =&gt; 'mysql:host=localhost;dbname=db_name',
      'username' =&gt; 'my_user',
      'password' =&gt; 'secret',
      'enableParamLogging'=&gt;true,
    ),
    'log'=&gt;array(
      'class'=&gt;'CLogRouter',
      'routes'=&gt;array(
        'file'=&gt;array(
          'class'=&gt;'CFileLogRoute',
          'levels'=&gt;'trace, info, error, warning',
        ),
        'profile'=&gt;array(
          'class'=&gt;'CProfileLogRoute',
          'report'=&gt;'summary',
        ),
      ),
    ),
  ),
  'params'=&gt;array(
    // this is used in contact page
    'adminEmail'=&gt;'yourself@example.com',
  ),
);
</pre>
<p>Here we&#8217;ve overridden the adminEmail parameter to yourself@example.com, we&#8217;ve added in custom database username and password, and we&#8217;ve enabled logging.</p>
<p>Feel free to use this as a straightforward way to add custom config values to your Yii project. Just remember to make local.php an ignored file in Git or Subversion.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.markdeepwell.com/2011/06/how-to-add-local-config-variables-to-yii/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Add an i18n Static Page to Symfony</title>
		<link>http://www.markdeepwell.com/2011/05/add-an-i18n-static-page-to-symfony/</link>
		<comments>http://www.markdeepwell.com/2011/05/add-an-i18n-static-page-to-symfony/#comments</comments>
		<pubDate>Mon, 16 May 2011 02:00:48 +0000</pubDate>
		<dc:creator>Mark</dc:creator>
				<category><![CDATA[Software Development]]></category>
		<category><![CDATA[Tutorial]]></category>
		<category><![CDATA[Web]]></category>
		<category><![CDATA[i18n]]></category>
		<category><![CDATA[multilingual]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[static page]]></category>
		<category><![CDATA[symfony]]></category>

		<guid isPermaLink="false">http://www.markdeepwell.com/?p=611</guid>
		<description><![CDATA[My last post explained the basics on how to add static pages in symfony, this post expands on that and shows you how to do it for a multilingual site. We split the template finding code out for code maintainability, and we enhance it on where to look for the file. First it tries to [...]]]></description>
			<content:encoded><![CDATA[<p>My last post explained the basics on how to <a href="http://www.markdeepwell.com/2011/03/add-a-static-page-to-symfony/">add static pages in symfony</a>, this post expands on that and shows you how to do it for a multilingual site.</p>
<p>We split the template finding code out for code maintainability, and we enhance it on where to look for the file. First it tries to find the template in the language and country eg: en_CA, then it tries to find the template in the matching language, and if that is not found, it falls back to the default language.</p>
<pre class="brush: php; title: ; notranslate">
/**
 * Load a static page.
 * @param sfRequest $request A request object
 */
public function executePage(sfWebRequest $request)
{
  $template = $this-&gt;findTemplate($request-&gt;getParameter('view'), $this-&gt;getUser()-&gt;getCulture());
  $this-&gt;forward404Unless($template);
  $this-&gt;setTemplate($template);
}

/**
 * Check if a template page exists for a given culture.
 * Be intelligent and check if language &amp; country exist, try language, and then default to english.
 * @param string $name Template filename to check
 * @param string $culture Symfony culture string
 */
protected function findTemplate($name, $culture)
{
  // for safety, strip out all non-alphanumeric characters
  $name = preg_replace('/[^a-zA-Z0-9\s]/', '', $name);

  $directory = $this-&gt;getContext()-&gt;getModuleDirectory() . DIRECTORY_SEPARATOR .&quot;templates&quot;;
  // try language and country: en_CA
  if (is_readable($directory . DIRECTORY_SEPARATOR . $culture. DIRECTORY_SEPARATOR . $name .&quot;Success.php&quot;))
  {
    return $culture. DIRECTORY_SEPARATOR . $name;
  }
  // try langage only: en
  elseif (is_readable($directory . DIRECTORY_SEPARATOR . substr($culture, 0, 2). DIRECTORY_SEPARATOR . $name .&quot;Success.php&quot;))
  {
    return substr($culture, 0, 2). DIRECTORY_SEPARATOR . $name;
  }
  // try default language
  elseif (is_readable($directory . DIRECTORY_SEPARATOR . $name .&quot;Success.php&quot;))
  {
    return $name;
  }
  return false;
}
</pre>
<p>The template directory should have the default language file as usual, eg: templates/helpSuccess.php, and then there should be folders for each language and possibly language &#038; country with the same filename, but localized. eg: templates/fr/helpSuccess.php</p>
]]></content:encoded>
			<wfw:commentRss>http://www.markdeepwell.com/2011/05/add-an-i18n-static-page-to-symfony/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Add a Static Page to Symfony</title>
		<link>http://www.markdeepwell.com/2011/03/add-a-static-page-to-symfony/</link>
		<comments>http://www.markdeepwell.com/2011/03/add-a-static-page-to-symfony/#comments</comments>
		<pubDate>Mon, 28 Mar 2011 15:02:19 +0000</pubDate>
		<dc:creator>Mark</dc:creator>
				<category><![CDATA[Software Development]]></category>
		<category><![CDATA[Tutorial]]></category>
		<category><![CDATA[Web]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[static page]]></category>
		<category><![CDATA[symfony]]></category>

		<guid isPermaLink="false">http://www.markdeepwell.com/?p=597</guid>
		<description><![CDATA[Static pages can be added to Symfony quite easily. Edit your routing.yml file which is probably located at apps/frontend/config/routing.yml, and add the following routes to add an about, a privacy, and a terms and conditions page. If you are going to keep the generic rules, make sure you add these new rules before the default [...]]]></description>
			<content:encoded><![CDATA[<p>Static pages can be added to Symfony quite easily.</p>
<p>Edit your routing.yml file which is probably located at apps/frontend/config/routing.yml, and add the following routes to add an about, a privacy, and a terms and conditions page.</p>
<pre class="brush: plain; title: ; notranslate">
# static pages
about:
  url:   /about
  param: { module: home, action: page, view: about }
privacy:
  url:   /privacy
  param: { module: home, action: page, view: privacy }
terms:
  url:   /terms
  param: { module: home, action: page, view: terms }
</pre>
<p>If you are going to keep the generic rules, make sure you add these new rules <strong>before</strong> the default actions.</p>
<p>Clear your cache:<br />
./symfony clear-cache</p>
<p>Then inside the module named <strong>home</strong> (create it if it doesn&#8217;t exist), add the following action:</p>
<pre class="brush: php; title: ; notranslate">
  /**
   * Load a static page.
   * @param sfRequest $request A request object
   */
  public function executePage(sfWebRequest $request)
  {
    $directory = $this-&gt;getContext()-&gt;getModuleDirectory().DIRECTORY_SEPARATOR.&quot;templates&quot;;
    $name = $request-&gt;getParameter('view');
    // for safety, strip out all non-alphanumeric characters
    $name = preg_replace('/[^a-zA-Z0-9\s]/', '', $name);
    if (is_readable($directory.DIRECTORY_SEPARATOR.$name.&quot;Success.php&quot;))
    {
      return $this-&gt;setTemplate($name);
    }
    else
    {
      $this-&gt;forward404();
    }
  }
</pre>
<p>The template files will be on the home/templates directory, called aboutSuccess.php, privacySuccess.php, and termsSuccess.php</p>
<p>This action will check if the template file exists, and if so load the template, if not it will forward to the 404 not found page. Easy and safe static templates. Add more routes and the appropriate template file as required.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.markdeepwell.com/2011/03/add-a-static-page-to-symfony/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Web Development Best Practices</title>
		<link>http://www.markdeepwell.com/2011/01/web-development-best-practices/</link>
		<comments>http://www.markdeepwell.com/2011/01/web-development-best-practices/#comments</comments>
		<pubDate>Mon, 10 Jan 2011 05:01:47 +0000</pubDate>
		<dc:creator>Mark</dc:creator>
				<category><![CDATA[Software Development]]></category>
		<category><![CDATA[Web]]></category>
		<category><![CDATA[Future Proof]]></category>
		<category><![CDATA[JavaScript]]></category>
		<category><![CDATA[web development]]></category>

		<guid isPermaLink="false">http://www.markdeepwell.com/?p=584</guid>
		<description><![CDATA[Choosing a Technology Framework Does it really matter if you use ASP.NET MVC, Struts 2, Yii, or Rails? Well it might, but for many websites these modern frameworks are just as competitive as the next. Use the stack that is most appropriate for your customer&#8217;s situation and is the best choice at the time. Since [...]]]></description>
			<content:encoded><![CDATA[<h3>Choosing a Technology Framework</h3>
<p>Does it really matter if you use ASP.NET MVC, Struts 2, Yii, or  Rails? Well it might, but for many websites these modern frameworks are  just as competitive as the next. Use the stack that is most appropriate  for your customer&#8217;s situation and is the best choice at the time. Since  this is the real world, it will probably change a couple of years in the  future.</p>
<h3>Leverage Community Extensions</h3>
<p>Each framework out there has libraries of modules, extensions or plugins that enhance functionality and provide features that would you otherwise would need to write yourself. If it exists, and it&#8217;s in good shape, don&#8217;t write it yourself, leverage existing extensions that are appropriately licensed for your project.</p>
<h3>Future Proof your URLs</h3>
<p>It no longer makes sense to have a web site with extensions, be it .html, .php, .jsp, or .whatever you can think of. <a href="http://arstechnica.com/">Arstechnica</a> even created their own .ars, for no reason that I could tell. Yes the web started with .html because websites were simply serving static files, but that is no longer relevant anymore.</p>
<p>If you build a website with .jsp as the suffix to all URLs, and then a couple of years later your boss wants to re-write the website in python, does that mean you change all URLs to be .py, and setup mass url re-writing schemes to handle the old URLs? No, this would be a nightmare. Protect your future self by completely leaving the actual technology used to build the website outside of the URL.</p>
<p>Another bonus is that these URLs also end up being more SEO friendly!</p>
<h3>Use a JavaScript Framework (maybe)</h3>
<p>If you are building an AJAX heavy website such as GMail or Facebook, use a JavaScript framework. This is not relevant for many sites that simply use JavaScript to provide some enhanced functionality, but for websites that are heavily dependent upon JavaScript and simply cannot function without it.</p>
<p>I&#8217;m not talking about jQuery or Prototype, while those are good libraries that abstract the differences between browsers and provide easy to use functions, they are not built as a comprehensive framework. I&#8217;m suggesting you use a framework like JavaScriptMVC, SproutCore, or Spry. These frameworks can be used in tandem with jQuery, but go much farther in helping you organize and control your JavaScript code.</p>
<p>Watch a <a href="http://javascriptmvc.s3.amazonaws.com/videos/2_0/2_0_demo.htm">demo video</a> of what JavaScriptMVC can do for you.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.markdeepwell.com/2011/01/web-development-best-practices/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>What Will Web Development Look Like in 5 Years</title>
		<link>http://www.markdeepwell.com/2010/03/what-will-web-development-look-like-in-5-years/</link>
		<comments>http://www.markdeepwell.com/2010/03/what-will-web-development-look-like-in-5-years/#comments</comments>
		<pubDate>Wed, 24 Mar 2010 16:40:45 +0000</pubDate>
		<dc:creator>Mark</dc:creator>
				<category><![CDATA[Mobile]]></category>
		<category><![CDATA[Software Development]]></category>
		<category><![CDATA[Software Tools]]></category>
		<category><![CDATA[Web]]></category>
		<category><![CDATA[5 Years]]></category>
		<category><![CDATA[AJAX]]></category>
		<category><![CDATA[Canvas]]></category>
		<category><![CDATA[Framework]]></category>
		<category><![CDATA[Future]]></category>
		<category><![CDATA[HTML5]]></category>
		<category><![CDATA[JavaScript]]></category>
		<category><![CDATA[WebGL]]></category>

		<guid isPermaLink="false">http://www.markdeepwell.com/?p=438</guid>
		<description><![CDATA[Developing applications for the web has changed significantly over the last 5 years. Since 2005 the term AJAX has been coined, Ruby on Rails is now an open source web application framework, jQuery was created and has subsequently revolutionized JavaScript development, and now HTML5 is the top buzzword of the day. I believe the next [...]]]></description>
			<content:encoded><![CDATA[<p>Developing applications for the web has changed significantly over the last 5 years. Since 2005 the term AJAX has been coined, Ruby on Rails is now an open source web application framework, jQuery was created and has subsequently revolutionized JavaScript development, and now HTML5 is the top buzzword of the day. I believe the next 5 years will hold just as many improvements for web developers.</p>
<p>I foresee a new framework will be created to make developing fully interactive AJAX applications  as easy as it is to write current MVC applications. Current  frameworks like Ruby on Rails and Symfony provide everything you need to develop a modern application without having to build plumbing infrastructure; however, they do not provide nice components for interactive applications. In addition to a robust server core, this new framework will have   a client side JavaScript component that simplifies the process of building interactive web 2.0 applications. Some critical components would be:</p>
<ul>
<li>Form Validation. Libraries do exist to validate forms in JavaScript,  but they don&#8217;t integrate with the server side form validation. In this new framework you won&#8217;t have to write form validation code twice.</li>
<li>Paginated Lists. Almost all web applications have at least one page where data needs to be searched and listed with pagination. We need to have this same functionality in JavaScript to skip a full page reload and provide local caching of the results.</li>
<li>Animation Library. While script.aculo.us and jQuery have made simple animations and visual effects much easier to do, I believe we can go even farther. Web applications also need to gain that fluidity and soft animations that desktop applications such as Exposé have had for a couple of years.</li>
</ul>
<p>I also see huge resources being directed towards mobile development because ALL current generation smart phones are built for an incredible web browsing experience. As home users have switched from <a href="http://www.canada.com/technology/tech-biz/laptops+dominate+desktop+face+obsolescence/1151512/story.html">desktop computers</a> to <a href="http://www.google.com/trends?q=laptop%2C+desktop">laptop computers</a> in the last few years, people will slowly start switching to hand-held devices for their primary communication and Internet needs. Most likely this will have one primary effect: web frameworks will have a mobile optimized version of the site done automatically. Little to none developer intervention will be required as only resolution, text sizes, and layouts will be modified for the mobile version.</p>
<p>Lastly I see tools and libraries around 2D and 3D drawing elements. Most likely these libraries would be rendering to a <a href="https://developer.mozilla.org/en/Canvas_tutorial">Canvas</a> or a <a href="http://planet-webgl.org/">WebGL</a> element but something better could be created. Both of these are young standards right now that show a lot of promise on delivering the ability to draw pixels directly in a native HTML web page. While they will be used first in simple computer games, I am very interested to see what libraries are created to facilitate these elements being used appropriately inside next generation web applications.</p>
<p>What do you think the next 5 years will bring?</p>
]]></content:encoded>
			<wfw:commentRss>http://www.markdeepwell.com/2010/03/what-will-web-development-look-like-in-5-years/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>The Cost of Endorsing H.264</title>
		<link>http://www.markdeepwell.com/2010/01/the-cost-of-endorsing-h-264/</link>
		<comments>http://www.markdeepwell.com/2010/01/the-cost-of-endorsing-h-264/#comments</comments>
		<pubDate>Sat, 23 Jan 2010 18:20:52 +0000</pubDate>
		<dc:creator>Mark</dc:creator>
				<category><![CDATA[Web]]></category>
		<category><![CDATA[H.264]]></category>
		<category><![CDATA[HTML5]]></category>
		<category><![CDATA[Ogg Theora]]></category>
		<category><![CDATA[Open Web]]></category>
		<category><![CDATA[Vimeo]]></category>
		<category><![CDATA[YouTube]]></category>

		<guid isPermaLink="false">http://www.markdeepwell.com/?p=454</guid>
		<description><![CDATA[As you&#8217;ve probably heard, both YouTube and Vimeo have released beta support to their massively popular websites to play videos using the HTML5 video tag instead of Flash. While I am glad the video sites are finally switching to the native HTML video tag, I am perplexed why they have gone with the non-free option. [...]]]></description>
			<content:encoded><![CDATA[<p>As you&#8217;ve probably heard, both <a href="http://www.youtube.com/html5">YouTube</a> and <a href="http://www.vimeo.com/blog:268">Vimeo</a> have released beta support to their massively popular websites to play videos using the <a href="http://www.markdeepwell.com/2009/07/importance-of-the-html-video-tag/">HTML5 video tag</a> instead of Flash. While I am glad the video sites are <strong>finally</strong> switching to the native HTML video tag, I am perplexed why they have gone with the non-free option.</p>
<p>Firefox, Safari, Google Chrome, and soon Opera all support the HTML5 video tag with the ability to play Ogg Theora encoded videos (except Safari). On the other hand, H.264 is only supported by Google Chrome and Safari. Both of these formats do the same thing, they specify a compression standard that allows for efficient playback at relatively small file sizes. There are a number of technical differences, but generally, they <a href="http://people.xiph.org/~greg/video/ytcompare/comparison.html">preform relatively the same</a>. The big difference between the two is that Ogg Theora is royalty free and available for anybody to use, while H.264 is encumbered by patents held by the MPEG LA association. This same organization will charge anybody who uses it a <a href="http://www.streaminglearningcenter.com/articles/h264-royalties-what-you-need-to-know.html">hefty royalty fee</a> starting in 2011.</p>
<p>If you have a personal blog and want to put a video on your website using H.264 this means you need to have to hire a lawyer to create a deal with the MPEG LA to allow you to use their codec. This will either cost you a lot of money, or they will not allow you to do it. They do have the right to simply deny you if they don&#8217;t feel like it.</p>
<p>However, if you use the open <a href="http://www.theora.org/">Ogg Theora</a> format, you are free to simply upload the video to your website to start using it, the same as uploading an image. Ogg Theora is not covered by any patents and is royalty free.</p>
<p>I don&#8217;t understand why both YouTube and Vimeo are both going the non-free route. Is it simply because they have the money to pay MPEG LA? Whatever the case, endorsing H.264 encoded videos as the format for video on the web is an option for large companies with money to pay, but it&#8217;s completely the wrong choice for  blog writers and any small or medium sized organization.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.markdeepwell.com/2010/01/the-cost-of-endorsing-h-264/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Google Wave Giveaway</title>
		<link>http://www.markdeepwell.com/2009/11/google-wave-giveaway/</link>
		<comments>http://www.markdeepwell.com/2009/11/google-wave-giveaway/#comments</comments>
		<pubDate>Thu, 26 Nov 2009 02:12:35 +0000</pubDate>
		<dc:creator>Mark</dc:creator>
				<category><![CDATA[Web]]></category>

		<guid isPermaLink="false">http://www.markdeepwell.com/?p=401</guid>
		<description><![CDATA[Does anybody want a google wave invite? Leave a comment and the first people to respond will get one.]]></description>
			<content:encoded><![CDATA[<p>Does anybody want a google wave invite? Leave a comment and the first people to respond will get one.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.markdeepwell.com/2009/11/google-wave-giveaway/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
	</channel>
</rss>

