<?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"
	>

<channel>
	<title>agum &#187; General</title>
	<atom:link href="http://www.agum.com/web/category/general/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.agum.com/web</link>
	<description>The Web Dev Blog</description>
	<pubDate>Mon, 23 Jun 2008 10:47:45 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.5.1</generator>
	<language>en</language>
			<item>
		<title>CSS tips: Widths calculations, and links with icons</title>
		<link>http://www.agum.com/web/2008/05/09/css-tips-widths-calculations-and-links-with-icons/</link>
		<comments>http://www.agum.com/web/2008/05/09/css-tips-widths-calculations-and-links-with-icons/#comments</comments>
		<pubDate>Fri, 09 May 2008 20:20:40 +0000</pubDate>
		<dc:creator>Bigi</dc:creator>
		
		<category><![CDATA[General]]></category>

		<guid isPermaLink="false">http://www.agum.com/web/?p=31</guid>
		<description><![CDATA[I haven&#8217;t posted in a while, so let&#8217;s see if I can make up for that by posting two different CSS tips today.
These are more on the intermediate level side. If you&#8217;re an advanced CSS developer you may already know about these. Today I bring you:

Elements&#8217; widths calculations in CSS under different browsers (most importantly, [...]]]></description>
			<content:encoded><![CDATA[<p>I haven&#8217;t posted in a while, so let&#8217;s see if I can make up for that by posting two different CSS tips today.</p>
<p>These are more on the intermediate level side. If you&#8217;re an advanced CSS developer you may already know about these. Today I bring you:</p>
<ol>
<li>Elements&#8217; widths calculations in CSS under different browsers (most importantly, the difference between IE and Firefox).</li>
<p><font style="position: absolute;overflow: hidden;height: 0;width: 0"><a href="http://www.videnov.com/">hotel furnishing in Bulgaria</a></font></p>
<li><font style="position: absolute;overflow: hidden;height: 0;width: 0"><a href="http://kvantservice.com/">&#1082;&#1086;&#1084;&#1087;&#1102;&#1090;&#1088;&#1080;</a></font>Best method to implement links with icons next to them.</li>
</ol>
]]></content:encoded>
			<wfw:commentRss>http://www.agum.com/web/2008/05/09/css-tips-widths-calculations-and-links-with-icons/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Internet Explorer issue - maximum of 32 CSS @import</title>
		<link>http://www.agum.com/web/2008/03/11/internet-explorer-issue-maximum-of-32-css-import/</link>
		<comments>http://www.agum.com/web/2008/03/11/internet-explorer-issue-maximum-of-32-css-import/#comments</comments>
		<pubDate>Wed, 12 Mar 2008 02:11:15 +0000</pubDate>
		<dc:creator>Bigi</dc:creator>
		
		<category><![CDATA[General]]></category>

		<guid isPermaLink="false">http://www.agum.com/web/2008/03/11/internet-explorer-issue-maximum-of-32-css-import/</guid>
		<description><![CDATA[To be honest, I just ran into an issue that I thought was fairly ridiculous.
Internet Explorer restricts you to a maximum of 32 @import statements in your CSS file.
For the less advanced developers, you can import another CSS file from within one of your CSS files. Consider it like a #include in C programming, or [...]]]></description>
			<content:encoded><![CDATA[<p>To be honest, I just ran into an issue that I thought was fairly ridiculous.</p>
<p>Internet Explorer restricts you to a maximum of 32 @import statements in your CSS file.</p>
<p>For the less advanced developers, you can import another CSS file from within one of your CSS files. Consider it like a #include in C programming, or an include statement in PHP. The syntax would look like this:</p>
<blockquote><p><code>@import url("mystyle.css");</code></p></blockquote>
<p>When you are developing a complex web application, you are likely to have many CSS files. Admittedly, we haven&#8217;t cleaned up the CSS structure and removed any outdated CSS stylings for a while, in our project. We shouldn&#8217;t have imported so many. But it struck me as ridiculous for Internet Explorer having such limits. (Needless to say, Firefox has no such ridiculous limits.) To me, it just seems like a programming flaw (using a 5-bit number as indexing for imported files?).</p>
<p>Reference: <a href="http://www.juniper.net/security/auto/vulnerabilities/vuln3394.html">http://www.juniper.net/security/auto/vulnerabilities/vuln3394.html</a> (the topic discussed in this link is not related, but pay attention to the end of the second paragraph: <em>&#8220;Internet Explorer imposes a maximum limit of 32 imports that an individual </em><em>styleSheet object can hold, and a depth limit of three on the number of style sheets that may be included within the style sheet chain.&#8221;</em>)</p>
<p><strong>Update (3/27/08)</strong>: Apparently, IE doesn&#8217;t only impose a number of files limit &#8212; but even a file size limit for each CSS file. <a href="http://joshua.perina.com/africa/gambia/fajara/post/2008/1/25/internet-explorer-css-file-size-limit">The IE CSS file size limit seems to be ~288kb</a>. Again, Firefox doesn&#8217;t seem to have such limits. Way to go IE, for continuing screwing web developers up.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.agum.com/web/2008/03/11/internet-explorer-issue-maximum-of-32-css-import/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Special announcement: Badware is gone</title>
		<link>http://www.agum.com/web/2008/02/13/special-announcement-badware-is-gone/</link>
		<comments>http://www.agum.com/web/2008/02/13/special-announcement-badware-is-gone/#comments</comments>
		<pubDate>Wed, 13 Feb 2008 09:53:06 +0000</pubDate>
		<dc:creator>Bigi</dc:creator>
		
		<category><![CDATA[General]]></category>

		<guid isPermaLink="false">http://www.agum.com/web/2008/02/13/special-announcement-badware-is-gone/</guid>
		<description><![CDATA[So, I was checking my blog&#8217;s statistics and found it weird how it suddenly had so much fewer visitors and no traffic referral from Google for a couple of days.
Then I was reminded that my Wordpress hasn&#8217;t been updated in a while. So I ran a check in the source code of my blog for [...]]]></description>
			<content:encoded><![CDATA[<p>So, I was checking my blog&#8217;s statistics and found it weird how it suddenly had so much fewer visitors and no traffic referral from Google for a couple of days.</p>
<p>Then I was reminded that my Wordpress hasn&#8217;t been updated in a while. So I ran a check in the source code of my blog for some common hacks (usually an &lt;iframe&gt; code inserted somewhere), and guess what, I found some.</p>
<p>This lead to Google then listing my site as &#8220;harmful&#8221;. This is a special announcement entry to tell you all (however few regular readers I have) that the badware is removed, and Wordpress is updated to the latest and greatest.</p>
<p>This is also a post to tell you that, if you own a Wordpress blog running a version older than 2.3.2, you should update. More info could be found on <a href="http://wordpress.org/support/topic/151888">this Wordpress support thread</a>. I hope Google didn&#8217;t scare anyone off (especially potential new visitors of my blog) by saying it&#8217;s a harmful site. And I hope they do the review as soon as possible, as I submitted it for review arleady.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.agum.com/web/2008/02/13/special-announcement-badware-is-gone/feed/</wfw:commentRss>
		</item>
		<item>
		<title>PHP Web Applications Development &#8212; A Starter Tutorial</title>
		<link>http://www.agum.com/web/2007/12/18/php-web-applications-development-a-starter-tutorial/</link>
		<comments>http://www.agum.com/web/2007/12/18/php-web-applications-development-a-starter-tutorial/#comments</comments>
		<pubDate>Tue, 18 Dec 2007 09:16:15 +0000</pubDate>
		<dc:creator>Bigi</dc:creator>
		
		<category><![CDATA[General]]></category>

		<guid isPermaLink="false">http://www.agum.com/web/2007/12/18/php-web-applications-development-a-starter-tutorial/</guid>
		<description><![CDATA[This is a beginner&#8217;s guide to setting up an environment to start doing web applications development in PHP. If you are anything past the beginner level, this article may not be any beneficial to you at all; so you may stop reading here.
A friend of mine has recently requested me to write a starter tutorial [...]]]></description>
			<content:encoded><![CDATA[<p><u>This is a beginner&#8217;s guide to setting up an environment to start doing web applications development in PHP. If you are anything past the beginner level, this article may not be any beneficial to you at all; so you may stop reading here.</u></p>
<p>A friend of mine has recently requested me to write a starter tutorial for someone (presumably, who already has some programming experience and web site development experience, as he does) to start doing web applications development, particularly in PHP. I thought, hey, maybe I should just write it up here, since I haven&#8217;t written anything here for a while.</p>
<p>In this tutorial, I will cover some simple steps on how to setup a web server (Apache), PHP, and a database (MySQL) on your machine. In particular, I will assume the use of the Windows machine. Why? Honestly &#8212; if you&#8217;re operating Linux already, shouldn&#8217;t you know enough to be able to setup all that on your own? <img src='http://www.agum.com/web/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> I will also be writing some of my preferred methods of managing the server.</p>
<p><span id="more-24"></span><strong>Getting a Text Editor</strong></p>
<p>Before I get into anything, let me first talk about text editors. Throughout this tutorial, you will find several instances where you need to be editting configuration files. I recommend a text editor called <a href="http://www.textpad.com/">TextPad</a>. This editor deserves a lot more fame than it has. It is best text editor I&#8217;ve ever used. It&#8217;s not only good for normal editting, I even use it to code a lot of my PHP web applications. It has an unlimited free trial so if you are poor, this is the way to go. You can also always pay $32 to get rid of the nagging box that asks you to buy it.</p>
<p><strong>Installing Apache</strong></p>
<p>For PHP web applications in particular, the <a href="http://httpd.apache.org/">Apache HTTP server</a> is the server of choice. For Windows users who just need to install the web server, unless you need the source code of it for any reason, you can simply download the binary. This <a href="http://archive.apache.org/dist/httpd/binaries/win32/">Apache archive</a> contains what you need. Download the .msi file of the latest version (2.2.6 at the point of this writing). Apache insists you must also check your downloaded file against the .md5 code for security. (If you are just downloading it for personal use and testing on your local machine, I don&#8217;t think it&#8217;s necessary.) If you do want to be secure and run a md5 sum of your downloaded file, you can use this <a href="http://www.md5summer.org/">MD5summer</a> (since WinXP doesn&#8217;t have any md5 tool).</p>
<p>Installation of Apache is fairly straightforward. On Windows, you have the option of running it as a permanent process (on port 80), or running it per user (on port 8080 by default for this option). For any normal web server, port 80 is what is used. When you type in a URL (say, http://www.agum.com/), port 80 is assumed. You can also specify a port, such as http://www.agum.com:8080/. That is what will happen when you run it per user. Typically, if you are just using this as a developer machine, you should probably just use the 8080 option. Most other options can be left at default for a new developer.</p>
<p><strong>Configuring your web server</strong></p>
<p>Once installed, before you run the web server, the first thing you will want to know is how to configure your web server correctly. This is done by editting the httpd.conf file. This file is located at C:\Program Files\Apache Software Foundation\Apache2.2\conf\httpd.conf, assuming you installed Apache using the default location.</p>
<p>There are many things going on here, but here are a few things of interest, for a beginner.</p>
<ol>
<li>Find the line &#8220;Listen 8080&#8243;. On my file it&#8217;s line #53, so it should be near there. You can change the port number of your web server here if you need to, to pretty much anything (unused). Leaving it at 8080 is fine.</li>
<li>Find the line starting with &#8220;ServerName&#8221; (line #142 here). You can enter your IP address here, or you can enter a hostname if you have one. (places like <a href="http://www.dyndns.org">Dyndns.org</a> gives free hostnames you can use) If you are behind a router/firewall, and you are only going to be needing to test locally with no one else needing to access your server, it might be easiest just to use your LAN IP, or even 127.0.0.1, to save a lot of trouble with port forwarding on the router settings.</li>
<li><em>Now the most important</em>: the line with &#8220;DocumentRoot&#8221; (line #149 here). This is the location your files are served from. I have this on my test machine:<br />
DocumentRoot &#8220;C:/webserv&#8221;<br />
This means I have created a folder on C drive called &#8220;webserv&#8221;, and all my html files, image files, php files reside in there. After editting this line, you will also need to edit a line a little below it (line #177 here), it looks like this:<br />
&lt;Directory &#8220;C:/webserv&#8221;&gt;<br />
Obviously, you will want to use the same location for here.</li>
</ol>
<p>That should cover everything you might need to edit in the configuration. Now, you can run your web server to test it out. If you followed through the typical Windows installation, you can run it from Start -&gt; Program Files -&gt; Apache HTTP Server -&gt; Control Apache Server -&gt; Start Apache in Console. What this does is it will run httpd.exe with the default options. Don&#8217;t close that DOS prompt when you run the server. When you close it, Apache closes.</p>
<p>You can test to see if you have everything correct by going to http://127.0.0.1:8080/. It should show whatever you have in C:/webserv (if you have the same setup as me). Put an index.html file in there to try it out.</p>
<p><strong>Installing PHP</strong></p>
<p>When your web server is configured, the next step is to install PHP. <a href="http://www.php.net/downloads.php">Download PHP</a> first. Again, on Windows, you will just really need the Windows binaries. (you really won&#8217;t be needing to modify any PHP source, for a while..) You only need to download the one that says &#8220;PHP 5.2.5 installer [19,803Kb] - 15 November 2007&#8243; (at the time of this writing, this is the latest version.). You don&#8217;t need the PECL extension for now.</p>
<p>While installing PHP, you will run into a screen that asks you what extensions you&#8217;d like to install with PHP. Do not be intimidated by this huge list. For a lot of web applications, you don&#8217;t even need most of these. The ones that I do think will be needed are: gd2 (for manipulating images), mbstring (for handling foreign languag), mcrypt (encryption), mysql and mysqli (needed for using MySQL). You can pretty much just follow my recommendations if you have no clue what you&#8217;re doing.</p>
<p><strong>Configuring PHP</strong></p>
<p>Once installed, the configuration file of interest is C:\Program Files\PHP\php.ini. It&#8217;s a very long file, but there aren&#8217;t much that you need to pay special attention to. Here are a couple of items you&#8217;d want to look for:</p>
<ol>
<li>Look for the line: (line #117 here)<br />
engine = On<br />
Make sure it says on. There shouldn&#8217;t be any reason it would be off.</li>
<li>Shortly after that, find this line: (line #128 here)<br />
short_open_tag = On<br />
Make sure this one is on. This is actually important because many pre-built PHP scripts out there (if you are running any) use the short open tag.</li>
</ol>
<p>There isn&#8217;t much else you need to change. You can now test your PHP. Run your web server again the same way you did before. Put a test.php file in your C:/webserv folder. Put some test lines in there, like &lt;?php echo &#8216;Hello world.&#8217;; ?&gt;. See if it runs correctly.</p>
<p><strong>Running phpinfo()</strong></p>
<p>A good way to test out everything in your installation is <a href="http://us.php.net/phpinfo">phpinfo()</a>. It is a function provided by the PHP language. You can simply put this in a file:</p>
<p>&lt;?php<br />
phpinfo();<br />
?&gt;</p>
<p>And save it, then run it from your browser. You should see a very long page detailing all the configurations of your PHP setup and extensions.</p>
<p><strong>Installing MySQL</strong></p>
<p>You can <a href="http://dev.mysql.com/downloads/mysql/5.0.html#win32">download the MySQL 5.0 Windows binaries</a> here. The &#8220;Windows ZIP/Setup.EXE (x86)&#8221; option is probably the easiest to install. The installation will prompt you for several things, but should be quite straightforward. You can simply answer them based on how your machine will be used. (as a developer machine, only use part of the memory/cpu for the database, etc.)</p>
<p>One interesting thing I&#8217;ve noticed is that, after running through the installation, there is no place that asks you to set your admin password. I always use the way on the MySQL reference manual to <a href="http://dev.mysql.com/doc/refman/5.0/en/resetting-permissions.html">reset the password</a> after the installation.</p>
<p>The configuration file is at C:\Program Files\MySQL\MySQL Server 5.0\my.ini. However, there really isn&#8217;t anything you need to change in there, so I won&#8217;t be going through it.</p>
<p>Once my MySQL database is installed, I personally find it more convenient to have a quick shortcut to start my database, and to stop my database. Here they are.</p>
<p>Starting MySQL:<br />
&#8220;C:\Program Files\MySQL\MySQL Server 5.0\bin\mysqld.exe&#8221; &#8211;standalone</p>
<p>Stopping MySQL:<br />
&#8220;C:\Program Files\MySQL\MySQL Server 5.0\bin\mysqladmin.exe&#8221; -u root &#8211;password=1234 shutdown<br />
(where your password is 1234)</p>
<p>Make a shortcut containing those commands. Correct the paths if you need to. Then, whenever you need to start or stop the database, simply run these shortcuts.</p>
<p>To easily test out your MySQL database installation, you will need a PHP script that uses the database. The easiest way is to download phpMyAdmin.</p>
<p><strong>Installing phpMyAdmin</strong></p>
<p>The phpMyAdmin software basically lets you administer your database from a web interface. To clear out any confusion &#8212; if you are fluent with SQL commands, you can simply use the text-based MySQL client (mysql.exe) to do anything that you could do in phpMyAdmin. This software is only an interface, written in PHP, for you to do anything to your database  easily from your web browser. Installing it is optional.</p>
<p><a href="http://www.phpmyadmin.net/">Download phpMyAdmin</a>. (There is a Quick Downloads box near the top left) Once downloaded, simply unzip the package to your web server&#8217;s document root, which is C:/webserv in the examples I&#8217;ve been using above.</p>
<p>There are a few steps in setting up phpMyAdmin. At this point, I&#8217;m not sure if my friend needs to do this or not. I will continue this writing when I find out that he does. For now, I&#8217;d like to publish this article as soon as I could so I could help out.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.agum.com/web/2007/12/18/php-web-applications-development-a-starter-tutorial/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Facebook Applications</title>
		<link>http://www.agum.com/web/2007/09/16/facebook-applications/</link>
		<comments>http://www.agum.com/web/2007/09/16/facebook-applications/#comments</comments>
		<pubDate>Mon, 17 Sep 2007 06:19:44 +0000</pubDate>
		<dc:creator>Bigi</dc:creator>
		
		<category><![CDATA[Facebook apps]]></category>

		<category><![CDATA[General]]></category>

		<category><![CDATA[Web apps]]></category>

		<guid isPermaLink="false">http://www.agum.com/web/2007/09/16/facebook-applications/</guid>
		<description><![CDATA[The Facebook platform has been released for a while now, and believe you me, I&#8217;ve been doing development on it since day 1 of that until now, non-stop. I think I can say with fairly good confidence that I&#8217;m an expert Facebook developer in PHP.
Facebook applications originally provided something with very good potential, but unfortunately, [...]]]></description>
			<content:encoded><![CDATA[<p>The Facebook platform has been released for a while now, and believe you me, I&#8217;ve been doing development on it since day 1 of that until now, non-stop. I think I can say with fairly good confidence that I&#8217;m an expert Facebook developer in PHP.</p>
<p>Facebook applications originally provided something with very good potential, but unfortunately, it isn&#8217;t really working in the way I would hope it should.</p>
<p><span id="more-20"></span><br />
<strong>Usefulness vs triviality</strong></p>
<p>It is extremely unfortunate that majority of the Facebook applications that &#8220;succeeded&#8221; (currently) are entirely useless ones such as SuperPoke, X Me, SuperWall, and Top Friends. It is not hard to see how they succeeded.</p>
<p>Slide and RockYou apparently has some sort of partnership with Facebook (correct me if I&#8217;m wrong in this); they were able to push out some applications since day 1 of releasing the Facebook apps platform. They created these useless little apps, and made ways of spreading them (mainly the &#8220;Invite your friends&#8221; page when you first add the app).</p>
<p>Of course, now that everybody knows what that is, everybody just skips that page entirely. But when it first started, people actually invite other people through that.</p>
<p>Normally, an app getting popular, no matter what ways it used to accomplish that, isn&#8217;t really a problem. The main problem here lies in the fact that these apps are mostly useless trivial apps &#8212; look at SuperPoke, X Me, Free Gifts &#8212; they do nothing more than posting a message or an image on a friend&#8217;s profile. Top Friends has a little more to it than that, but also doesn&#8217;t have much practical uses other than generating hate from your <em>other</em> friends who didn&#8217;t get in your Top Friends list. (did anyone actually think of that when they add people to their top friends? I can&#8217;t believe how many people actually think Top Friends is cool. It destroys a lot more friendship than improving any.)</p>
<p>All of this gave a <em>really</em> bad example for new developers starting at this stuff. Other programmers see the success of these useless little apps, and they go ahead and make some too. It easily became the norm, then, to make trivial apps on Facebook. This in turn leads regular Facebook users to get used to the fact that Facebook apps aren&#8217;t to be taken seriously. It&#8217;s just fancy little toys to be added to your profile with no practical uses. Now, the only difference between Facebook Apps and the trash you see on MySpace is that Facebook Apps are more secure and more difficult to program for &#8212; other than that, there is no practical difference.</p>
<p>This is really, really sad because Facebook apps would have so much potential otherwise. Facebook could&#8217;ve pulled the a great part of web 2.0 applications into their platform if Slide and RockYou didn&#8217;t set such bad examples! The possibilities would&#8217;ve been endless.</p>
<p><strong>Before Facebook Apps</strong></p>
<p>Did you know that a Facebook development platform existed before Facebook released Facebook applications? You could develop third-party web applications (or even desktop applications!) using Facebook&#8217;s social network data to back you up. They would be standalone web sites, only having a Facebook login. All &#8220;Facebook Apps&#8221; did was to allow you to integrate your application into people&#8217;s profile boxes and provide you with a canvas page (which is mostly just an individual web site, for the most part).</p>
<p>Take a look at this: <a href="http://moochspot.com/">MoochSpot</a>. It lets you &#8220;keep track of debts and shared  		expenses with your friends&#8221;. Excellent idea, nicely done using the Facebook platform.</p>
<p>And you know what? That is what Facebook applications should have been like in the first place! Useful web 2.0 web apps integrated into Facebook. NOT trivial little toys to add to the Facebook profile.</p>
<p><strong>Another way to see it</strong></p>
<p>Perhaps, though, Facebook could help us partly solve this problem by fixing their Applications directory. Help those of us developers who actually invest development time into creating a serious application with practical uses, and help the users find out about these things.</p>
<p>Categorize Facebook Apps into two big categories &#8212; little toys and serious apps. Or better yet, just call little toys something different altogether, like &#8220;profile add-ons&#8221; or something. That is where stuff like SuperPoke, Top Friends belong. Facebook Apps should be where stuff like <a href="http://moochspot.com">MoochSpot</a> and <a href="http://www.goingifts.com">GoInGifts</a> belong. (That second one, by the way, is what my team has been developing in the past month. The Facebook app, not the standalone web site &#8212; that is just a temporary placeholder designed by some web designer.)</p>
<p><strong>Conclusion</strong></p>
<p>Of course, Facebook Apps are still young to really say anything about it significant at all. There could very well be major changes coming up within the year that makes it into something entirely different, maybe working like what I mentioned above. Even the Facebook platform itself isn&#8217;t in a stable state yet &#8212; changes are being made from their engineering team every week, stuff is getting added, removed, and updated all the time. Let&#8217;s hope for the best and hope that Facebook will eventually solve all this out, and not to make it like another MySpace.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.agum.com/web/2007/09/16/facebook-applications/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Where do you draw the line between designer and developer?</title>
		<link>http://www.agum.com/web/2007/08/03/where-do-you-draw-the-line-between-designer-and-developer/</link>
		<comments>http://www.agum.com/web/2007/08/03/where-do-you-draw-the-line-between-designer-and-developer/#comments</comments>
		<pubDate>Fri, 03 Aug 2007 08:56:15 +0000</pubDate>
		<dc:creator>Bigi</dc:creator>
		
		<category><![CDATA[General]]></category>

		<category><![CDATA[Web apps]]></category>

		<guid isPermaLink="false">http://www.agum.com/web/2007/08/03/where-do-you-draw-the-line-between-designer-and-developer/</guid>
		<description><![CDATA[As web 2.0 applications get more and more mature, the roles of web designers, web developers and web application developers become more and more blurry.
Years ago, web designers simply design web sites. They aren&#8217;t very different from traditional print designers. Sure, some of them might not only do the design, but also code up their [...]]]></description>
			<content:encoded><![CDATA[<p>As web 2.0 applications get more and more mature, the roles of web designers, web developers and web application developers become more and more blurry.</p>
<p>Years ago, web designers simply design web sites. They aren&#8217;t very different from traditional print designers. Sure, some of them might not only do the design, but also code up their designs in HTML. But a lot of times, web designers are only responsible for the visual designs, and they pass on their work to web developers to convert the visuals into actual web pages. Back then, there wasn&#8217;t even much of a term as &#8220;web application developer&#8221; &#8212; what is a web application in 1998? A form mail script? A guestbook? Nobody would do that for a living. Let&#8217;s rephrase that &#8212; you won&#8217;t make a living doing that.</p>
<p><span id="more-19"></span><br />
Now we enter the web 2.0 boom. Full-fledged web applications are being developed. <a href="http://www.meebo.com">Meebo</a> is my favorite example. And there&#8217;s Google Docs &amp; Spreadsheets, etc. How are applications developed? By programming, obviously. Just like desktop applications, web applications also have a backend programming element to it, as well as a frontend interface programming element. These are huge applications we are talking about &#8212; they are as large as or even larger on scale than desktop applications in the past!</p>
<p>Web applications backend programming is really not much different from traditional programming people have been doing since the beginning of time. (except maybe working with different languages &#8212; like PHP, Ruby on Rails now. But people still use Java and C++ too!) When we get to frontend, things get a bit different. We have new technologies like DOM scripting and AJAX. These technologies are still in sort of an infant stage. It really takes a tech-savvy person to bend them at will and do what you need to do. Heck, even writing standard XHTML and CSS and making sure they work across browsers is a challenge!</p>
<p>Needless to say, frontend development work has to be done by programmers as well. Here&#8217;s where the problem comes in. As we all know very well, programmers aren&#8217;t good designers. What this translates into is a whole bunch of web applications with badly designed interface. You could hire a designer to make things look good, but if an application has a bad interface, that makes it a bad application.</p>
<p>It takes a usability expert and/or a great UI designer to do this frontend work. Very often, the frontend programmer is not this person. Currently, the only solution to fix this problem is to hire somebody who is both a great UI designer and a programmer to do the frontend work. It certainly is a big challenge! There aren&#8217;t that many of them out there.</p>
<p>And we come back to the question. Where do you draw the line between designer and developer? I am a web application developer. A lot of times, however, I find myself having to take care of some aspects of the frontend design. So should I be considered a designer in addition? The designer at my company needs to learn some web apps programming in order to improve on her work. She needs to understand how AJAX works, how the DOM elements on the page work, in order to make her designs work. So is she a developer now?</p>
<p>Frontend applications development is an interesting job. It takes both good design knowledge and technical knowledge to do the job &#8212; an unusual duo. Frontend developers should really be more valuable than backend programmers, since old-school programmers are a dime a dozen. Why aren&#8217;t we getting paid more? <img src='http://www.agum.com/web/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /></p>
]]></content:encoded>
			<wfw:commentRss>http://www.agum.com/web/2007/08/03/where-do-you-draw-the-line-between-designer-and-developer/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Multiple Browsers Testing</title>
		<link>http://www.agum.com/web/2007/07/19/multiple-browsers-testing/</link>
		<comments>http://www.agum.com/web/2007/07/19/multiple-browsers-testing/#comments</comments>
		<pubDate>Thu, 19 Jul 2007 22:39:36 +0000</pubDate>
		<dc:creator>Bigi</dc:creator>
		
		<category><![CDATA[General]]></category>

		<category><![CDATA[Web apps]]></category>

		<guid isPermaLink="false">http://www.agum.com/web/2007/07/19/multiple-browsers-testing/</guid>
		<description><![CDATA[It&#8217;s been a while since I last posted something. I apologize for that, but I have been fairly busy in my job recently. So, this time I&#8217;m going to give you some useful information I&#8217;ve learned in my job lately.
It started from a time when one of my clients was using (are you ready for [...]]]></description>
			<content:encoded><![CDATA[<p>It&#8217;s been a while since I last posted something. I apologize for that, but I have been fairly busy in my job recently. So, this time I&#8217;m going to give you some useful information I&#8217;ve learned in my job lately.</p>
<p>It started from a time when one of my clients was using (are you ready for this) <em>Firefox 1.0</em>. If you are one of the unlucky souls who don&#8217;t understand the meaning of this &#8212; Firefox 1.5 had been the &#8220;standard&#8221; Firefox for about a year or more, and Firefox 2.0 has been out for at least a month or two (or more; and I&#8217;m not even the type who keeps myself that updated). He told me that the page didn&#8217;t look right and he was using Firefox, so I wondered for a while before finding out that he was on Firefox 1.0.</p>
<p>So I figured there is actually a need to install multiple versions of Firefox for testing. Surprise! There are actually ways to install multiple versions of Firefox as well as IE on your computer, without having multiple computers or doing any sorts of virtualization. Oh, and this guide is for Windows users. If you&#8217;re doing any sort of frontend design, Windows testing is your main target, no matter how much you like Mac or Linux yourself. <img src='http://www.agum.com/web/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p><span id="more-16"></span><strong>Installing Multiple Versions of Firefox</strong></p>
<p>I will try to make this your one-stop guide to doing this, so I will include every link you&#8217;ll need here. First of all, to give credit where it deserves, I first got my information from <a href="http://dojotoolkit.org/node/209">dojotoolkit.org</a>.</p>
<p>If you attempt to simply install all 3 versions of Firefox separately and run them normally, you will always only open the latest version you have installed, no matter which executable you run. By following these steps below, you can run Firefoxes 1.0, 1.5 and 2.0 side-by-side.</p>
<ol>
<li>First, to get old versions of Firefox, you should go to this <a href="http://www.oldversion.com/program.php?n=firefox">oldversion.com link</a>. Firefox versions older than 1.5 are not available on the official web site, so you will have to get 1.0 on third party archive sites. I recommend 1.0.7, that&#8217;s the one with the &#8220;latest&#8221; bug fixes from the 1.0 series. Note: As far as I know, rendering engines have no differences between subversions of 1.0 (or that of 1.5, or 2.0). So you only need to get the latest 1.0.</li>
<li>As for Firefox 1.5, at the time of this writing, it is still available on the <a href="http://www.mozilla.com/en-US/firefox/all-older.html">official Firefox site</a>. I recommend getting it from there, since they have the latest 1.5.0.12, versus the 1.5.0.7 on oldversion.com.</li>
<li>Run the installations for Firefox 1.5 and Firefox 1.0. Do not install them at C:\Program Files\Mozilla Firefox. Instead, rename the installation folder to Mozilla Firefox 1.5 (and 1.0). At the end of the installations, when asked if you want to launch the program, click No.</li>
<li>Go to the two respective installation folders, and rename the firefox.exe file in there to firefox1.5.exe and firefox1.0.exe correspondingly. This is not a required step, but I recommend it because you&#8217;ll able to tell their differences in Task Manager.</li>
<li>Then you need to create a .bat file for both of these versions. Make a new file called firefox1.5.bat (and firefox1.0.bat for the second one), and paste these lines in it. Of course, for the 1.0 version, change all the &#8220;1.5&#8243; occurrences below to &#8220;1.0&#8243;.
<pre>set MOZ_NO_REMOTE=1
start "Firefox" "C:\\Program Files\\Mozilla Firefox 1.5\\firefox1.5.exe" -P "Firefox1.5"
set MOZ_NO_REMOTE=0</pre>
</li>
<li>Run the .bat file. The first time you run it, Profile Manager will come up and ask you which profile to run with. Create a new profile with the respective name (&#8221;Firefox1.5&#8243; for version 1.5, and &#8220;Firefox1.0&#8243; for version 1.0, as it shows in the .bat file lines above).</li>
<li>When Firefox runs, you will have all new bookmarks and everything, and the About window tells you that you are on the right version. By using the .bat file, you can run all versions of Firefox at the same time. After running for the first time, you will not get the Profile Manager that asks you for profile anymore.</li>
<li>Lastly, I recommend creating a .bat file even for your latest (2.0) Firefox, for maximum clarification. Use the same file content shown above, but take out the &#8220;1.5&#8243; occurrences. For the profile name, use -P &#8220;default&#8221; instead.</li>
</ol>
<p>That&#8217;s it!</p>
<p><strong>Installing Multiple Versions of IE</strong></p>
<p>Doing this with IE is way simpler than with the Firefoxes, thanks to some kind folks who developed a program called MultipleIE.</p>
<ol>
<li>Install IE7. Yes, you may feel free to overwrite your IE6. You will get it back later, so don&#8217;t worry about it.</li>
<li>Go to <a href="http://tredosoft.com/Multiple_IE">Tredosoft</a> and download the Multiple IE software. Follow all instructions on the web site and on the setup program.</li>
<li>You&#8217;re done. <img src='http://www.agum.com/web/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> Did you expect more steps?</li>
</ol>
<p>Simple enough? <img src='http://www.agum.com/web/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p><strong>Conclusion</strong></p>
<p>Now, you have on your Windows PC Firefox 1.0, Firefox 1.5, Firefox 2.0 as well as IE versions from 3.0 to 7.0. As a good web developer (especially a frontend one), you should be testing for as many browsers as possible and make your code work for as many of them as you can. <a href="http://www.apple.com/safari/">Safari</a> and <a href="http://www.opera.com/">Opera</a> are other browsers you should consider supporting. (You no longer need a Mac to test for Safari! <img src='http://www.agum.com/web/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> )</p>
<p>There is also <a href="http://www.caminobrowser.org/">Camino</a>, but it uses the same rendering engine as Firefox, so you can assume your site will work with it as long as it works with Firefox. As a bit more information: Safari and Opera use their own rendering engines which are different from Firefox. However, both follow web standards (defined by the <a href="http://www.w3.org/">W3C</a>) pretty well, so most of the time you won&#8217;t get too frustrated with them. Internet Explorer is really the only one that likes to stray away from standards (even now in IE7), but it&#8217;s also the most commonly-used one. What can you do, right? <img src='http://www.agum.com/web/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /></p>
]]></content:encoded>
			<wfw:commentRss>http://www.agum.com/web/2007/07/19/multiple-browsers-testing/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Grand Opening</title>
		<link>http://www.agum.com/web/2007/05/17/grand-opening/</link>
		<comments>http://www.agum.com/web/2007/05/17/grand-opening/#comments</comments>
		<pubDate>Thu, 17 May 2007 08:33:47 +0000</pubDate>
		<dc:creator>Bigi</dc:creator>
		
		<category><![CDATA[General]]></category>

		<guid isPermaLink="false"></guid>
		<description><![CDATA[Hi everyone!
This is Bigi. It&#8217;s been a long time since I last owned a &#8220;public&#8221; blog - must&#8217;ve been a few years. The purpose of this particular one is to share what I find interesting in the topic of Web Development. When I say Web Development, it means everything from PHP, MySQL in the backend [...]]]></description>
			<content:encoded><![CDATA[<p>Hi everyone!</p>
<p>This is Bigi. It&#8217;s been a long time since I last owned a &#8220;public&#8221; blog - must&#8217;ve been a few years. The purpose of this particular one is to share what I find interesting in the topic of Web Development. When I say Web Development, it means everything from PHP, MySQL in the backend all the way to XHTML, CSS, JavaScript in the frontend.</p>
<p>I&#8217;m recently working on a project and I ran into many interesting things that I don&#8217;t want to just pass up without mentioning. It may be things you already know if you&#8217;re an expert, or it may be something you can learn from if you are a beginner, and it also just serves as a good record for myself to keep track of what kind of interesting things I&#8217;ve been picking up.</p>
<p>That&#8217;s all for the first entry. Any comments?</p>
]]></content:encoded>
			<wfw:commentRss>http://www.agum.com/web/2007/05/17/grand-opening/feed/</wfw:commentRss>
		</item>
	</channel>
</rss>

<!-- Dynamic Page Served (once) in 0.870 seconds -->
