<?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>Bugzappy&#039;s Blog &#187; web.application</title>
	<atom:link href="http://www.bugzappy.com/tag/web-application/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.bugzappy.com</link>
	<description>on building internet apps</description>
	<lastBuildDate>Mon, 25 Jan 2010 14:24:31 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.4</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>A Programmer&#8217;s &#8220;Pre-Launch Checklist &#8221; in php&#124;architect</title>
		<link>http://www.bugzappy.com/2009/06/02/a-programmers-pre-launch-checklist-in-phparchitect/</link>
		<comments>http://www.bugzappy.com/2009/06/02/a-programmers-pre-launch-checklist-in-phparchitect/#comments</comments>
		<pubDate>Wed, 03 Jun 2009 04:15:12 +0000</pubDate>
		<dc:creator>bugzappy</dc:creator>
				<category><![CDATA[misc]]></category>
		<category><![CDATA[programming]]></category>
		<category><![CDATA[checklist]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[web.application]]></category>

		<guid isPermaLink="false">http://www.bugzappy.com/?p=234</guid>
		<description><![CDATA[About 4 weeks ago I posted a blog entry with a long list of things to think about before exposing your code, data and CPU&#8217;s to the masses. My list is really written for people whose head is on the block if things go wrong, and is really concerned with &#8220;have you thought about all [...]]]></description>
			<content:encoded><![CDATA[<p>About 4 weeks ago I posted a <a href="http://www.bugzappy.com/2009/04/11/web-application-go-live-checklist/" target="_blank">blog entry</a> with a long list of things to think about before exposing your code, data and CPU&#8217;s to the masses. My list is really written for people whose head is on the block if things go wrong, and is really concerned with &#8220;have you thought about all the categories of things that can go wrong?&#8221;</p>
<p>In this month&#8217;s FREE <a href="http://www.phparch.com/" target="_blank">php|architect</a> issue (available only in PDF), <a href="http://phparch.com/c/magazine/author/227" target="_blank">Eric David Benari</a> provides a list of much more specific things to check on the implementation side. It almost sounds like &#8220;did you brush your teeth before going to bed?&#8221; (I say this in a good way), with things such as having your 404 and 403 pages set up properly, ensuring browser-side caching is specified correctly, serving data and files from RAM not from disk as much as possible, and more. It&#8217;s a useful list with good sample code, I recommend it to new web developers as an overview of what aspects of coding for performance deserve attention, and to more experienced coders as a handy cheat sheet.</p>
<p>Now for a bit of a critique. Some of these coding techniques will help a site&#8217;s quality a lot, but frankly, if you are testing, then you&#8217;ll find out about these issues earlier than at the time of going through the checklist. </p>
<p>Others will increase your site&#8217;s performance by a lot, but if you are benchmarking your app to meet a specific demand, then you&#8217;ll know there is a problem (or not) before you look at the checklist.</p>
<p>What really matters is that (a) the way you&#8217;ve coded your app and deployed it, it will provide the expected quality of service, and (b) when you need to improve performance, you have a solid idea of how to do so (improve the code, re-code, add hardware resources.) The techniques outlined in Eric&#8217;s article are key to both.</p>
<p>So I&#8217;m going to stay with my more abstract <em>checklists</em>, along which I have very concrete <em>toolboxes</em> such as the &#8220;coding checklist&#8221; in Eric&#8217;s php|architect article.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.bugzappy.com/2009/06/02/a-programmers-pre-launch-checklist-in-phparchitect/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Programming the iPhone: native or web application?</title>
		<link>http://www.bugzappy.com/2009/04/03/programming-the-iphone-native-or-web-application/</link>
		<comments>http://www.bugzappy.com/2009/04/03/programming-the-iphone-native-or-web-application/#comments</comments>
		<pubDate>Fri, 03 Apr 2009 19:40:36 +0000</pubDate>
		<dc:creator>bugzappy</dc:creator>
				<category><![CDATA[iPhone]]></category>
		<category><![CDATA[programming]]></category>
		<category><![CDATA[mobile.application]]></category>
		<category><![CDATA[native.iPhone.application]]></category>
		<category><![CDATA[safari]]></category>
		<category><![CDATA[web.application]]></category>

		<guid isPermaLink="false">http://www.bugzappy.com/?p=87</guid>
		<description><![CDATA[We are regularly faced with the dilemma of suggesting a native iPhone application vs an iPhone-specific web application to our prospective clients. We find ourselves more at ease to develop complex applications in web-mode, and of course they can be derived from existing full-fledged web applications, and later be ported to other mobile platforms. In [...]]]></description>
			<content:encoded><![CDATA[<p>We are regularly faced with the dilemma of suggesting a native iPhone application vs an iPhone-specific web application to our prospective clients. We find ourselves more at ease to develop complex applications in web-mode, and of course they can be derived from existing full-fledged web applications, and later be ported to other mobile platforms. In addition, Apple has made it possible to let the web apps act like native apps in many respects. However in some cases a native application is the only way to provide the desired level of integration with the iPhone operating system.</p>
<p>Here is a summary of the distinctions, taken straight from Apple&#8217;s iPhone developer&#8217;s web content. </p>
<p><strong>Web Application on Safari Mobile version 4:</strong></p>
<p>You cannot arbitrarily access the iPhone&#8217;s resources (the camera, GPS, audio, files, data, applications, etc.)</p>
<p>But:</p>
<p>You can make it look and feel like a native app:</p>
<blockquote><p>
How do I ensure that my web content uses all of the available screen space on iPhone?<br />
How do I create a Home screen icon for my website or web application?<br />
How do I hide the Safari on iPhone OS UI components when my web application is running?<br />
How do I disable user zooming and scaling in my web application?<br />
How do I detect iPhone orientation changes in my web application?<br />
How do I conditionally load CSS that I have customized for iPhone?<br />
How do I launch iPhone applications, like YouTube, iTunes, or Maps, to display content?<br />
How do I dial a phone number from a webpage on iPhone?</p>
<p>(<em>read the answers at <a href="http://developer.apple.com/safari/library/codinghowtos/mobile/userExperience/index.html">Safari on iPhone User Experience Coding How-To&#8217;s</a></em>)</p></blockquote>
<p>You can make it view/play/perform content in native iPhone apps, a bit like a desktop browser plugin would, using Apple Url Scheme:</p>
<blockquote><p>
“Mail Links” describes the format for sending email with the Mail application.<br />
“Phone Links” describes the format for dialing phone numbers in the Phone application.<br />
“Text Links” describes the format for launching the Text application.<br />
“Map Links” describes the format for specifying locations in the Maps application.<br />
“YouTube Links” describes the format for linking to YouTube videos.<br />
“iTunes Links” describes the format for linking to items in the iTunes Music Store.</p>
<p>(<em>quoted from <a href="http://developer.apple.com/safari/library/featuredarticles/iPhoneURLScheme_Reference/Introduction/Introduction.html">Apple URL Scheme Reference</a></em>)</p></blockquote>
<p>You can make it work offline:</p>
<blockquote><p>
&#8230; Safari provides an offline application cache. This cache allows you to create web-based applications that work correctly even when the user’s computer or web-enabled device is not connected to the Internet.<br />
(<em>quoted from <a href="http://developer.apple.com/safari/library/documentation/iPhone/Conceptual/SafariJSDatabaseGuide/OfflineApplicationCache/chapter_2_section_1.html">HTML 5 Offline Application Cache</a></em>)</p>
<p>&#8230; Safari supports the HTML 5 client-side storage specification.<br />
(<em>quoted from <a href="http://developer.apple.com/safari/library/documentation/iPhone/Conceptual/SafariJSDatabaseGuide/Name-ValueStorage/chapter_3_section_1.html">Key-Value Storage</a></em>)</p>
<p>&#8230; Safari supports the HTML5 JavaScript database class. The JavaScript database class, based on SQLite, provides a very basic relational database intended for local storage of content that is too large to conveniently store in cookies (or is too important to accidentally delete when the user clears out his or her cookies).<br />
(<em>quoted from <a href="http://developer.apple.com/safari/library/documentation/iPhone/Conceptual/SafariJSDatabaseGuide/UsingtheJavascriptDatabase/chapter_5_section_1.html">Using the JavaScript Database</a></em>)</p>
<p>(<em>get the complete PDF document at: <a href="http://developer.apple.com/safari/library/documentation/iPhone/Conceptual/SafariJSDatabaseGuide/SafariJSDatabaseGuide.pdf">Safari Client-Side Storage and Offline Applications Programming Guide</a></em>)
</p></blockquote>
<p><strong>Native iPhone application:</strong></p>
<blockquote><p>Unlike a web application, which runs in Safari, a native application runs directly as a standalone executable on an iPhone OS–based device. Native applications have access to all the features that make the iPhone interesting, such as the accelerometers, location service, and Multi-Touch interface. They can also save data to the local file system and even communicate with other installed applications through custom URL schemes.</p>
<p>(<em>quoted from <a href="http://developer.apple.com/iphone/library/documentation/iPhone/Conceptual/iPhoneOSProgrammingGuide/Introduction/Introduction.html">iPhone Reference Library</a></em>)</p></blockquote>
<p>Ulitzer.com has a some stats for an informal poll on LinkedIn about which (web or native) developers seem to favor:</p>
<blockquote><p><a href="http://iphone.ulitzer.com/node/890613">Web or SDK?</a><br />
— Web Development and SDK Development each offer distinct advantages to the iPhone Developer&#8230;So I set out over the last two months, with the aid of the LinkedIn Polls feature to gauge the trend</p></blockquote>
<p>And btw they also have a simple summary of what you need to do to get your first iPhone application out there, starting from 0:</p>
<blockquote><p><a href="http://iphone.ulitzer.com/node/908465">Seven Steps to the iPhone Developer&#8217;s World</a><br />
&#8230; here are my seven steps to becoming an iPhone Developer. Tread carefully and you will become a wise man&#8230; Buy an Intel Based Mac &#038; a Device &#8211; though the iPhone/iPod Touch device isn&#8217;t 100% necessary for this early stage, as the iPhone simulator that you will get with the SDK is free and more that capable for initial development &#8230; </p></blockquote>
<p>I hope this helps clarify your options as a developer for the iPhone.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.bugzappy.com/2009/04/03/programming-the-iphone-native-or-web-application/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>
