<?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>Joseph Piché &#187; web-browsers</title>
	<atom:link href="http://jpiche.com/tags/web-browsers/feed/" rel="self" type="application/rss+xml" />
	<link>http://jpiche.com</link>
	<description>Web development professional with expertise in PHP, MySQL query optimization, Ajax, and XHTML</description>
	<lastBuildDate>Tue, 20 Jul 2010 04:04:51 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>A Second Look at Google Chrome Application Shortcuts</title>
		<link>http://jpiche.com/2010/01/a-second-look-at-google-chrome-application-shortcuts/</link>
		<comments>http://jpiche.com/2010/01/a-second-look-at-google-chrome-application-shortcuts/#comments</comments>
		<pubDate>Sat, 30 Jan 2010 20:17:37 +0000</pubDate>
		<dc:creator>Joseph Piché</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[chrome]]></category>
		<category><![CDATA[web-browsers]]></category>

		<guid isPermaLink="false">http://jpiche.com/?p=318</guid>
		<description><![CDATA[In August I wrote about Application Shortcuts for Chrome and noted that this new concept had the potential of being useful since I don&#8217;t like using standard desktop clients for email due to their lack of full Gmail support (like labels and the archive). Now having taken a further look, I&#8217;m not so convinced.
Application shortcuts [...]]]></description>
			<content:encoded><![CDATA[<p>In August I wrote about <a href="/2009/08/google-chromes-application-shortcuts-now-for-linux/">Application Shortcuts for Chrome</a> and noted that this new concept had the potential of being useful since I don&#8217;t like using standard desktop clients for email due to their lack of full Gmail support (like labels and the archive). Now having taken a further look, I&#8217;m not so convinced.</p>
<p>Application shortcuts are created by clicking on the &#8220;Page&#8221; button and selecting &#8220;Create Application Shortcuts&#8230;&#8221;. If you select to create a shortcut on the desktop, Chrome then creates the Application Shortcut and puts it on the desktop. All this is simple enough, but what it actually does is make a shortcut to Chrome at the current page and passes the <code>--app</code> flag.</p>
<p>I invite you to try this for yourself with something like Gmail and see what you think. When launched, a Chrome window is open without the tab bar or address bar. The confusing part is that internally, it is treated like a normal Chrome process. So cookies are shared with any open tabs in a normal Chrome window. Why would I want that? If this is supposed to be a Gmail <i>App</i>, wouldn&#8217;t I want cookies to be separate? What if someone else needs to check their email quick and I have the App open? I get logged off in the App and their session is replaces mine.</p>
<p>The Chromium bug list has a <a href="http://code.google.com/p/chromium/issues/detail?id=11955" rel="external">feature request</a> for this, but it hasn&#8217;t received much attention.</p>
]]></content:encoded>
			<wfw:commentRss>http://jpiche.com/2010/01/a-second-look-at-google-chrome-application-shortcuts/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>CSS is Not an Art</title>
		<link>http://jpiche.com/2009/12/css-is-not-an-art/</link>
		<comments>http://jpiche.com/2009/12/css-is-not-an-art/#comments</comments>
		<pubDate>Fri, 04 Dec 2009 08:29:19 +0000</pubDate>
		<dc:creator>Joseph Piché</dc:creator>
				<category><![CDATA[Web Development]]></category>
		<category><![CDATA[css]]></category>
		<category><![CDATA[languages]]></category>
		<category><![CDATA[web-browsers]]></category>

		<guid isPermaLink="false">http://jpiche.com/?p=313</guid>
		<description><![CDATA[For some time I&#8217;ve been working with web frameworks. Finding a good web framework is not hard with PHP since so many exist already, but since I&#8217;ve fallen in love with Python I&#8217;ve discovered Django. Recently, I&#8217;ve been re-building this blog using Django (more on that to come later) and to my surprise, using a [...]]]></description>
			<content:encoded><![CDATA[<p>For some time I&#8217;ve been working with web frameworks. Finding a good web framework is not hard with PHP since so many exist already, but since I&#8217;ve fallen in love with Python I&#8217;ve discovered <a href="http://www.djangoproject.com/">Django</a>. Recently, I&#8217;ve been re-building this blog using Django (more on that to come later) and to my surprise, using a well-developed <a href="http://en.wikipedia.org/wiki/Model-view-controller"><acronym title="Model-view-controller">MVC</acronym></a> Framework with a thought-out database schema makes traditional development almost non-existent and lets me focus on theming.</p>
<p>Since my job is mainly PHP and MySQL development, I don&#8217;t do a lot of theming. I actually like coding CSS, but we have a design team for that. For this blog, it&#8217;s actually something I need to think about. I&#8217;ve done a lot of CSS coding, but recent events at work have left me frustrated with legacy code, thus sparking this post. So getting to the point: CSS is not an art. Cross-browser CSS is not something one intuitively picks up and starts playing with, it is a language, and to be successful at it you need to know what you are doing.</p>
<p>The key concept is the possibility of writing unsuccessful or <em>bad</em> CSS. The art is drawing up what the page is to look like&mdash;concept art, or as some call it &ldquo;mocking up&rdquo; a page. CSS is the tool used to get the page to actually look <em>and function</em> as intended, and in every browser. I believe a lot of amateur web developers do not realize the importance of understanding both the CSS specifications themselves and how each CSS command will affect each web browser.</p>
<p>To further my point, this week I&#8217;ve been working with more legacy code which has CSS sprinkled all over, and always as an afterthought. This itself is not necessarily bad, as sometimes the importance of getting something semi-functional (or to a state where your boss stops yelling at you) necessitates ignoring certain parts of the process. In this, Internet Explorer 7 was forgotten about and somehow hovering over a certain set of <code>&lt;span&gt;</code> tags makes large parts of the page shift a few pixels back and forth. In an extreme case, it would hinder someone from using the application and potentially cost the company money&mdash;again an unacceptable outcome.</p>
<p>Having been dealing with CSS for a number of years now, I feel like I&#8217;ve learned quite a bit about how each browser treats different CSS attributes, but new web technology is embraced at a quick pace, and I still find new awkward Internet Explorer rendering engine bugs on a consistent basis. But at the least, having an understanding of what CSS was built to do goes a long way.</p>
]]></content:encoded>
			<wfw:commentRss>http://jpiche.com/2009/12/css-is-not-an-art/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Google Chrome&#8217;s Application Shortcuts Now for Linux</title>
		<link>http://jpiche.com/2009/08/google-chromes-application-shortcuts-now-for-linux/</link>
		<comments>http://jpiche.com/2009/08/google-chromes-application-shortcuts-now-for-linux/#comments</comments>
		<pubDate>Fri, 21 Aug 2009 02:03:12 +0000</pubDate>
		<dc:creator>Joseph Piché</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[chrome]]></category>
		<category><![CDATA[ubuntu]]></category>
		<category><![CDATA[web-browsers]]></category>

		<guid isPermaLink="false">http://jpiche.com/?p=215</guid>
		<description><![CDATA[When Chrome was first introduced, one of the neat little features was the ability to use the browser to directly launch web apps from your computer&#8217;s desktop. This feature was called &#8220;Application Shortcuts&#8221; and can be accessed from the Page menu.
At first&#8212;and for a long time after that&#8212;I didn&#8217;t see the point. For example, launching [...]]]></description>
			<content:encoded><![CDATA[<p>When Chrome was first introduced, one of the neat little features was the ability to use the browser to directly launch web apps from your computer&#8217;s desktop. This feature was called &ldquo;Application Shortcuts&rdquo; and can be accessed from the Page menu.</p>
<p>At first&mdash;and for a long time after that&mdash;I didn&#8217;t see the point. For example, launching Gmail in such a way still results in launching an instance of the browser, and if you are a <a href="http://jpiche.com/2009/08/love-hate-http-cookies/">cookie fanatic</a>, you&#8217;ve noticed that the app window shares its session with other launched windows.</p>
<p>Today decided to take a second look at Application Shortcuts when I noticed the menu option mission from Google Chrome on Ubuntu, and surprisingly discovered they might actually be useful. With the example of Gmail, there is no native desktop application for Gmail so my options are either to use a web browser or some other desktop email client like <a href="http://projects.gnome.org/evolution/">Evolution</a>, which I hate using since it ties me down to a single computer. Running Gmail as an application through Chrome surpasses this barrier and gives me more flexibility with my web browsing.</p>
<p>Getting to the entire point of this post though: Application Shortcuts are now available for the Linux build of Chromium. When I noticed this feature was missing I hopped onto <abbr title="Internet Relay Chat">IRC</abbr> channel <code>#chromium</code> and asked about it. A nice developer promptly responded saying it was added to the SVN trunk a couple days ago. Sure enough, I ran updates and there it was. So, I tried it out. It&#8217;s not the best thing in the world, but Gmail is a lot better ran as a chromium application.</p>
]]></content:encoded>
			<wfw:commentRss>http://jpiche.com/2009/08/google-chromes-application-shortcuts-now-for-linux/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Love &amp; Hate: HTTP Cookies</title>
		<link>http://jpiche.com/2009/08/love-hate-http-cookies/</link>
		<comments>http://jpiche.com/2009/08/love-hate-http-cookies/#comments</comments>
		<pubDate>Thu, 13 Aug 2009 05:44:23 +0000</pubDate>
		<dc:creator>Joseph Piché</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[http]]></category>
		<category><![CDATA[web-browsers]]></category>

		<guid isPermaLink="false">http://jpiche.com/?p=193</guid>
		<description><![CDATA[Ever since I understood what HTTP cookies were I&#8217;ve hated them. I do not like websites saving content on my computer without me explicitly approving. I feel like there should be alternative methods of storing persistent client data. From the start cookies have posed security issues since it is fairly trivial (for my perspective) to [...]]]></description>
			<content:encoded><![CDATA[<p>Ever since I understood what <a href="http://en.wikipedia.org/wiki/HTTP_cookie">HTTP cookies</a> were I&#8217;ve hated them. I do not like websites saving content on my computer without me explicitly approving. I feel like there should be alternative methods of storing persistent client data. From the start cookies have posed security issues since it is fairly trivial (for my perspective) to steal someone else&rsquo;s cookie by packet sniffing.</p>
<p>Nowadays a site can specify to use cookies over SSL, but even then, a site can choose not to and offer HTTP cookies over an HTTPS connection. Of course, because cookies do store data on the client and because of their implementation in browsers, a hacker might be able to steal cookie information using malicious Javascript.</p>
<p>Some have proposed <a href="http://www.peej.co.uk/articles/no-sessions.html">alternative methods</a> to using cookies to store persistent client data: hidden form fields, clever URLs passing tokens as REST queries, embedding a flash object, or even using a hidden iframe and writing ajax response text to it. But I feel like all of these proposed solutions only raise more issues.</p>
<p>So then left with no alternatives, I have chosen to embrace cookies when necessary and to not implement them whenever I can get around it. The specific case of having a shopping cart on a website seems to have only one good solution: storing a session ID in a cookie and send that to the server where  the actual client data is stored.</p>
<p>Approaching the problem from a different perspective though, when a person uses a web browser, that person is given the option of turning off automatically accepting cookies, or even just rejecting third-party cookies&mdash;which I choose to do when I browse. So then there it is: I also love HTTP cookies because I enjoy using websites like Gmail which require cookies for advanced features.</p>
]]></content:encoded>
			<wfw:commentRss>http://jpiche.com/2009/08/love-hate-http-cookies/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
