<?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>gHacks technology news &#187; web development</title>
	<atom:link href="http://www.ghacks.net/tag/web-development/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.ghacks.net</link>
	<description>A technology blog covering software, mobile phones, gadgets, security, the Internet and other relevant areas.</description>
	<lastBuildDate>Wed, 25 Nov 2009 11:56:41 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.6</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Microsoft WebsiteSpark</title>
		<link>http://www.ghacks.net/2009/09/25/microsoft-websitespark/</link>
		<comments>http://www.ghacks.net/2009/09/25/microsoft-websitespark/#comments</comments>
		<pubDate>Fri, 25 Sep 2009 08:33:04 +0000</pubDate>
		<dc:creator>Martin</dc:creator>
				<category><![CDATA[Microsoft]]></category>
		<category><![CDATA[microsoft]]></category>
		<category><![CDATA[microsoft websitespark]]></category>
		<category><![CDATA[web design]]></category>
		<category><![CDATA[web development]]></category>
		<category><![CDATA[websitespark]]></category>

		<guid isPermaLink="false">http://www.ghacks.net/?p=16647</guid>
		<description><![CDATA[Microsoft WebsiteSpark is a new program by Microsoft that is offering small web development companies the opportunity to join the program for free to receive web development software and server software coupled with support, training and business opportunities. Web design companies with less than 10 members are eligible to join the program for up to [...]]]></description>
			<content:encoded><![CDATA[<p><img src="http://www.ghacks.net/wp-content/uploads/2009/09/microsoft_websitespark.jpg" alt="microsoft websitespark" title="microsoft websitespark" width="370" height="63" class="alignleft size-full wp-image-16648" />Microsoft WebsiteSpark is a new program by Microsoft that is offering small web development companies the opportunity to join the program for free to receive web development software and server software coupled with support, training and business opportunities. Web design companies with less than 10 members are eligible to join the program for up to three years at no costs except for a $100 exit fee. There are a few responsibilities for the web design companies including creating and maintaining a web profile at the Microsoft WebsiteSpark website and creating (and reporting) at least one website using the tools offered in the program in the first six months.</p>
<p><span id="more-16647"></span>Software offered by Microsoft includes:</p>
<ul>
<li>Visual Studio Professional  </li>
<li>Expression Studio 2 or 3 (1 user) and Expression Web 2 or 3 (up to 2 users)  </li>
<li>Windows Web Server 2008 or R2 (when available) </li>
<li>SQL Server 2008 Web Edition </li>
<li>Windows Web Server 2008 R2</li>
</ul>
<p>Webmasters and designers who are interested in joining the program can <a href="http://www.microsoft.com/web/websitespark/Default.aspx">visit</a> the Microsoft WebsiteSpark website to do so. The website offers a pdf document with detailed information on the program. It is probably a good idea to read thoroughly through it to get a better understanding of the requirements and responsibilities.</p>
<p>Microsoft WebsiteSpark can be beneficial to web design companies who are already using Microsoft software as they get the latest editions for free for the period of three years and do not have to make the switch from other software products. It could on the other hand be a good incentive for companies who would like to expand their services to include Microsoft services in their portfolio if they are not offering them already.</p>

	Tags: <a href="http://www.ghacks.net/tag/microsoft/" title="microsoft" rel="tag">microsoft</a>, <a href="http://www.ghacks.net/tag/microsoft-websitespark/" title="microsoft websitespark" rel="tag">microsoft websitespark</a>, <a href="http://www.ghacks.net/tag/web-design/" title="web design" rel="tag">web design</a>, <a href="http://www.ghacks.net/tag/web-development/" title="web development" rel="tag">web development</a>, <a href="http://www.ghacks.net/tag/websitespark/" title="websitespark" rel="tag">websitespark</a><br />

	<h4>Related posts</h4>
	<ul class="st-related-posts">
	<li><a href="http://www.ghacks.net/2009/03/24/mix09-session-recordings/" title="MIX09 Session Recordings (March 24, 2009)">MIX09 Session Recordings</a> (0)</li>
	<li><a href="http://www.ghacks.net/2009/03/09/scriptastique-web-development-roundup/" title="Scriptastique web development roundup (March 9, 2009)">Scriptastique web development roundup</a> (4)</li>
	<li><a href="http://www.ghacks.net/2009/04/22/webmaster-tools/" title="Indispensable Webmaster Tools And Resources (April 22, 2009)">Indispensable Webmaster Tools And Resources</a> (2)</li>
	<li><a href="http://www.ghacks.net/2009/07/11/a-standard-compliant-web-browser-and-editor-amaya/" title="A standard compliant web browser and editor: Amaya (July 11, 2009)">A standard compliant web browser and editor: Amaya</a> (2)</li>
	<li><a href="http://www.ghacks.net/2007/01/20/zune-does-not-allow-to-share-all-songs/" title="Zune does not allow to share all songs (January 20, 2007)">Zune does not allow to share all songs</a> (3)</li>
</ul>

]]></content:encoded>
			<wfw:commentRss>http://www.ghacks.net/2009/09/25/microsoft-websitespark/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>A standard compliant web browser and editor: Amaya</title>
		<link>http://www.ghacks.net/2009/07/11/a-standard-compliant-web-browser-and-editor-amaya/</link>
		<comments>http://www.ghacks.net/2009/07/11/a-standard-compliant-web-browser-and-editor-amaya/#comments</comments>
		<pubDate>Sat, 11 Jul 2009 18:18:57 +0000</pubDate>
		<dc:creator>Joe</dc:creator>
				<category><![CDATA[Web Development]]></category>
		<category><![CDATA[software]]></category>
		<category><![CDATA[Amaya]]></category>
		<category><![CDATA[html]]></category>
		<category><![CDATA[html editor]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[mac]]></category>
		<category><![CDATA[Open Source]]></category>
		<category><![CDATA[w3c]]></category>
		<category><![CDATA[web design]]></category>
		<category><![CDATA[web designer]]></category>
		<category><![CDATA[web development]]></category>
		<category><![CDATA[Windows]]></category>
		<category><![CDATA[wysiwyg]]></category>
		<category><![CDATA[wysiwyg editor]]></category>
		<category><![CDATA[xhtml]]></category>
		<category><![CDATA[xml]]></category>

		<guid isPermaLink="false">http://www.ghacks.net/?p=14311</guid>
		<description><![CDATA[Some web browsers don&#8217;t fully respect web standards and many WYSIWYG HTML editors produce absolutely revolting code. W3C set out standards as to how HTML (and XHTML etc) should appear and whilst some choose to ignore these, some are devoted to the following of these standards.
Sticking to standards can therefore lead to issues with certain [...]]]></description>
			<content:encoded><![CDATA[<p><img src="http://www.ghacks.net/wp-content/uploads/2009/07/amaya.png" alt="Amaya" width="177" height="133" class="alignleft size-full wp-image-14328" />Some web browsers don&#8217;t fully respect web standards and many WYSIWYG HTML editors produce absolutely revolting code. <a href="http://www.w3.org/">W3C</a> set out standards as to how HTML (and XHTML etc) should appear and whilst some choose to ignore these, some are devoted to the following of these standards.</p>
<p>Sticking to standards can therefore lead to issues with certain web browsers, which lack support for the latest tags or render pages wrong.</p>
<p>The W3C therefore has its own web browser and editor which adheres to standards more than many browsers and supports certain new technologies others don&#8217;t, such as RDF annotation. This browser is <a href="http://www.w3.org/Amaya/">Amaya</a>, an open-source and cross-platform browser.</p>
<p><span id="more-14311"></span>Amaya can handle a wide-range of open file formats, including HTML, CSS, XHTML, SVG and MathML.</p>
<p>The software integrates the browser and web editor: when you go to a web page, it can be edited inside the browser. It also instantly displays syntactic errors.</p>
<p>It also integrates the mark-up languages. For example, in a web page, one can write formulae utilising MathML or add SVG shapes inside the software.</p>
<p>Amaya is a reasonable WYSIWYG editor and a good web browser for developmental purposes. It is also good to produce rich web-pages, which include other pieces of mark-up than HTML.</p>

	Tags: <a href="http://www.ghacks.net/tag/amaya/" title="Amaya" rel="tag">Amaya</a>, <a href="http://www.ghacks.net/tag/html/" title="html" rel="tag">html</a>, <a href="http://www.ghacks.net/tag/html-editor/" title="html editor" rel="tag">html editor</a>, <a href="http://www.ghacks.net/tag/linux/" title="Linux" rel="tag">Linux</a>, <a href="http://www.ghacks.net/tag/mac/" title="mac" rel="tag">mac</a>, <a href="http://www.ghacks.net/tag/open-source/" title="Open Source" rel="tag">Open Source</a>, <a href="http://www.ghacks.net/tag/w3c/" title="w3c" rel="tag">w3c</a>, <a href="http://www.ghacks.net/tag/web-design/" title="web design" rel="tag">web design</a>, <a href="http://www.ghacks.net/tag/web-designer/" title="web designer" rel="tag">web designer</a>, <a href="http://www.ghacks.net/tag/web-development/" title="web development" rel="tag">web development</a>, <a href="http://www.ghacks.net/tag/windows/" title="Windows" rel="tag">Windows</a>, <a href="http://www.ghacks.net/tag/wysiwyg/" title="wysiwyg" rel="tag">wysiwyg</a>, <a href="http://www.ghacks.net/tag/wysiwyg-editor/" title="wysiwyg editor" rel="tag">wysiwyg editor</a>, <a href="http://www.ghacks.net/tag/xhtml/" title="xhtml" rel="tag">xhtml</a>, <a href="http://www.ghacks.net/tag/xml/" title="xml" rel="tag">xml</a><br />

	<h4>Related posts</h4>
	<ul class="st-related-posts">
	<li><a href="http://www.ghacks.net/2008/12/31/kompozer-a-free-open-source-and-half-decent-wysiwyg-web-editor/" title="KompoZer, a free, open-source and half-decent WYSIWYG web editor (December 31, 2008)">KompoZer, a free, open-source and half-decent WYSIWYG web editor</a> (3)</li>
	<li><a href="http://www.ghacks.net/2007/01/20/manage-your-tasks-with-task-coach/" title="Manage your Tasks with Task Coach (January 20, 2007)">Manage your Tasks with Task Coach</a> (3)</li>
	<li><a href="http://www.ghacks.net/2008/12/20/create-and-edit-vector-graphics-for-free/" title="Create and edit vector graphics for free (December 20, 2008)">Create and edit vector graphics for free</a> (10)</li>
	<li><a href="http://www.ghacks.net/2009/08/30/xml-escape-tool/" title="XML Escape Tool (August 30, 2009)">XML Escape Tool</a> (0)</li>
	<li><a href="http://www.ghacks.net/2007/02/10/virtualbox-a-vmware-alternative/" title="VirtualBox a Vmware alternative (February 10, 2007)">VirtualBox a Vmware alternative</a> (9)</li>
</ul>

]]></content:encoded>
			<wfw:commentRss>http://www.ghacks.net/2009/07/11/a-standard-compliant-web-browser-and-editor-amaya/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Mozilla Open Web Tools Directory</title>
		<link>http://www.ghacks.net/2009/07/07/mozilla-open-web-tools-directory/</link>
		<comments>http://www.ghacks.net/2009/07/07/mozilla-open-web-tools-directory/#comments</comments>
		<pubDate>Tue, 07 Jul 2009 11:30:42 +0000</pubDate>
		<dc:creator>Martin</dc:creator>
				<category><![CDATA[Browsing]]></category>
		<category><![CDATA[Web Development]]></category>
		<category><![CDATA[mozilla]]></category>
		<category><![CDATA[open web tools directory]]></category>
		<category><![CDATA[web browser]]></category>
		<category><![CDATA[web dev]]></category>
		<category><![CDATA[web development]]></category>
		<category><![CDATA[web tools]]></category>

		<guid isPermaLink="false">http://www.ghacks.net/?p=14193</guid>
		<description><![CDATA[The Mozilla team has launched the Open Web Tools Directory today which offers a variety of tools that can aid web developers in their projects. You are however wrong if you are now expecting a boring menu that looks like any other web directory that you visited over the past years. The Open Web Tools [...]]]></description>
			<content:encoded><![CDATA[<p><img src="http://www.ghacks.net/wp-content/uploads/2009/07/mozilla_labs.jpg" alt="mozilla labs" title="mozilla labs" width="295" height="70" class="alignleft size-full wp-image-14195" />The Mozilla team has launched the Open Web Tools Directory today which offers a variety of tools that can aid web developers in their projects. You are however wrong if you are now expecting a boring menu that looks like any other web directory that you visited over the past years. The Open Web Tools Directory is different from most web directories as it places icons of the web tools that have already been added to it on the screen with a tiny header and footer area that provide filters and offer additional information.</p>
<p>The benefit of this solution is that it allows to place more tools on the screen without forcing the user to scroll or change pages. The page will only load in web browsers supporting canvas which includes <a href="http://www.ghacks.net/tag/firefox/">Firefox</a>, <a href="http://www.ghacks.net/category/browsing/opera/">Opera</a> or Google Chrome for example while <a href="http://www.ghacks.net/tag/internet-explorer/">Internet Explorer</a> 8 (and likely all other Internet Explorer versions as well) throw an error and do not display the page.</p>
<p><span id="more-14193"></span><img src="http://www.ghacks.net/wp-content/uploads/2009/07/open_web_tools_directory-500x282.jpg" alt="open web tools directory" title="open web tools directory" width="500" height="282" class="alignnone size-medium wp-image-14194" /></p>
<p>There are obviously some negative aspects as well. Missing descriptions or information on the screen are probably the most noticeable ones. The only source of information are the icons. A click on an icon will display a hovering box that contains a short description and a link to the homepage. The problem here is that you need to click on each item that you do not know to receive information about it. It would have been better to display the information on the page or while hovering the mouse over the entry.</p>
<p>It is possible to filter the tools by category. Possible categories include debug, code, design or deploy. A search in the footer is available as well which can be used to find specific tools.</p>
<p>The team <a href="https://labs.mozilla.com/2009/07/open-web-tools-directory/">admits</a> that only a fraction of the tools are already listed on the website. Webmasters and developers can submit tools which are then reviewed by the team and put on the website if appropriate. They have also plans to create a generic website that is accessible by all web browsers. Web developers and interested users can visit the page <a href="http://tools.mozilla.com/">here</a>.</p>

	Tags: <a href="http://www.ghacks.net/tag/mozilla/" title="mozilla" rel="tag">mozilla</a>, <a href="http://www.ghacks.net/tag/open-web-tools-directory/" title="open web tools directory" rel="tag">open web tools directory</a>, <a href="http://www.ghacks.net/tag/web-browser/" title="web browser" rel="tag">web browser</a>, <a href="http://www.ghacks.net/tag/web-dev/" title="web dev" rel="tag">web dev</a>, <a href="http://www.ghacks.net/tag/web-development/" title="web development" rel="tag">web development</a>, <a href="http://www.ghacks.net/tag/web-tools/" title="web tools" rel="tag">web tools</a><br />

	<h4>Related posts</h4>
	<ul class="st-related-posts">
	<li><a href="http://www.ghacks.net/2009/04/10/web-development-widerbug-for-firefox/" title="Web Development: Widerbug For Firefox (April 10, 2009)">Web Development: Widerbug For Firefox</a> (8)</li>
	<li><a href="http://www.ghacks.net/2009/02/01/web-development-php-what-role-does-it-fill/" title="Web Development: PHP &#8211; what role does it fill (February 1, 2009)">Web Development: PHP &#8211; what role does it fill</a> (1)</li>
	<li><a href="http://www.ghacks.net/2009/04/23/web-browser-firefox-save-tabs-add-on/" title="Web Browser: Firefox Save Tabs Add-On (April 23, 2009)">Web Browser: Firefox Save Tabs Add-On</a> (1)</li>
	<li><a href="http://www.ghacks.net/2009/04/21/prepare-for-firefox-309/" title="Prepare For Firefox 3.0.9. (April 21, 2009)">Prepare For Firefox 3.0.9.</a> (4)</li>
	<li><a href="http://www.ghacks.net/2009/02/16/php-what-it-does-and-what-it-doesnt/" title="PHP &#8211; what it does and what it doesn&#8217;t (February 16, 2009)">PHP &#8211; what it does and what it doesn&#8217;t</a> (4)</li>
</ul>

]]></content:encoded>
			<wfw:commentRss>http://www.ghacks.net/2009/07/07/mozilla-open-web-tools-directory/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Benefits of Programming in Ruby</title>
		<link>http://www.ghacks.net/2009/07/06/benefits-of-programming-in-ruby/</link>
		<comments>http://www.ghacks.net/2009/07/06/benefits-of-programming-in-ruby/#comments</comments>
		<pubDate>Mon, 06 Jul 2009 06:54:09 +0000</pubDate>
		<dc:creator>Melanie</dc:creator>
				<category><![CDATA[Web Development]]></category>
		<category><![CDATA[coding]]></category>
		<category><![CDATA[internet]]></category>
		<category><![CDATA[programmning]]></category>
		<category><![CDATA[rails]]></category>
		<category><![CDATA[ruby]]></category>
		<category><![CDATA[ruby on rails]]></category>
		<category><![CDATA[web dev]]></category>
		<category><![CDATA[web development]]></category>

		<guid isPermaLink="false">http://www.ghacks.net/?p=14155</guid>
		<description><![CDATA[There are several programming languages that to-be programmers (or current programmers) can choose from. For first-time programmers, choosing a programming language can be difficult. There are many programming languages that are dying out, just aren&#8217;t popular, or are just generally hard to learn. It would be a shame for any first-time programmer to purchase books [...]]]></description>
			<content:encoded><![CDATA[<p><img src="http://www.ghacks.net/wp-content/uploads/2009/07/rails.png" alt="rails" title="rails" width="87" height="111" class="alignleft size-full wp-image-14156" />There are several programming languages that to-be programmers (or current programmers) can choose from. For first-time programmers, choosing a programming language can be difficult. There are many programming languages that are dying out, just aren&#8217;t popular, or are just generally hard to learn. It would be a shame for any first-time programmer to purchase books to learn a language to find that it is too difficult. It would also be a shame to learn a programming language that has no application at work. Ruby is a great programming language because it offers a great feature called Ruby on Rails. Rails is a web framework that can be used by programmers to speed up development. </p>
<p><span id="more-14155"></span>The programming language, Ruby, was created in the mid 1990’s in Japan, by Yukihiro &#8220;Matz&#8221; Matsumoto. Ruby is based on Perl, Smalltalk, Eiffel, Ada, and Lisp and was written to create a programming language that, according to Matsumoto, &#8220;was more powerful than Perl, and more object-oriented than Python.&#8221;</p>
<p>One of the goals of Ruby is to allow the simple and fast creation of web applications. The language itself satisfies this goal. Because of this, there is much less tedious work with this language than many other programming languages. Ruby is also free of charge. It is also free to copy, use, modify, and distribute. Since Ruby can be modified, programmers can make necessary changes and can code without feeling restricted. Another feature of Ruby is its mark-and-sweep garbage collection which allows programmers the ability to code without having to worry about the need to maintain reference counts in extension libraries. Also, if an operating system allows for it, Ruby can dynamically load extension libraries. Ruby currently ranks as the 9th most popular programming language in the world. There are many online guides where Ruby programmers to-be can learn how to program in Ruby.</p>
<p>Ruby on Rails, often simply called Rails, is an open source web application framework that was designed for Ruby by David Heinemeier Hansson and was released in July 2004. Ruby on Rails makes use of an object relational mapping layer known as the ActiveRecord. Because of this, programmers do not have to specify database column names in class definitions. Rails will retrieve this information on its own from the database based on the class name. Rails also has a testing framework built in which allows programmers to write test cases which helps them create more reliable, robust code.</p>

	Tags: <a href="http://www.ghacks.net/tag/coding/" title="coding" rel="tag">coding</a>, <a href="http://www.ghacks.net/tag/internet/" title="internet" rel="tag">internet</a>, <a href="http://www.ghacks.net/tag/programmning/" title="programmning" rel="tag">programmning</a>, <a href="http://www.ghacks.net/tag/rails/" title="rails" rel="tag">rails</a>, <a href="http://www.ghacks.net/tag/ruby/" title="ruby" rel="tag">ruby</a>, <a href="http://www.ghacks.net/tag/ruby-on-rails/" title="ruby on rails" rel="tag">ruby on rails</a>, <a href="http://www.ghacks.net/tag/web-dev/" title="web dev" rel="tag">web dev</a>, <a href="http://www.ghacks.net/tag/web-development/" title="web development" rel="tag">web development</a><br />

	<h4>Related posts</h4>
	<ul class="st-related-posts">
	<li><a href="http://www.ghacks.net/2009/02/01/web-development-php-what-role-does-it-fill/" title="Web Development: PHP &#8211; what role does it fill (February 1, 2009)">Web Development: PHP &#8211; what role does it fill</a> (1)</li>
	<li><a href="http://www.ghacks.net/2009/03/09/scriptastique-web-development-roundup/" title="Scriptastique web development roundup (March 9, 2009)">Scriptastique web development roundup</a> (4)</li>
	<li><a href="http://www.ghacks.net/2009/02/16/php-what-it-does-and-what-it-doesnt/" title="PHP &#8211; what it does and what it doesn&#8217;t (February 16, 2009)">PHP &#8211; what it does and what it doesn&#8217;t</a> (4)</li>
	<li><a href="http://www.ghacks.net/2009/07/07/mozilla-open-web-tools-directory/" title="Mozilla Open Web Tools Directory (July 7, 2009)">Mozilla Open Web Tools Directory</a> (1)</li>
	<li><a href="http://www.ghacks.net/2009/03/04/how-echo-works-in-php/" title="How echo works in PHP (March 4, 2009)">How echo works in PHP</a> (2)</li>
</ul>

]]></content:encoded>
			<wfw:commentRss>http://www.ghacks.net/2009/07/06/benefits-of-programming-in-ruby/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
		<item>
		<title>Web Development: Is Free Web Hosting Good Enough?</title>
		<link>http://www.ghacks.net/2009/06/11/web-development-is-free-web-hosting-good-enough/</link>
		<comments>http://www.ghacks.net/2009/06/11/web-development-is-free-web-hosting-good-enough/#comments</comments>
		<pubDate>Thu, 11 Jun 2009 12:19:29 +0000</pubDate>
		<dc:creator>webdev</dc:creator>
				<category><![CDATA[The Web]]></category>
		<category><![CDATA[Web Development]]></category>
		<category><![CDATA[free web hosting]]></category>
		<category><![CDATA[web development]]></category>
		<category><![CDATA[web host]]></category>
		<category><![CDATA[web hosting]]></category>
		<category><![CDATA[website]]></category>
		<category><![CDATA[website hosting]]></category>

		<guid isPermaLink="false">http://www.ghacks.net/?p=13444</guid>
		<description><![CDATA[If you have never set up a website, you probably have plenty of questions about how to do it. One question you might ask yourself is, “Why should I pay for web hosting when there are plenty of sites offering free web hosting?” It’s a perfectly valid question, especially if you don’t have a nice [...]]]></description>
			<content:encoded><![CDATA[<p>If you have never set up a website, you probably have plenty of questions about how to do it. One question you might ask yourself is, “Why should I pay for web hosting when there are plenty of sites offering free web hosting?” It’s a perfectly valid question, especially if you don’t have a nice big pot of venture capital to spend. </p>
<p>Once you have a written business plan, it’s time to do some research on which hosting firm is most suitable for your website. You will need to know, obviously, if you plan to sell products from your site, or if it will be strictly promotional. Do you plan to have video? Elaborate graphics? Or just text? Will your chosen host provider help you set up your web site? How many email accounts will you need?</p>
<p><span id="more-13444"></span>There are a number of things you need to know about the hosting companies you choose among. Perhaps the main thing is how reliable their service is. If you have a business website, you can’t afford for it to have downtime. After all, it’s always normal business hours somewhere. Closely tied to the need for reliability is the need for technical support. Many hosting services say that they have so-called 24/7/365 tech support, but their definition of what that comprises may be different from yours. You don’t want to find out the hard way that calling tech support late at night or on a holiday only gets you to an answering machine and that you’ll have to wait for regular business to resume before getting any actual help.</p>
<p>Of course you should ask your candidate hosting companies directly about these things, but you should do something else too. There are forums all over the Internet where people will meet online to talk about such issues. Read these discussion threads. Ask questions. You should be able to get a more objective assessment of an Internet hosting provider than you would from the company itself.<br />
There are, however, two things you should be aware of. The first thing is that every web hosting company that’s been around for any length of time will have some negative feedback. One or two rants about a certain hosting company shouldn’t put you off. It is possible that the user was the one with the problem, and it is also possible that the company has fixed the problem. </p>
<p>The other thing you should know when reading forums is that sometimes hosting companies plant people on them to say good things about them. The rule of thumb should be: discount the overly positive posts on a company, and discount the overly negative, too. Any post filled with capital letters and exclamation marks is suspect. Take your information from the saner posts you come across, and if you’re allowed to join a forum, don’t hesitate to ask questions, particularly about free web hosting companies.</p>
<p>The reason these companies are able to offer free hosting is that they will run ads on your site. These might be unobtrusive ad links, or they may be pop-ups, or they may be the really annoying ads that follow the reader as he or she scrolls down the page. You have to decide if you can live with the annoyance, and if you think your customers will stick around long enough to buy something.<br />
The obvious advantage of free web hosting services is price. You won’t have to register a domain name or pay for hosting. A free web page can serve as a training site for you as you learn how you want your site to look, or test out new promotions. There are free services like sitemeter.com that will gather basic statistics on your site that can give you valuable information on your visitors. You can find out where most of your visitors come from, what time of day they visit, and how many page views they amass.</p>
<p>You could, if you had the time and motivation, use multiple free hosting providers to set up your site, and then monitor all of them to see if one outperforms the rest. You will likely see differences in the different hosts, and quickly learn which ones are the easiest to work with. You may find that one hosting company gets your site indexed by search engines sooner, and therefore drives more traffic to your site.</p>
<p>Or you may decide that free web hosting just isn’t going to be good enough. All you will have lost is time.</p>
<p>The biggest disadvantage to free web hosting is the ads cluttering up the site. Many visitors are turned off by pop-ups that suddenly materialize as they try to enter or leave your site. And a few will click on those ads and leave your site without looking at anything at all.</p>
<p>Even if you eventually choose paid web hosting for the control it gives you over your site, the free websites you set up may still work to your advantage. You never know where your web traffic will come from. Some of it might come through an old free site you set up when you were just starting out. So, while free website hosting may serve you well as you learn how to be a webmaster, if you have any kind of e-commerce function, you’ll almost certainly want to switch to paid hosting at some point.</p>
<p>But if you’re broke and just starting out, or just learning the basics of having your own web site, then free hosting providers may be exactly the right thing for you.</p>

	Tags: <a href="http://www.ghacks.net/tag/free-web-hosting/" title="free web hosting" rel="tag">free web hosting</a>, <a href="http://www.ghacks.net/tag/web-development/" title="web development" rel="tag">web development</a>, <a href="http://www.ghacks.net/tag/web-host/" title="web host" rel="tag">web host</a>, <a href="http://www.ghacks.net/tag/web-hosting/" title="web hosting" rel="tag">web hosting</a>, <a href="http://www.ghacks.net/tag/website/" title="website" rel="tag">website</a>, <a href="http://www.ghacks.net/tag/website-hosting/" title="website hosting" rel="tag">website hosting</a><br />

	<h4>Related posts</h4>
	<ul class="st-related-posts">
	<li><a href="http://www.ghacks.net/2009/06/12/what-you-really-need-to-know-about-choosing-a-web-host/" title="What you Really Need to Know about Choosing a Web Host (June 12, 2009)">What you Really Need to Know about Choosing a Web Host</a> (10)</li>
	<li><a href="http://www.ghacks.net/2009/06/13/using-a-web-hosting-directory-can-aid-your-search-for-a-host/" title="Using a Web Hosting Directory can Aid your Search for a Host (June 13, 2009)">Using a Web Hosting Directory can Aid your Search for a Host</a> (3)</li>
	<li><a href="http://www.ghacks.net/2009/06/15/choosing-a-web-hosting-company-that%e2%80%99s-right-for-you/" title="Choosing a Web Hosting Company that’s Right for You (June 15, 2009)">Choosing a Web Hosting Company that’s Right for You</a> (6)</li>
	<li><a href="http://www.ghacks.net/2009/10/26/yahoo-terminating-geocities/" title="Yahoo Terminating Geocities (October 26, 2009)">Yahoo Terminating Geocities</a> (6)</li>
	<li><a href="http://www.ghacks.net/2008/08/27/stay-away-from-dreamhost/" title="Stay Away From Dreamhost (August 27, 2008)">Stay Away From Dreamhost</a> (16)</li>
</ul>

]]></content:encoded>
			<wfw:commentRss>http://www.ghacks.net/2009/06/11/web-development-is-free-web-hosting-good-enough/feed/</wfw:commentRss>
		<slash:comments>12</slash:comments>
		</item>
		<item>
		<title>Web Development: Realtime Fonts Changer</title>
		<link>http://www.ghacks.net/2009/05/29/web-development-realtime-fonts-changer/</link>
		<comments>http://www.ghacks.net/2009/05/29/web-development-realtime-fonts-changer/#comments</comments>
		<pubDate>Fri, 29 May 2009 18:44:19 +0000</pubDate>
		<dc:creator>Martin</dc:creator>
				<category><![CDATA[Web Development]]></category>
		<category><![CDATA[font]]></category>
		<category><![CDATA[font friend]]></category>
		<category><![CDATA[font selector]]></category>
		<category><![CDATA[fonts]]></category>
		<category><![CDATA[fonts changer]]></category>
		<category><![CDATA[web development]]></category>
		<category><![CDATA[webmaster]]></category>
		<category><![CDATA[website development]]></category>

		<guid isPermaLink="false">http://www.ghacks.net/2009/05/29/web-development-realtime-fonts-changer/</guid>
		<description><![CDATA[Selecting the right font and font characteristics can be quite a daunting task. The information are usually defined in a CSS file that needs to be edited multiple times until the right font selection has been made. Another problem that might occur is caching that might require the webmaster to delete the web browser cache [...]]]></description>
			<content:encoded><![CDATA[<p>Selecting the right font and font characteristics can be quite a daunting task. The information are usually defined in a CSS file that needs to be edited multiple times until the right font selection has been made. Another problem that might occur is caching that might require the webmaster to delete the web browser cache or server cache before the changes become visible on the website.</p>
<p>Not so with <a href="http://somadesign.ca/projects/fontfriend/">Font Friend</a>, a bookmarklet that simplifies the font selection process greatly. A click on the bookmarklet on any website will display it in an overlay in the lower left corner of the browser window. The font selector can be used to change various characteristics of the fonts used on a website. The options are divided into font family, font variant, font weight, text transform and a html element selector.</p>
<p><span id="more-13159"></span><img src="http://www.ghacks.net/wp-content/uploads/2009/05/fonts-500x314.jpg" alt="fonts" title="fonts" width="500" height="314" class="alignnone size-medium wp-image-13158" /></p>
<p>The html element selector defines the elements on the page that will be affected by the font change. Included are headline tags, body, paragraphs and the option to select a custom element.</p>
<p>The font family offers a selection of 23 different font families including the popular families arial, verdana, times new roman and georgia. Font variants can further change the appearance of the fonts on the active website.</p>
<p>Webmasters who are currently testing various fonts for their website might want to check out the bookmarklet which can be simply added to the bookmarks and executed by left-clicking it on the right website.</p>

	Tags: <a href="http://www.ghacks.net/tag/font/" title="font" rel="tag">font</a>, <a href="http://www.ghacks.net/tag/font-friend/" title="font friend" rel="tag">font friend</a>, <a href="http://www.ghacks.net/tag/font-selector/" title="font selector" rel="tag">font selector</a>, <a href="http://www.ghacks.net/tag/fonts/" title="fonts" rel="tag">fonts</a>, <a href="http://www.ghacks.net/tag/fonts-changer/" title="fonts changer" rel="tag">fonts changer</a>, <a href="http://www.ghacks.net/tag/web-development/" title="web development" rel="tag">web development</a>, <a href="http://www.ghacks.net/tag/webmaster/" title="webmaster" rel="tag">webmaster</a>, <a href="http://www.ghacks.net/tag/website-development/" title="website development" rel="tag">website development</a><br />

	<h4>Related posts</h4>
	<ul class="st-related-posts">
	<li><a href="http://www.ghacks.net/2009/02/02/ghacks-web-development-pdf-article-compilation-january-09/" title="Ghacks Web Development PDF Article Compilation January 09 (February 2, 2009)">Ghacks Web Development PDF Article Compilation January 09</a> (6)</li>
	<li><a href="http://www.ghacks.net/2009/04/10/web-development-widerbug-for-firefox/" title="Web Development: Widerbug For Firefox (April 10, 2009)">Web Development: Widerbug For Firefox</a> (8)</li>
	<li><a href="http://www.ghacks.net/2009/02/01/web-development-php-what-role-does-it-fill/" title="Web Development: PHP &#8211; what role does it fill (February 1, 2009)">Web Development: PHP &#8211; what role does it fill</a> (1)</li>
	<li><a href="http://www.ghacks.net/2009/01/31/web-development-html-playground/" title="Web Development: HTML Playground (January 31, 2009)">Web Development: HTML Playground</a> (7)</li>
	<li><a href="http://www.ghacks.net/2009/02/16/php-what-it-does-and-what-it-doesnt/" title="PHP &#8211; what it does and what it doesn&#8217;t (February 16, 2009)">PHP &#8211; what it does and what it doesn&#8217;t</a> (4)</li>
</ul>

]]></content:encoded>
			<wfw:commentRss>http://www.ghacks.net/2009/05/29/web-development-realtime-fonts-changer/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Display Cached RSS Feed In Your Website</title>
		<link>http://www.ghacks.net/2009/05/06/display-cached-rss-feed-in-your-website/</link>
		<comments>http://www.ghacks.net/2009/05/06/display-cached-rss-feed-in-your-website/#comments</comments>
		<pubDate>Wed, 06 May 2009 11:44:23 +0000</pubDate>
		<dc:creator>Martin</dc:creator>
				<category><![CDATA[Web Development]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[rss feed]]></category>
		<category><![CDATA[simplepie]]></category>
		<category><![CDATA[web dev]]></category>
		<category><![CDATA[web development]]></category>
		<category><![CDATA[websites]]></category>

		<guid isPermaLink="false">http://www.ghacks.net/?p=12615</guid>
		<description><![CDATA[You might remember the announcement of our new web project Appnews which basically displays software updates in a friendly easily accessible way. What I wanted to do now is to display the five newest items of the RSS feed in the sidebar of this blog to both promote the appnews service but also provide a [...]]]></description>
			<content:encoded><![CDATA[<p><img src="http://www.ghacks.net/wp-content/uploads/2009/05/rss.jpg" alt="rss" title="rss" width="128" height="128" class="alignleft size-full wp-image-12614" />You might remember the announcement of our new web project <a href="http://www.appnews.net/">Appnews</a> which basically displays software updates in a friendly easily accessible way. What I wanted to do now is to display the five newest items of the RSS feed in the sidebar of this blog to both promote the appnews service but also provide a new service to my readers as they would be able to see the software updates immediately in the sidebar. What I needed was a high traffic friendly way of displaying the RSS feed and that meant caching. Without caching the script would request the contents on every page hit which would slow down the web server tremendously.</p>
<p><span id="more-12615"></span>One of the better scripts to display cached RSS feeds in a website is SimplePie. It might look a bit intimidating at first glance as it provides lots of options to customize the display. It is however very easy to display a feed with just a few lines of code. Start by downloading <a href="http://simplepie.org/">SimplePie</a> from the website. Extract it to the computer system and upload it to the root folder of the website. You should also create a directory called <em>cache</em> in that root folder and make it writeable (chmod to 777).</p>
<p>Now add the following two lines to the top of the php file where you want to display the feed in. The first line defines the location of the simplepie.inc file on the web server (which is in the simplepie directory in root), the second the feed that you want to display on the website.</p>
<p><code>&lt;?php <br />
include_once $_SERVER['DOCUMENT_ROOT'] . '/simplepie/simplepie.inc'; <br />
$feed = new SimplePie('http://feedproxy.google.com/Ghacksnet');<br />
?&gt;</code></p>
<p>Now place the following code in the location on the website where the feed should be displayed. This will fetch the five newest feed items and display them in the selected location.</p>
<p><code>&lt;ul&gt;<br />
&lt;?php foreach ($feed-&gt;get_items(0, 5) as $item): ?&gt;<br />
    &lt;li&gt;<br />
        &lt;a href=&quot;&lt;?php print $item-&gt;get_permalink(); ?&gt;&quot;&gt;<br />
        &lt;?php print $item-&gt;get_title(); ?&gt;&lt;/a&gt;<br />
    &lt;/li&gt;<br />
&lt;?php endforeach; ?&gt;<br />
&lt;/ul&gt;</code></p>
<p>And that&#8217;s it. SimplePie offers a wealth of additional functions and settings to display more than one feed or mix feeds. The default caching time is 60 minutes.</p>

	Tags: <a href="http://www.ghacks.net/tag/php/" title="php" rel="tag">php</a>, <a href="http://www.ghacks.net/tag/rss-feed/" title="rss feed" rel="tag">rss feed</a>, <a href="http://www.ghacks.net/tag/simplepie/" title="simplepie" rel="tag">simplepie</a>, <a href="http://www.ghacks.net/tag/web-dev/" title="web dev" rel="tag">web dev</a>, <a href="http://www.ghacks.net/tag/web-development/" title="web development" rel="tag">web development</a>, <a href="http://www.ghacks.net/tag/websites/" title="websites" rel="tag">websites</a><br />

	<h4>Related posts</h4>
	<ul class="st-related-posts">
	<li><a href="http://www.ghacks.net/2009/02/01/web-development-php-what-role-does-it-fill/" title="Web Development: PHP &#8211; what role does it fill (February 1, 2009)">Web Development: PHP &#8211; what role does it fill</a> (1)</li>
	<li><a href="http://www.ghacks.net/2009/02/16/php-what-it-does-and-what-it-doesnt/" title="PHP &#8211; what it does and what it doesn&#8217;t (February 16, 2009)">PHP &#8211; what it does and what it doesn&#8217;t</a> (4)</li>
	<li><a href="http://www.ghacks.net/2009/03/16/web-development-roundup/" title="Web development roundup (March 16, 2009)">Web development roundup</a> (1)</li>
	<li><a href="http://www.ghacks.net/2009/03/09/scriptastique-web-development-roundup/" title="Scriptastique web development roundup (March 9, 2009)">Scriptastique web development roundup</a> (4)</li>
	<li><a href="http://www.ghacks.net/2008/10/26/publish-rss-news-feeds-on-twitter/" title="Publish RSS News Feeds On Twitter (October 26, 2008)">Publish RSS News Feeds On Twitter</a> (6)</li>
</ul>

]]></content:encoded>
			<wfw:commentRss>http://www.ghacks.net/2009/05/06/display-cached-rss-feed-in-your-website/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Indispensable Webmaster Tools And Resources</title>
		<link>http://www.ghacks.net/2009/04/22/webmaster-tools/</link>
		<comments>http://www.ghacks.net/2009/04/22/webmaster-tools/#comments</comments>
		<pubDate>Wed, 22 Apr 2009 08:20:36 +0000</pubDate>
		<dc:creator>Martin</dc:creator>
				<category><![CDATA[Web Development]]></category>
		<category><![CDATA[web design]]></category>
		<category><![CDATA[web development]]></category>
		<category><![CDATA[webmaster]]></category>
		<category><![CDATA[webmaster tool]]></category>
		<category><![CDATA[webmaster tools]]></category>

		<guid isPermaLink="false">http://www.ghacks.net/?p=12255</guid>
		<description><![CDATA[If you are running a website, be it as a hobby, semi-professional or professional you need to know some tools of the trade. Webmaster tools can help the webmaster in many different areas like verifying that the website will display fine in all modern web browsers or ensuring that the search engines do not encounter [...]]]></description>
			<content:encoded><![CDATA[<p><img src="http://www.ghacks.net/wp-content/uploads/2009/04/webmaster_tool.jpg" alt="webmaster tool" title="webmaster tool" width="100" height="86" class="alignleft size-full wp-image-12251" />If you are running a website, be it as a hobby, semi-professional or professional you need to know some tools of the trade. Webmaster tools can help the webmaster in many different areas like verifying that the website will display fine in all modern web browsers or ensuring that the search engines do not encounter problems crawling and indexing it.</p>
<p><span id="more-12255"></span>The following list is a collection of webmaster tools that should help most webmasters. Many would consider them basic tools that every webmaster should know and use. Most of the tools are accessible from all operating systems and web browsers.</p>
<p><strong>Google, Yahoo and Microsoft Webmaster Tools</strong></p>
<p>Each of the three major search engines provides access to webmaster tools. These tools might require an account but will display all kind of information about the website that is related to the specific search engine. This includes crawling errors, statistics about indexed pages, sitemaps and troubleshooting help. </p>
<p><a href="https://www.google.com/accounts/ServiceLogin?service=sitemaps&#038;passive=true&#038;nui=1&#038;continue=https%3A%2F%2Fwww.google.com%2Fwebmasters%2Ftools%2Fdashboard&#038;followup=https%3A%2F%2Fwww.google.com%2Fwebmasters%2Ftools%2Fdashboard&#038;hl=en">Google Webmaster Tools</a><br />
<a href="http://webmaster.live.com/">Live</a><br />
<a href="https://siteexplorer.search.yahoo.com/">Yahoo Site Explorer</a></p>
<p><img src="http://www.ghacks.net/wp-content/uploads/2009/04/google_webmaster_tools-500x318.jpg" alt="google webmaster tools" title="google webmaster tools" width="500" height="318" class="alignnone size-medium wp-image-12254" /></p>
<p><strong>Markup Validation Service</strong></p>
<p>The W3C Markup Validation services checks the syntax of webpages. It will report syntax errors which the webmaster should fix as soon as possible as invalid markup can lead to all sorts of problems including browser crashes, broken design or missing elements. It is a good idea to check the source check box on the page which will display the source code of the webpage which makes it way easier to locate the erroneous syntax.</p>
<p><a href="http://validator.w3.org/">W3C Markup Validation Service</a></p>
<p><img src="http://www.ghacks.net/wp-content/uploads/2009/04/webmaster_tools-500x250.jpg" alt="webmaster tools" title="webmaster tools" width="500" height="250" class="alignnone size-medium wp-image-12252" /></p>
<p><img src="http://www.ghacks.net/wp-content/uploads/2009/04/markup_validation-500x188.jpg" alt="markup validation" title="markup validation" width="500" height="188" class="alignnone size-medium wp-image-12253" /></p>
<p><strong>Web Browsers</strong></p>
<p>Testing websites in different web browsers is a must for every webmaster. What displays fine in <a href="http://www.ghacks.net/tag/internet-explorer/">Internet Explorer</a> can throw up error messages in <a href="http://www.ghacks.net/category/browsing/opera/">Opera</a> or <a href="http://www.ghacks.net/tag/firefox/">Firefox</a>.</p>
<p><a href="http://www.mozilla.com/en-US/firefox/personal.html">Firefox</a><br />
<a href="http://www.google.com/chrome">Google Chrome</a><br />
<a href="http://www.microsoft.com/windows/products/winfamily/ie/default.mspx">Internet Explorer</a><br />
<a href="http://www.opera.com/">Opera</a><br />
<a href="http://www.apple.com/safari/">Safari</a></p>
<p><strong>Web Statistics</strong></p>
<p>Web Statistics are tools that record and analyze traffic that is arriving at a website. These tools provide extensive information about visitors (where do they come from, which pages did they access, how long did they stay), referring websites, errors and additional information. Webmasters have the choice to install a third party tracking code or run a web statistics script on their server directly. Running a third party tool will decrease the load on the server as no processing power is needed to crawl and analyze the access logs. Their disadvantage is that a piece of JavaScript has to be loaded on every user request which increases page loading times. It also means that data about the traffic is available at a third party site.</p>
<p><a href="http://awstats.sourceforge.net/">AWStats</a> (Server)<br />
<a href="http://www.google.com/analytics/">Google Analytics</a> (Third Party)<br />
<a href="http://www.sitemeter.com/">Sitemeter</a> (Third Party)</p>
<p>Resources:</p>
<p><strong>Robots.txt</strong></p>
<p>Robots.txt files can be used to guide search engine bots on a website. They can allow or prevent access to certain files and directories.</p>
<p>Robots.txt</p>
<p><strong>.htaccess</strong></p>
<p>Htacess is a very powerful configuration option included in Apache web servers. It can be used to do various things like password protecting directories or redirecting 404 pages to another page.</p>
<p><a href="http://www.askapache.com/htaccess/apache-htaccess.html">.htaccess</a></p>
<p><strong>Firebug</strong></p>
<p>If there was one Firefox add-on that webmasters could use they would certainly pick Firebug. The add-on can be used to display realtime information about the active website in the web browser. Webmasters can select elements on the website to be taken directly to the code that is creating that element including its CSS properties. It can also be used to monitor network activity and to debug JavaScript. Several extensions are available for the add-on to increase the functionality further.</p>
<p><a href="http://getfirebug.com/extensions/index.html">Firebug</a> (requires Firefox)</p>
<p><img src="http://www.ghacks.net/wp-content/uploads/2009/04/firebug_web_development-500x227.gif" alt="firebug web development" title="firebug web development" width="500" height="227" class="alignnone size-medium wp-image-12256" /></p>
<p><strong>Selenium</strong></p>
<p>Selenium is a web application testing system for the Firefox web browser that can be configured to perform clicks, typing and other actions on the website which can be played back at a later time using variables like different web browsers or languages.</p>
<p><a href="http://www.openqa.org/selenium/">Selenium</a> (requires Firefox)</p>
<p>If you can think of any other resources that are missing in this list let us know.</p>

	Tags: <a href="http://www.ghacks.net/tag/web-design/" title="web design" rel="tag">web design</a>, <a href="http://www.ghacks.net/tag/web-development/" title="web development" rel="tag">web development</a>, <a href="http://www.ghacks.net/tag/webmaster/" title="webmaster" rel="tag">webmaster</a>, <a href="http://www.ghacks.net/tag/webmaster-tool/" title="webmaster tool" rel="tag">webmaster tool</a>, <a href="http://www.ghacks.net/tag/webmaster-tools/" title="webmaster tools" rel="tag">webmaster tools</a><br />

	<h4>Related posts</h4>
	<ul class="st-related-posts">
	<li><a href="http://www.ghacks.net/2009/05/29/web-development-realtime-fonts-changer/" title="Web Development: Realtime Fonts Changer (May 29, 2009)">Web Development: Realtime Fonts Changer</a> (1)</li>
	<li><a href="http://www.ghacks.net/2009/03/09/scriptastique-web-development-roundup/" title="Scriptastique web development roundup (March 9, 2009)">Scriptastique web development roundup</a> (4)</li>
	<li><a href="http://www.ghacks.net/2009/03/24/mix09-session-recordings/" title="MIX09 Session Recordings (March 24, 2009)">MIX09 Session Recordings</a> (0)</li>
	<li><a href="http://www.ghacks.net/2009/09/25/microsoft-websitespark/" title="Microsoft WebsiteSpark (September 25, 2009)">Microsoft WebsiteSpark</a> (2)</li>
	<li><a href="http://www.ghacks.net/2009/02/02/ghacks-web-development-pdf-article-compilation-january-09/" title="Ghacks Web Development PDF Article Compilation January 09 (February 2, 2009)">Ghacks Web Development PDF Article Compilation January 09</a> (6)</li>
</ul>

]]></content:encoded>
			<wfw:commentRss>http://www.ghacks.net/2009/04/22/webmaster-tools/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Web Development: Widerbug For Firefox</title>
		<link>http://www.ghacks.net/2009/04/10/web-development-widerbug-for-firefox/</link>
		<comments>http://www.ghacks.net/2009/04/10/web-development-widerbug-for-firefox/#comments</comments>
		<pubDate>Fri, 10 Apr 2009 09:11:43 +0000</pubDate>
		<dc:creator>Martin</dc:creator>
				<category><![CDATA[Browsing]]></category>
		<category><![CDATA[firefox]]></category>
		<category><![CDATA[firebug]]></category>
		<category><![CDATA[firefox-add on]]></category>
		<category><![CDATA[firefox-extension]]></category>
		<category><![CDATA[web browser]]></category>
		<category><![CDATA[web development]]></category>
		<category><![CDATA[website development]]></category>
		<category><![CDATA[widerbug]]></category>

		<guid isPermaLink="false">http://www.ghacks.net/?p=11865</guid>
		<description><![CDATA[Firebug is a very popular extension for the Firefox web browser that allows web developers to access loads of information about any website that they work on. Among the information are the objects that get transferred, detailed CSS and HTML information, JavaScript debugging and more. The Firebug extension divides the screen in an upper and [...]]]></description>
			<content:encoded><![CDATA[<p><img src="http://www.ghacks.net/wp-content/uploads/2009/04/web_development.jpg" alt="web development" title="web development" width="100" height="90" class="alignleft size-full wp-image-11863" />Firebug is a very popular extension for the <a href="http://www.ghacks.net/tag/firefox/">Firefox</a> web browser that allows web developers to access loads of information about any website that they work on. Among the information are the objects that get transferred, detailed CSS and HTML information, JavaScript debugging and more. The Firebug extension divides the screen in an upper and lower part with the lower part displaying the web development information to the user.</p>
<p><a href="http://www.command-tab.com/2008/01/19/widerbug-widescreen-firebug/">Widerbug</a> is a tweaked version of Firebug that has been specifically designed for widescreen monitors. Instead of dividing the computer screen vertically it divides it horizontally by displaying the Firebug information in a sidebar on the right side of the web browser. This is good news for web developers who use widescreen monitors to work on their web development projects.</p>
<p>A previous installation of Firebug has to be uninstalled from the web browser before Widerbug can be installed to avoid complications. The web development application can then be installed and uses the same shortcuts as Firebug with the only difference that the screen is opening in the right pane.</p>
<p><span id="more-11865"></span><img src="http://www.ghacks.net/wp-content/uploads/2009/04/web_browser1-500x305.jpg" alt="web browser" title="web browser" width="500" height="305" class="alignnone size-medium wp-image-11864" /></p>
<p>The only possible problem that users could run into are update delays as the developer of Widerbug needs to update his extension whenever Firebug gets updated.</p>

	Tags: <a href="http://www.ghacks.net/tag/firebug/" title="firebug" rel="tag">firebug</a>, <a href="http://www.ghacks.net/tag/firefox/" title="firefox" rel="tag">firefox</a>, <a href="http://www.ghacks.net/tag/firefox-add-on/" title="firefox-add on" rel="tag">firefox-add on</a>, <a href="http://www.ghacks.net/tag/firefox-extension/" title="firefox-extension" rel="tag">firefox-extension</a>, <a href="http://www.ghacks.net/tag/web-browser/" title="web browser" rel="tag">web browser</a>, <a href="http://www.ghacks.net/tag/web-development/" title="web development" rel="tag">web development</a>, <a href="http://www.ghacks.net/tag/website-development/" title="website development" rel="tag">website development</a>, <a href="http://www.ghacks.net/tag/widerbug/" title="widerbug" rel="tag">widerbug</a><br />

	<h4>Related posts</h4>
	<ul class="st-related-posts">
	<li><a href="http://www.ghacks.net/2009/04/29/youtube-it-firefox-add-on/" title="Youtube It Firefox Add-on (April 29, 2009)">Youtube It Firefox Add-on</a> (4)</li>
	<li><a href="http://www.ghacks.net/2009/04/11/youtube-comment-cloud-firefox-add-on/" title="Youtube Comment Cloud Firefox Add-On (April 11, 2009)">Youtube Comment Cloud Firefox Add-On</a> (4)</li>
	<li><a href="http://www.ghacks.net/2009/03/17/web-browser-firefox-cache-search/" title="Web Browser: Firefox Cache Search (March 17, 2009)">Web Browser: Firefox Cache Search</a> (2)</li>
	<li><a href="http://www.ghacks.net/2009/05/25/video-download-add-on-netvideohunter-for-firefox/" title="Video Download Add-On NetVideoHunter For Firefox (May 25, 2009)">Video Download Add-On NetVideoHunter For Firefox</a> (2)</li>
	<li><a href="http://www.ghacks.net/2009/01/06/use-firefox-without-a-computer-mouse/" title="Use Firefox Without A Computer Mouse (January 6, 2009)">Use Firefox Without A Computer Mouse</a> (7)</li>
</ul>

]]></content:encoded>
			<wfw:commentRss>http://www.ghacks.net/2009/04/10/web-development-widerbug-for-firefox/feed/</wfw:commentRss>
		<slash:comments>8</slash:comments>
		</item>
		<item>
		<title>How to show 5 top categories in Wordpress</title>
		<link>http://www.ghacks.net/2009/04/09/how-to-show-5-top-categories-in-wordpress/</link>
		<comments>http://www.ghacks.net/2009/04/09/how-to-show-5-top-categories-in-wordpress/#comments</comments>
		<pubDate>Thu, 09 Apr 2009 10:02:44 +0000</pubDate>
		<dc:creator>Daniel Pataki</dc:creator>
				<category><![CDATA[Web Development]]></category>
		<category><![CDATA[blog]]></category>
		<category><![CDATA[categories]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[web development]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://www.ghacks.net/?p=11827</guid>
		<description><![CDATA[Wordpress is a great piece of software, and allows more than you&#8217;d think to be done with simple coding. I bet that a lot of people out there would look for a plugin to do this, but your top five categories can very easily be shown using a Wordpress template tag, just a half a [...]]]></description>
			<content:encoded><![CDATA[<p><img src="http://www.ghacks.net/wp-content/uploads/2009/04/wordpress.png" alt="wordpress" title="wordpress" width="128" height="128" class="alignleft size-full wp-image-11834" />Wordpress is a great piece of software, and allows more than you&#8217;d think to be done with simple coding. I bet that a lot of people out there would look for a plugin to do this, but your top five categories can very easily be shown using a Wordpress template tag, just a half a line of code.</p>
<p>The tag we need is called &#8220;wp_list_categories()&#8221; and by default it lists all your categories in alphabetical order. All we need to do is add some arguments to it to modify the default values and we&#8217;re done! We need to limit the number of items shown to five, we also want to show the post counts in the categories and we want to order the list by the post count, in descending order.</p>
<p>The &#8220;number&#8221; argument actually has no default value. The reason for this is that it limits the SQL query directly, so there is no need for it by default. We can add it though to impose a limit, so our first argument will be &#8220;number=5&#8243;. We also want to show the post counts, so we use &#8220;show_count=1&#8243; to enable this (show_count=0 is the default).</p>
<p><span id="more-11827"></span>We also want to order the list by the post count, so we use &#8220;orderby=count&#8221; to achieve this. By default lists are sorted ascending, meaning that the lowest post count would show up first. To make the list descending, we can use &#8220;order=DESC&#8221;.</p>
<p>I also use one last argument in there, which is &#8220;title_li=&#8221;. This sets the title of the list to be nothing, by default the list is presented with a title. I like to hard code my titles for a few reasons, but feel free to change this as you like. So here is the complete code I used, one simple line to do a seemingly hard task, enjoy</p>
<p>&lt;?php wp_list_categories(&#8217;number=5&amp;show_count=1&amp;orderby=count&amp;order=DESC&amp;title_li=&#8217;) ?&gt;</p>
<p><img class="alignleft size-full wp-image-10878" src="http://www.ghacks.net/wp-content/uploads/2009/03/scrip_twitter.gif" alt="Script" width="53" height="53" /><strong>If you&#8217;d like to read some similar articles, take a look at <a title="Web development blog" href="http://scriptastique.com">Scriptastique</a>, a blog all about web development and coding, with great tips on CSS, HTML, PHP, MySQL and Javascript and tutorials and screencasts coming soon! You can follow us on our <a title="Scriptastique RSS feed" href="http://feeds2.feedburner.com/scriptastique">RSS feed</a>, or <a title="Scriptastique on Twitter" href="http://twitter.com/scriptastique">Twitter</a> where we&#8217;re posting 3-4 short tips daily now!</strong></p>

	Tags: <a href="http://www.ghacks.net/tag/blog/" title="blog" rel="tag">blog</a>, <a href="http://www.ghacks.net/tag/categories/" title="categories" rel="tag">categories</a>, <a href="http://www.ghacks.net/tag/php/" title="php" rel="tag">php</a>, <a href="http://www.ghacks.net/tag/web-development/" title="web development" rel="tag">web development</a>, <a href="http://www.ghacks.net/tag/wordpress/" title="wordpress" rel="tag">wordpress</a><br />

	<h4>Related posts</h4>
	<ul class="st-related-posts">
	<li><a href="http://www.ghacks.net/2009/04/08/wordpress-blogs-create-custom-tag-pages/" title="Wordpress Blogs: Create Custom Tag Pages (April 8, 2009)">Wordpress Blogs: Create Custom Tag Pages</a> (5)</li>
	<li><a href="http://www.ghacks.net/2008/08/05/zoundry-raven-portable-blog-editor/" title="Zoundry Raven portable Blog Editor (August 5, 2008)">Zoundry Raven portable Blog Editor</a> (6)</li>
	<li><a href="http://www.ghacks.net/2009/02/02/wordpress-your-attempt-to-edit-this-post-has-failed/" title="Wordpress: Your attempt to edit this post has failed (February 2, 2009)">Wordpress: Your attempt to edit this post has failed</a> (8)</li>
	<li><a href="http://www.ghacks.net/2009/03/29/wordpress-template-tags-you-should-know/" title="Wordpress template tags you should know (March 29, 2009)">Wordpress template tags you should know</a> (4)</li>
	<li><a href="http://www.ghacks.net/2009/08/11/wordpress-remote-admin-password-reset-vulnerability/" title="Wordpress Remote Admin Password Reset Vulnerability (August 11, 2009)">Wordpress Remote Admin Password Reset Vulnerability</a> (13)</li>
</ul>

]]></content:encoded>
			<wfw:commentRss>http://www.ghacks.net/2009/04/09/how-to-show-5-top-categories-in-wordpress/feed/</wfw:commentRss>
		<slash:comments>9</slash:comments>
		</item>
		<item>
		<title>Wordpress Blogs: Create Custom Tag Pages</title>
		<link>http://www.ghacks.net/2009/04/08/wordpress-blogs-create-custom-tag-pages/</link>
		<comments>http://www.ghacks.net/2009/04/08/wordpress-blogs-create-custom-tag-pages/#comments</comments>
		<pubDate>Wed, 08 Apr 2009 07:06:51 +0000</pubDate>
		<dc:creator>Martin</dc:creator>
				<category><![CDATA[Tutorials Advanced]]></category>
		<category><![CDATA[blog]]></category>
		<category><![CDATA[custom tag pages]]></category>
		<category><![CDATA[custom tags]]></category>
		<category><![CDATA[tags]]></category>
		<category><![CDATA[web development]]></category>
		<category><![CDATA[wordpress]]></category>
		<category><![CDATA[wordpress blog]]></category>
		<category><![CDATA[wordpress tips]]></category>

		<guid isPermaLink="false">http://www.ghacks.net/2009/04/08/wordpress-blogs-create-custom-tag-pages/</guid>
		<description><![CDATA[A Wordpress blog post consists of a handful of elements like the title and body but also tags, categories and comments. Tag pages usually display excerpts of all posts that use the same tag. One example: If you search for Windows 7 Download on Google you find that a tag page for my website Windows [...]]]></description>
			<content:encoded><![CDATA[<p>A Wordpress blog post consists of a handful of elements like the title and body but also tags, categories and comments. Tag pages usually display excerpts of all posts that use the same tag. One example: If you search for <a href="http://windows7news.com/tag/windows-7-download/">Windows 7 Download</a> on Google you find that a tag page for my website <a href="http://windows7news.com/">Windows 7</a> News is ranking on the third page of the results. Tag pages on the other hand are usually not the pages that visitors expect when visiting a website.</p>
<p>Webmasters can however utilize tag pages better in their Wordpress blogs by creating so called custom tag pages which can contain any information they want. If you open the page above you notice that it does not contain a listing of blog excerpts but a custom page for that tag.</p>
<p>Wordpress provides the means to create those custom tag pages easily. Custom tag pages can be created in the theme directory of the Wordpress directory by adding a new template file to the theme. This new template file needs to begin with tag followed by the post slug of the tag. In the case of the Windows 7 Download tag it would have to be named <strong>tag-windows-7-download.php</strong>.</p>
<p><span id="more-11768"></span>Custom tag pages have a higher priority than the default ones that show only excerpts of the posts. The easiest way to fill the custom tag with content is the following:</p>
<p>Wordpress looks for the following files in order to create those tag pages:</p>
<ul>
<li>tag-slug.php</li>
<li>tag.php</li>
<li>archive.php</li>
<li>index.php</li>
</ul>
<p>Look into your theme folder and see if there is a tag.php file. If it is copy its contents and create a new php file that is using the tag-slug.php as its name. If ther eis no tag.php look for archive.php and finally index.php.</p>
<p>Now simply add content to the file. It might take some experimentation at the beginning but it can be really worth it in the long run. If you have any questions or additions let me know in the comments.</p>

	Tags: <a href="http://www.ghacks.net/tag/blog/" title="blog" rel="tag">blog</a>, <a href="http://www.ghacks.net/tag/custom-tag-pages/" title="custom tag pages" rel="tag">custom tag pages</a>, <a href="http://www.ghacks.net/tag/custom-tags/" title="custom tags" rel="tag">custom tags</a>, <a href="http://www.ghacks.net/tag/tags/" title="tags" rel="tag">tags</a>, <a href="http://www.ghacks.net/tag/web-development/" title="web development" rel="tag">web development</a>, <a href="http://www.ghacks.net/tag/wordpress/" title="wordpress" rel="tag">wordpress</a>, <a href="http://www.ghacks.net/tag/wordpress-blog/" title="wordpress blog" rel="tag">wordpress blog</a>, <a href="http://www.ghacks.net/tag/wordpress-tips/" title="wordpress tips" rel="tag">wordpress tips</a><br />

	<h4>Related posts</h4>
	<ul class="st-related-posts">
	<li><a href="http://www.ghacks.net/2009/02/02/wordpress-your-attempt-to-edit-this-post-has-failed/" title="Wordpress: Your attempt to edit this post has failed (February 2, 2009)">Wordpress: Your attempt to edit this post has failed</a> (8)</li>
	<li><a href="http://www.ghacks.net/2008/11/25/wordpress-265-security-update/" title="Wordpress 2.6.5 Security Update (November 25, 2008)">Wordpress 2.6.5 Security Update</a> (0)</li>
	<li><a href="http://www.ghacks.net/2009/04/09/how-to-show-5-top-categories-in-wordpress/" title="How to show 5 top categories in Wordpress (April 9, 2009)">How to show 5 top categories in Wordpress</a> (9)</li>
	<li><a href="http://www.ghacks.net/2008/08/05/zoundry-raven-portable-blog-editor/" title="Zoundry Raven portable Blog Editor (August 5, 2008)">Zoundry Raven portable Blog Editor</a> (6)</li>
	<li><a href="http://www.ghacks.net/2009/04/16/wordpress-seo-advanced-nofollow/" title="Wordpress SEO: Advanced Nofollow (April 16, 2009)">Wordpress SEO: Advanced Nofollow</a> (3)</li>
</ul>

]]></content:encoded>
			<wfw:commentRss>http://www.ghacks.net/2009/04/08/wordpress-blogs-create-custom-tag-pages/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>Software Programming Helper: File Substring Replacement Utility</title>
		<link>http://www.ghacks.net/2009/04/05/software-programming-helper-file-substring-replacement-utility/</link>
		<comments>http://www.ghacks.net/2009/04/05/software-programming-helper-file-substring-replacement-utility/#comments</comments>
		<pubDate>Sun, 05 Apr 2009 08:28:30 +0000</pubDate>
		<dc:creator>Martin</dc:creator>
				<category><![CDATA[Windows]]></category>
		<category><![CDATA[software]]></category>
		<category><![CDATA[batch rename]]></category>
		<category><![CDATA[file renamer]]></category>
		<category><![CDATA[rename files]]></category>
		<category><![CDATA[replacer]]></category>
		<category><![CDATA[software programming]]></category>
		<category><![CDATA[web development]]></category>
		<category><![CDATA[windows software]]></category>

		<guid isPermaLink="false">http://www.ghacks.net/2009/04/05/software-programming-helper-file-substring-replacement-utility/</guid>
		<description><![CDATA[Software programmers will eventually run into situations where they have to replace strings in their code. If it is a large project this can mean to edit code in dozens of files located in multiple directories. Chances are good that files are overlooked which would turn into additional debugging hours until the error is found. [...]]]></description>
			<content:encoded><![CDATA[<p>Software programmers will eventually run into situations where they have to replace strings in their code. If it is a large project this can mean to edit code in dozens of files located in multiple directories. Chances are good that files are overlooked which would turn into additional debugging hours until the error is found. The File Substring Replacement Utility has been designed as a software programming helper. It works with all computer languages that use source files that can be edited in text editors which includes the popular web languages php and html.</p>
<p>The computer software supports both renaming operations on file contents but also on file names and supports the use of the two wildcards (*) and (?). The interface of the application is tab driven and the user is working from the left tab to the right to configure the renaming operations. Source files will be selected in the first tab. This can be done by typing them in, pasting them in or using a file browser that unfortunately cannot load the contents of directories into the application. Files can be excluded by dates.</p>
<p>The next tab defines the file replacements. It is possible to define multiple strings to be replaced in here. The options in the third tab contain several important settings like matching only whole words, enabling wildcard use, case sensitivity or limiting the replacements.</p>
<p><span id="more-11675"></span><img src="http://www.ghacks.net/wp-content/uploads/2009/04/software_programming-500x295.jpg" alt="software programming" title="software programming" width="500" height="295" class="alignnone size-medium wp-image-11674" /></p>
<p>The fourth tab contains logging options. A record log will be written by default which will log all operations. This can be changed to disable logging or to log only positive or negative hits. The batch tab is the final tab which allows to execute batch files before or after the operation.</p>
<p>File Substring Replacement Utility is compatible with all editions of Windows including Windows XP and Windows Vista. It can be <a href="http://www.gammadyne.com/freplace.htm">downloaded</a> directly from the developer&#8217;s homepage.</p>
<p>Update: Program is Shareware. Possible free alternatives are <a href="http://turbonote.com/TNTurboSR">TurboSR</a>, <a href="http://www.sourcecodeonline.com/details/string_find___replace.html">String Find &#038; Replace</a> or <a href="http://www.ecobyte.com/replacetext/">Replace Text</a>.</p>

	Tags: <a href="http://www.ghacks.net/tag/batch-rename/" title="batch rename" rel="tag">batch rename</a>, <a href="http://www.ghacks.net/tag/file-renamer/" title="file renamer" rel="tag">file renamer</a>, <a href="http://www.ghacks.net/tag/rename-files/" title="rename files" rel="tag">rename files</a>, <a href="http://www.ghacks.net/tag/replacer/" title="replacer" rel="tag">replacer</a>, <a href="http://www.ghacks.net/tag/software-programming/" title="software programming" rel="tag">software programming</a>, <a href="http://www.ghacks.net/tag/web-development/" title="web development" rel="tag">web development</a>, <a href="http://www.ghacks.net/tag/windows-software/" title="windows software" rel="tag">windows software</a><br />

	<h4>Related posts</h4>
	<ul class="st-related-posts">
	<li><a href="http://www.ghacks.net/2009/01/20/the-only-batch-file-renamer-you-ever-need/" title="The Only Batch File Renamer You Ever Need (January 20, 2009)">The Only Batch File Renamer You Ever Need</a> (11)</li>
	<li><a href="http://www.ghacks.net/2008/09/22/batch-file-rename/" title="Batch File Rename (September 22, 2008)">Batch File Rename</a> (7)</li>
	<li><a href="http://www.ghacks.net/2007/12/17/pfrank-file-renamer/" title="PFrank File Renamer (December 17, 2007)">PFrank File Renamer</a> (3)</li>
	<li><a href="http://www.ghacks.net/2009/09/29/batch-rename-files-with-rename-master/" title="Batch Rename Files With Rename Master (September 29, 2009)">Batch Rename Files With Rename Master</a> (10)</li>
	<li><a href="http://www.ghacks.net/2009/09/28/rename-and-copy-files-with-caterpixer/" title="Rename And Copy Files With Caterpixer (September 28, 2009)">Rename And Copy Files With Caterpixer</a> (6)</li>
</ul>

]]></content:encoded>
			<wfw:commentRss>http://www.ghacks.net/2009/04/05/software-programming-helper-file-substring-replacement-utility/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
		<item>
		<title>MIX09 Session Recordings</title>
		<link>http://www.ghacks.net/2009/03/24/mix09-session-recordings/</link>
		<comments>http://www.ghacks.net/2009/03/24/mix09-session-recordings/#comments</comments>
		<pubDate>Tue, 24 Mar 2009 15:53:32 +0000</pubDate>
		<dc:creator>Martin</dc:creator>
				<category><![CDATA[Online Services]]></category>
		<category><![CDATA[The Web]]></category>
		<category><![CDATA[conference]]></category>
		<category><![CDATA[microsoft]]></category>
		<category><![CDATA[mix]]></category>
		<category><![CDATA[mix 09]]></category>
		<category><![CDATA[mix09]]></category>
		<category><![CDATA[session recordings]]></category>
		<category><![CDATA[silverlight]]></category>
		<category><![CDATA[technology conference]]></category>
		<category><![CDATA[web design]]></category>
		<category><![CDATA[web development]]></category>

		<guid isPermaLink="false">http://www.ghacks.net/2009/03/24/mix09-session-recordings/</guid>
		<description><![CDATA[The MIX09 technology conference which concentrates on web design and development took place in Las Vegas from March 18 &#8211; 20, 2009. All of the sessions of the event have been recorded and made available online. A total of 122 sessions are freely accessible online and even available as downloads in various formats including Windows [...]]]></description>
			<content:encoded><![CDATA[<p>The MIX09 technology conference which concentrates on web design and development took place in Las Vegas from March 18 &#8211; 20, 2009. All of the sessions of the event have been recorded and made available online. A total of 122 sessions are <a href="http://sessions.visitmix.com/MIX09/">freely</a> accessible online and even available as downloads in various formats including Windows Media Video or as a PowerPoint presentation. Most if not all of the sessions target web developers and to a lesser extent decision makers. They concentrate heavily on Microsoft products and services like Microsoft Silverlight, <a href="http://www.ghacks.net/tag/internet-explorer/">Internet Explorer</a> 8, .net applications and development but also business related sessions.</p>
<p>Eight sessions are displayed per page. Each contains a title and short description. A tag cloud can also be used to display only sessions about a certain topic to narrow down the results. Some sessions contained information about new products that have since been mentioned on several news sites including the official release of <a href="http://www.ghacks.net/2009/03/19/internet-explorer-8-final/">Microsoft Internet Explorer 8</a>, an overview of Windows Mobile 6.5 or the Microsoft Translator Widget which makes use of Ajax to translate a website on the fly without having to reload most of the contents.</p>
<p>Still, most of the sessions are only interesting for web developers who use those technologies as they tend to get technical pretty soon.</p>
<p><span id="more-11449"></span><img src="http://www.ghacks.net/wp-content/uploads/2009/03/mix09_sessions_videos-500x402.jpg" alt="mix09 sessions videos" title="mix09 sessions videos" width="500" height="402" class="alignnone size-medium wp-image-11448" /></p>
<p>Play times vary widely from session to session but usually range between 20 and 80 minutes.</p>

	Tags: <a href="http://www.ghacks.net/tag/conference/" title="conference" rel="tag">conference</a>, <a href="http://www.ghacks.net/tag/microsoft/" title="microsoft" rel="tag">microsoft</a>, <a href="http://www.ghacks.net/tag/mix/" title="mix" rel="tag">mix</a>, <a href="http://www.ghacks.net/tag/mix-09/" title="mix 09" rel="tag">mix 09</a>, <a href="http://www.ghacks.net/tag/mix09/" title="mix09" rel="tag">mix09</a>, <a href="http://www.ghacks.net/tag/session-recordings/" title="session recordings" rel="tag">session recordings</a>, <a href="http://www.ghacks.net/tag/silverlight/" title="silverlight" rel="tag">silverlight</a>, <a href="http://www.ghacks.net/tag/technology-conference/" title="technology conference" rel="tag">technology conference</a>, <a href="http://www.ghacks.net/tag/web-design/" title="web design" rel="tag">web design</a>, <a href="http://www.ghacks.net/tag/web-development/" title="web development" rel="tag">web development</a><br />

	<h4>Related posts</h4>
	<ul class="st-related-posts">
	<li><a href="http://www.ghacks.net/2009/09/25/microsoft-websitespark/" title="Microsoft WebsiteSpark (September 25, 2009)">Microsoft WebsiteSpark</a> (2)</li>
	<li><a href="http://www.ghacks.net/2009/03/09/scriptastique-web-development-roundup/" title="Scriptastique web development roundup (March 9, 2009)">Scriptastique web development roundup</a> (4)</li>
	<li><a href="http://www.ghacks.net/2008/02/17/live-tv-and-radio-with-livestation/" title="Live TV and Radio with Livestation (February 17, 2008)">Live TV and Radio with Livestation</a> (8)</li>
	<li><a href="http://www.ghacks.net/2009/04/22/webmaster-tools/" title="Indispensable Webmaster Tools And Resources (April 22, 2009)">Indispensable Webmaster Tools And Resources</a> (2)</li>
	<li><a href="http://www.ghacks.net/2009/07/11/a-standard-compliant-web-browser-and-editor-amaya/" title="A standard compliant web browser and editor: Amaya (July 11, 2009)">A standard compliant web browser and editor: Amaya</a> (2)</li>
</ul>

]]></content:encoded>
			<wfw:commentRss>http://www.ghacks.net/2009/03/24/mix09-session-recordings/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Web development roundup</title>
		<link>http://www.ghacks.net/2009/03/16/web-development-roundup/</link>
		<comments>http://www.ghacks.net/2009/03/16/web-development-roundup/#comments</comments>
		<pubDate>Mon, 16 Mar 2009 17:31:05 +0000</pubDate>
		<dc:creator>Daniel Pataki</dc:creator>
				<category><![CDATA[Web Development]]></category>
		<category><![CDATA[mysql]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[web development]]></category>

		<guid isPermaLink="false">http://www.ghacks.net/?p=11272</guid>
		<description><![CDATA[Last week was a bit less active in web development terms, but here&#8217;s a roundup of what you can find on Scriptastique if you haven&#8217;t been taking a look recently. 
We had a look at how a mysql query basically works, which will come in handy if you&#8217;re just learning about MySQL and PHP. The [...]]]></description>
			<content:encoded><![CDATA[<p>Last week was a bit less active in web development terms, but here&#8217;s a roundup of what you can find on <a href="http://scriptastique.com">Scriptastique</a> if you haven&#8217;t been taking a look recently. </p>
<p>We had a look at how a mysql query basically works, which will come in handy if you&#8217;re just learning about MySQL and PHP. The article focuses more on the technical side than how to create specific queries, but we&#8217;ll get there in the end too! Just after that we created some simple but effective excerpts from longer text automatically removing unwanted characters and spaces.</p>
<p>We also had a look at website mascots, why you should use them, how to use arithmetic operators in PHP and just today, why a coder should always be well slept (easier said than done). If you feel like taking a stroll down web development avanue visit the site, or follow us on <a href="http://twitter.com/scriptastique">Twitter</a> or our <a href="http://feeds2.feedburner.com/scriptastique">RSS feed</a>!<br />
<span id="more-11272"></span></p>

	Tags: <a href="http://www.ghacks.net/tag/mysql/" title="mysql" rel="tag">mysql</a>, <a href="http://www.ghacks.net/tag/php/" title="php" rel="tag">php</a>, <a href="http://www.ghacks.net/tag/web-development/" title="web development" rel="tag">web development</a><br />

	<h4>Related posts</h4>
	<ul class="st-related-posts">
	<li><a href="http://www.ghacks.net/2009/02/01/web-development-php-what-role-does-it-fill/" title="Web Development: PHP &#8211; what role does it fill (February 1, 2009)">Web Development: PHP &#8211; what role does it fill</a> (1)</li>
	<li><a href="http://www.ghacks.net/2009/02/16/php-what-it-does-and-what-it-doesnt/" title="PHP &#8211; what it does and what it doesn&#8217;t (February 16, 2009)">PHP &#8211; what it does and what it doesn&#8217;t</a> (4)</li>
	<li><a href="http://www.ghacks.net/2009/01/02/web-development-standardizing-variables-to-code-faster/" title="Web Development: Standardizing variables to code faster (January 2, 2009)">Web Development: Standardizing variables to code faster</a> (18)</li>
	<li><a href="http://www.ghacks.net/2009/03/09/scriptastique-web-development-roundup/" title="Scriptastique web development roundup (March 9, 2009)">Scriptastique web development roundup</a> (4)</li>
	<li><a href="http://www.ghacks.net/2008/12/28/portable-web-server/" title="Portable Web Server (December 28, 2008)">Portable Web Server</a> (8)</li>
</ul>

]]></content:encoded>
			<wfw:commentRss>http://www.ghacks.net/2009/03/16/web-development-roundup/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Identifying each page using body tags and CSS</title>
		<link>http://www.ghacks.net/2009/03/11/identifying-each-page-using-body-tags-and-css/</link>
		<comments>http://www.ghacks.net/2009/03/11/identifying-each-page-using-body-tags-and-css/#comments</comments>
		<pubDate>Wed, 11 Mar 2009 18:00:51 +0000</pubDate>
		<dc:creator>Daniel Pataki</dc:creator>
				<category><![CDATA[Web Development]]></category>
		<category><![CDATA[css]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[superglobal]]></category>
		<category><![CDATA[web development]]></category>

		<guid isPermaLink="false">http://www.ghacks.net/?p=11106</guid>
		<description><![CDATA[If you are building a large website, chances are you have a great little CSS stylesheet linked to every document which governs all the pages. But what do you do if you want just one of the pages to be completely different? You could of course go into your code and ad separate id-s and [...]]]></description>
			<content:encoded><![CDATA[<p>If you are building a large website, chances are you have a great little CSS stylesheet linked to every document which governs all the pages. But what do you do if you want just one of the pages to be completely different? You could of course go into your code and ad separate id-s and classes for specific elements, but I use a bit of an easier approach.</p>
<p>The basis of this is to use php code to determine the directory of the page you are viewing and also the page&#8217;s name itself. I will show you the code in a second, but let&#8217;s say you have a social network site underway and you keep you messaging system (outbox, inbox, new message, etc.) in a folder named &#8220;messaging&#8221;. In this case you can grab the name of the directory and the page and assign these as an id and a class to the body tag automatically, so it would look like this for the inbox: <em>&lt;body class=&#8221;messaging&#8221; id=&#8221;inbox&#8221;&gt;</em>.</p>
<p>This will make it very easy to add new rules in your stylesheet, since you can refer to whole documents in a directory using <strong>&#8220;body.messaging&#8221;</strong> and you can refer to specific pages using<strong> &#8220;body#inbox&#8221;</strong>. You can now use the same CSS file to change the look of only one page without the need to go in and add new classes and ids all the time. So how about the code to grab the directory and the page? Let&#8217;s take a look!</p>
<p><span id="more-11106"></span></p>
<p>First of all, let&#8217;s determine the page. For this we will use the <strong>&#8220;$_SERVER&#8221;</strong> superglobal variable which stores a lot of valuable information about the page you are viewing, the IP viewing the page and so on. Here&#8217;s the code as is, with the explanation coming up afterward.</p>
<pre>function page()
{
$page = substr(strrchr($_SERVER['PHP_SELF'],'/'),1,-4);
return $page;
}</pre>
<p>As you can see this is a function because I use it a lot throughout the site, not just for this one purpose. <strong>&#8220;$_SERVER['PHP_SELF']&#8220;</strong> will return the path to the file with the filename from your root directory, so it will look something either like this: <strong>&#8220;/directory/subdirectory/file.php&#8221;</strong> or if the file is in the root directory it will simply be <strong>&#8220;/file.php&#8221;</strong>. To get only the filename we want to chop off all the bits before the slash (and the slash itself), and also chop off the file extension.</p>
<p>As you can see the first thing I did was to chop off everything before the last slash using <strong>&#8220;strrchr()&#8221;</strong> which returns the part of the string after the last occurrence of the sub-string you specify. However, the last slash still remains, but this is not a problem, we can get rid of this, and the &#8220;.php&#8221; part in one go.</p>
<p>This is done by using <strong>&#8220;substr()&#8221;</strong>. The function took three arguments, the string we want to work with, and two integers. The first integer tells the function to start from character 1 (this means everything before that will be chopped off, in this case character 0, which is the slash) and then return everything up to the -4th character from the end. This means that four characters will be dropped from the end.</p>
<p>Now the variable <strong>&#8220;$page&#8221;</strong> contains only the readable part of the filename which would be &#8220;inbox&#8221; or &#8220;index&#8221;, without any slashes or the extension. You could also create this as a variable without using function. the reason I use a function is that I usually have some extra code in there which allows me to echo the function at once by default, but also to store it as a variable if needed.</p>
<p>Now, let&#8217;s take a look at determining the directory. We could take the same approach as before but chop off different bits, but PHP already has a function which will make our life easier, let&#8217;s take a look at the code:</p>
<pre>function thedir()
{
$dir = substr(strrchr(getcwd(), '/'),1);
return $dir;
}</pre>
<p>Using <strong>&#8220;getcwd()&#8221;</strong> we can get the current working directory. This will be in the form of <strong>&#8220;/directory/subdirectory&#8221;</strong>, so all we need to do is return everything after the last slash and chop the last slash off. We use the same technique as before, so now we also have our directory. Once done, all you need to do is modify your header, which should be in a PHP file to make the body tag look like this (calling the functions as the names for the class and id):</p>
<pre>&lt;body id="&lt;?php echo page() ?&gt; class="&lt;?php echo $thedir ?&gt;""&gt;</pre>
<p>There are some other ways to do this, some can be simpler or more complicated, this is more like the proving of a point, but it is totally usable and I use a modified version of it throughout my sites. This is not a whole lot of code extra and will make your site better structured and easier to modify.</p>
<p>Please be aware that<strong> &#8220;getcwd()&#8221;</strong> can give you some weird results if you changed your current working directory somewhere in your code. In this case you can use a modified version of the &#8216;page getting&#8217; code, or you can take a look at the <a href="http://hu.php.net/reserved.variables.server">server superglobal</a> section in the PHP manual for some more help.</p>
<p><img class="alignleft size-full wp-image-10878" src="http://www.ghacks.net/wp-content/uploads/2009/03/scrip_twitter.gif" alt="Script" width="53" height="53" /><strong>If you&#8217;d like to read some similar articles, take a look at <a title="Web development blog" href="http://scriptastique.com">Scriptastique</a>, a blog all about web development and coding, with great tips on CSS, HTML, PHP, MySQL and Javasctipt and tutorials and screencasts coming soon! You can follow us on our <a title="Scriptastique RSS feed" href="http://feeds2.feedburner.com/scriptastique">RSS feed</a>, or <a title="Scriptastique on Twitter" href="http://twitter.com/scriptastique">Twitter</a> and <a title="Scriptastique on Facebook" href="http://www.facebook.com/home.php?#/profile.php?id=1470106953&amp;ref=profile">Facebook</a>! </strong></p>

	Tags: <a href="http://www.ghacks.net/tag/css/" title="css" rel="tag">css</a>, <a href="http://www.ghacks.net/tag/php/" title="php" rel="tag">php</a>, <a href="http://www.ghacks.net/tag/superglobal/" title="superglobal" rel="tag">superglobal</a>, <a href="http://www.ghacks.net/tag/web-development/" title="web development" rel="tag">web development</a><br />

	<h4>Related posts</h4>
	<ul class="st-related-posts">
	<li><a href="http://www.ghacks.net/2009/02/01/web-development-php-what-role-does-it-fill/" title="Web Development: PHP &#8211; what role does it fill (February 1, 2009)">Web Development: PHP &#8211; what role does it fill</a> (1)</li>
	<li><a href="http://www.ghacks.net/2009/02/16/php-what-it-does-and-what-it-doesnt/" title="PHP &#8211; what it does and what it doesn&#8217;t (February 16, 2009)">PHP &#8211; what it does and what it doesn&#8217;t</a> (4)</li>
	<li><a href="http://www.ghacks.net/2009/03/16/web-development-roundup/" title="Web development roundup (March 16, 2009)">Web development roundup</a> (1)</li>
	<li><a href="http://www.ghacks.net/2009/03/09/scriptastique-web-development-roundup/" title="Scriptastique web development roundup (March 9, 2009)">Scriptastique web development roundup</a> (4)</li>
	<li><a href="http://www.ghacks.net/2009/04/09/how-to-show-5-top-categories-in-wordpress/" title="How to show 5 top categories in Wordpress (April 9, 2009)">How to show 5 top categories in Wordpress</a> (9)</li>
</ul>

]]></content:encoded>
			<wfw:commentRss>http://www.ghacks.net/2009/03/11/identifying-each-page-using-body-tags-and-css/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Scriptastique web development roundup</title>
		<link>http://www.ghacks.net/2009/03/09/scriptastique-web-development-roundup/</link>
		<comments>http://www.ghacks.net/2009/03/09/scriptastique-web-development-roundup/#comments</comments>
		<pubDate>Mon, 09 Mar 2009 12:55:01 +0000</pubDate>
		<dc:creator>Daniel Pataki</dc:creator>
				<category><![CDATA[Web Development]]></category>
		<category><![CDATA[coding]]></category>
		<category><![CDATA[html]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[scriptastique]]></category>
		<category><![CDATA[web design]]></category>
		<category><![CDATA[web development]]></category>

		<guid isPermaLink="false">http://www.ghacks.net/?p=11035</guid>
		<description><![CDATA[As you all know, we started a web development section here on gHacks. After asking for your opinion and talking about it with Martin, we decided to keep writing 1-2 posts a week here, but move most of the material into a new site called Scriptastique. 
Right now we only have the blog, but tutorial [...]]]></description>
			<content:encoded><![CDATA[<p>As you all know, we started a web development section here on gHacks. After asking for your opinion and talking about it with Martin, we decided to keep writing 1-2 posts a week here, but move most of the material into a new site called <a title="Web development" href="http://scriptastique.com">Scriptastique</a>. </p>
<p>Right now we only have the blog, but tutorial sections and screencasts are on their way! To keep gHacks readers in the know, I will be doing a weekly short roundup of posts, if you like some of them, head on over to the site, take a look and participate in all the fun! So let&#8217;s jump to it, here&#8217;s what we covered on week 1.</p>
<ul>
<li>Checking MySQL queries for errors</li>
<li>Creating your first function in PHP</li>
<li>How the internet works &#8211; domains and hosting</li>
<li>Create cool icons in a flash for your website</li>
<li>Creating rounded corners using only CSS</li>
</ul>
<p>We have a few more up there, and you can follow us on Twitter and our RSS feed or join us on <a href="http://www.ghacks.net/2009/10/17/facebook-login/">Facebook</a>. If you have any questions or comments feel free to let me know!</p>
<p><span id="more-11035"></span></p>

	Tags: <a href="http://www.ghacks.net/tag/coding/" title="coding" rel="tag">coding</a>, <a href="http://www.ghacks.net/tag/html/" title="html" rel="tag">html</a>, <a href="http://www.ghacks.net/tag/php/" title="php" rel="tag">php</a>, <a href="http://www.ghacks.net/tag/scriptastique/" title="scriptastique" rel="tag">scriptastique</a>, <a href="http://www.ghacks.net/tag/web-design/" title="web design" rel="tag">web design</a>, <a href="http://www.ghacks.net/tag/web-development/" title="web development" rel="tag">web development</a><br />

	<h4>Related posts</h4>
	<ul class="st-related-posts">
	<li><a href="http://www.ghacks.net/2009/03/04/how-echo-works-in-php/" title="How echo works in PHP (March 4, 2009)">How echo works in PHP</a> (2)</li>
	<li><a href="http://www.ghacks.net/2009/02/02/ghacks-web-development-pdf-article-compilation-january-09/" title="Ghacks Web Development PDF Article Compilation January 09 (February 2, 2009)">Ghacks Web Development PDF Article Compilation January 09</a> (6)</li>
	<li><a href="http://www.ghacks.net/2009/02/01/web-development-php-what-role-does-it-fill/" title="Web Development: PHP &#8211; what role does it fill (February 1, 2009)">Web Development: PHP &#8211; what role does it fill</a> (1)</li>
	<li><a href="http://www.ghacks.net/2009/02/16/php-what-it-does-and-what-it-doesnt/" title="PHP &#8211; what it does and what it doesn&#8217;t (February 16, 2009)">PHP &#8211; what it does and what it doesn&#8217;t</a> (4)</li>
	<li><a href="http://www.ghacks.net/2009/07/11/a-standard-compliant-web-browser-and-editor-amaya/" title="A standard compliant web browser and editor: Amaya (July 11, 2009)">A standard compliant web browser and editor: Amaya</a> (2)</li>
</ul>

]]></content:encoded>
			<wfw:commentRss>http://www.ghacks.net/2009/03/09/scriptastique-web-development-roundup/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>How echo works in PHP</title>
		<link>http://www.ghacks.net/2009/03/04/how-echo-works-in-php/</link>
		<comments>http://www.ghacks.net/2009/03/04/how-echo-works-in-php/#comments</comments>
		<pubDate>Wed, 04 Mar 2009 09:22:52 +0000</pubDate>
		<dc:creator>Daniel Pataki</dc:creator>
				<category><![CDATA[Web Development]]></category>
		<category><![CDATA[coding]]></category>
		<category><![CDATA[echo]]></category>
		<category><![CDATA[html]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[web development]]></category>

		<guid isPermaLink="false">http://www.ghacks.net/?p=10874</guid>
		<description><![CDATA[The most basic command, and probably the first you&#8217;ll learn when taking a look at PHP is &#8220;echo&#8221;. The first example in many books and online tutorials is the following. Create a file, give it an extension of &#8220;.php&#8221;, upload it to your server, and edit it like so:
&#60;?php
echo &#8216;Hello World&#8217;;
?&#62;
I hate Hello World examples, [...]]]></description>
			<content:encoded><![CDATA[<p>The most basic command, and probably the first you&#8217;ll learn when taking a look at PHP is &#8220;echo&#8221;. The first example in many books and online tutorials is the following. Create a file, give it an extension of &#8220;.php&#8221;, upload it to your server, and edit it like so:</p>
<p>&lt;?php<br />
echo &#8216;Hello World&#8217;;<br />
?&gt;</p>
<p>I hate Hello World examples, but this shows what we are doing pretty well. Basically the echo command will write out that phrase &#8220;Hello World&#8221; (the quotes will not be shown, the single quotes above are part of the code), so if you open that file using <a href="http://www.ghacks.net/tag/firefox/">Firefox</a> for example you should simply see the phrase.</p>
<p>This seems straightforward, but to really understand what&#8217;s happening, and to be able to work with PHP efficiently we need to dig a bit deeper to see what really happens when we echo something.</p>
<p><span id="more-10874"></span>The most important thing you need to understand is that PHP is a server side language. This means that whatever code you write is never sent directly to the client (the viewer of your site for example). When someone opens a PHP file form the next the file is first processed by the server, and <strong>only the result</strong> is shown to the user. This is why you will never see PHP code if you view the source of a page.</p>
<p>You also need to know that once the server has processed the file it retruns pure browser readable code. I would say pure HTML, but obviously your PHP file can contain inline javascript, just like your HTML files. Now echoing something tells the server that whatever is echoed should be placed as is into the HTML file. This means that whenever you want to put HTML tags when you are echoing you can do so by writing them as you would in an HTML file itself, like this:</p>
<p>&lt;?php<br />
echo &#8216;&lt;strong&gt;Hello World&lt;/strong&gt;&#8217;;<br />
?&gt;</p>
<p>Once the server has returned its result, this is downloaded by the browser and processed like usual, so your &#8220;strong&#8221; tags wil be taken into account and will indeed bold text.</p>
<p>So what&#8217;s the point of sending the server that bit of code if all it does is just put it in like it was HTML? Well, the answer lies further down the road, but basically this is helpful because you can prevent/enable specific of section of code reaching the client, so the viewer only downloads what he/she needs, not the whole file. A simple example:</p>
<p>&lt;?php<br />
$random = rand(0, 99);</p>
<p>if ($random &gt; 50)<br />
echo &#8216;Number is above fifty&#8217;;<br />
else<br />
&amp;nbsp; &amp;nbsp; echo &#8216;Number is equal to or less than fifty&#8217;;<br />
?&gt;</p>
<p>Without really understanding what&#8217;d going on I can still explain. We create a variable, the value of it will be a randomly generated number between 0 and 99. If this number which we just generated is above 50 then we should echo that it is above fifty, in all other cases (it is below or equal to fifty), we should echo the other statement.</p>
<p>This is processed whenever someone loads (or reloads) a page, so the variable &#8220;$random&#8221; will always be different, generated &#8220;on the fly&#8221;. The script then checks the number, and only the relevant piece of code is returned, so if the number generated is 55 the only piece of code that you will see in the source will be:</p>
<p>The number is above fifty</p>
<p>Obviously this is a bit over-simplified, but in real life this is basically what happens. You can also use this to generate different pieces of code for different days of the week, and the change will be automatic, you only need to program once. You can also use it to create one file to display all your posts (like in Wordpress), so you don1t have to code a page for each post you write. PHP is awesome, start lovin&#8217; it!</p>
<p><img class="alignleft size-full wp-image-10878" src="http://www.ghacks.net/wp-content/uploads/2009/03/scrip_twitter.gif" alt="Script" width="54" height="54" /><em>If you would like to read more articles like this, take a look at <a title="Coding and web development blog" href="http://scriptastique.com" target="_blank">Scriptastique</a>, a new blog by the writer, Daniel Pataki. The site will contain different articles from the ones published here, and will eventually have complete tutorials for numerous programming languages.</em></p>

	Tags: <a href="http://www.ghacks.net/tag/coding/" title="coding" rel="tag">coding</a>, <a href="http://www.ghacks.net/tag/echo/" title="echo" rel="tag">echo</a>, <a href="http://www.ghacks.net/tag/html/" title="html" rel="tag">html</a>, <a href="http://www.ghacks.net/tag/php/" title="php" rel="tag">php</a>, <a href="http://www.ghacks.net/tag/web-development/" title="web development" rel="tag">web development</a><br />

	<h4>Related posts</h4>
	<ul class="st-related-posts">
	<li><a href="http://www.ghacks.net/2009/03/09/scriptastique-web-development-roundup/" title="Scriptastique web development roundup (March 9, 2009)">Scriptastique web development roundup</a> (4)</li>
	<li><a href="http://www.ghacks.net/2009/02/02/ghacks-web-development-pdf-article-compilation-january-09/" title="Ghacks Web Development PDF Article Compilation January 09 (February 2, 2009)">Ghacks Web Development PDF Article Compilation January 09</a> (6)</li>
	<li><a href="http://www.ghacks.net/2009/02/01/web-development-php-what-role-does-it-fill/" title="Web Development: PHP &#8211; what role does it fill (February 1, 2009)">Web Development: PHP &#8211; what role does it fill</a> (1)</li>
	<li><a href="http://www.ghacks.net/2009/02/16/php-what-it-does-and-what-it-doesnt/" title="PHP &#8211; what it does and what it doesn&#8217;t (February 16, 2009)">PHP &#8211; what it does and what it doesn&#8217;t</a> (4)</li>
	<li><a href="http://www.ghacks.net/2009/01/31/web-development-html-playground/" title="Web Development: HTML Playground (January 31, 2009)">Web Development: HTML Playground</a> (7)</li>
</ul>

]]></content:encoded>
			<wfw:commentRss>http://www.ghacks.net/2009/03/04/how-echo-works-in-php/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>PHP &#8211; what it does and what it doesn&#8217;t</title>
		<link>http://www.ghacks.net/2009/02/16/php-what-it-does-and-what-it-doesnt/</link>
		<comments>http://www.ghacks.net/2009/02/16/php-what-it-does-and-what-it-doesnt/#comments</comments>
		<pubDate>Mon, 16 Feb 2009 19:28:22 +0000</pubDate>
		<dc:creator>Jeremiah</dc:creator>
				<category><![CDATA[Tutorials Basic]]></category>
		<category><![CDATA[Web Development]]></category>
		<category><![CDATA[css]]></category>
		<category><![CDATA[html]]></category>
		<category><![CDATA[LAMP]]></category>
		<category><![CDATA[mysql]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[web dev]]></category>
		<category><![CDATA[web development]]></category>
		<category><![CDATA[website development]]></category>

		<guid isPermaLink="false">http://www.ghacks.net/?p=10600</guid>
		<description><![CDATA[PHP is a Server side scripting language. Its primary competitors are ASP (Microsoft), JSP (Sun), CFM (Adobe), and Perl (often called cgi by hosting companies, although it is not the only cgi language).
PHP was originally created in 1995, so as a technology it is fairly mature. Version 5.x is the latest stable version and 6 [...]]]></description>
			<content:encoded><![CDATA[<p>PHP is a Server side scripting language. Its primary competitors are ASP (Microsoft), JSP (Sun), CFM (Adobe), and Perl (often called cgi by hosting companies, although it is not the only cgi language).<br />
PHP was originally created in 1995, so as a technology it is fairly mature. Version 5.x is the latest stable version and 6 is under development. It is currently running almost 20 million websites including big names like <a href="http://www.ghacks.net/2009/10/17/facebook-login/">Facebook</a>.</p>
<p>The most common server architecture on which PHP is found is called LAMP (for Linux + Apache + MySQL + PHP). All of the elements of LAMP are open source, meaning that the source code of the application is freely available. This means that the cost of setting up a server running LAMP is reduced (No License Fees), so LAMP based web hosting tends to be the least expensive solution available.</p>
<p>The Internet is built on a client-server architecture. On the client side we have the user and the browser. One the server side we have the server and its script interpreter (In our case, Apache and PHP).<br />
Because PHP runs on the server side, we cannot use it for flashy client side effects, things like animations and auto-complete cannot be performed by php because php is only running on the server. For client side programming we could use javascript, Flash/Flex, Silverlight, or JavaFX.</p>
<p><span id="more-10600"></span>What we can do with PHP is access a database, connect to other websites/services for information, and build a page out of smaller pieces, which we then deliver to the client for rendering.</p>
<p>I think it is important to indicate at this time that there are four levels at which you can work with PHP.</p>
<ol>
<li>Scripting &#8211; this is where you take a small script and add it (integrate) into an existing page.</li>
<li>Coding &#8211; this is where you write scripts as needed to add basic functionality to your site.</li>
<li>Development &#8211; this is where you write an full application in PHP.</li>
<li>Architect &#8211; this is where you properly design an application that develop it into an application. Like development but puts a lot more thought into a good foundation.</li>
</ol>
<p>Depending on your actual needs, several of these layers could be overkill for your task. The following articles will mainly be focused on the first two levels &#8211; scripting, and coding. In Scripting and coding we have two primary tasks we accomplish. One makes your job as webmaster easier. The second adds new functionality to your site.</p>
<p><a href="http://www.jeremiahstover.com">Jeremiah Stover</a> is a Software Engineer and a Business IT Consultant at <a href="http://www.pragmatic-development.com">Pragmatic Development</a>. He has hands on experience and regularly provides practical advice in Business, Marketing, IT equipment and software. His Specialties include interpersonal communications, design skills, teaching and instruction. Right now he spends most of his time developing web applications in PHP and MySQL.</p>

	Tags: <a href="http://www.ghacks.net/tag/css/" title="css" rel="tag">css</a>, <a href="http://www.ghacks.net/tag/html/" title="html" rel="tag">html</a>, <a href="http://www.ghacks.net/tag/lamp/" title="LAMP" rel="tag">LAMP</a>, <a href="http://www.ghacks.net/tag/mysql/" title="mysql" rel="tag">mysql</a>, <a href="http://www.ghacks.net/tag/php/" title="php" rel="tag">php</a>, <a href="http://www.ghacks.net/tag/web-dev/" title="web dev" rel="tag">web dev</a>, <a href="http://www.ghacks.net/tag/web-development/" title="web development" rel="tag">web development</a>, <a href="http://www.ghacks.net/tag/website-development/" title="website development" rel="tag">website development</a><br />

	<h4>Related posts</h4>
	<ul class="st-related-posts">
	<li><a href="http://www.ghacks.net/2009/02/01/web-development-php-what-role-does-it-fill/" title="Web Development: PHP &#8211; what role does it fill (February 1, 2009)">Web Development: PHP &#8211; what role does it fill</a> (1)</li>
	<li><a href="http://www.ghacks.net/2009/02/02/ghacks-web-development-pdf-article-compilation-january-09/" title="Ghacks Web Development PDF Article Compilation January 09 (February 2, 2009)">Ghacks Web Development PDF Article Compilation January 09</a> (6)</li>
	<li><a href="http://www.ghacks.net/2009/01/31/web-development-html-playground/" title="Web Development: HTML Playground (January 31, 2009)">Web Development: HTML Playground</a> (7)</li>
	<li><a href="http://www.ghacks.net/2009/03/16/web-development-roundup/" title="Web development roundup (March 16, 2009)">Web development roundup</a> (1)</li>
	<li><a href="http://www.ghacks.net/2009/03/09/scriptastique-web-development-roundup/" title="Scriptastique web development roundup (March 9, 2009)">Scriptastique web development roundup</a> (4)</li>
</ul>

]]></content:encoded>
			<wfw:commentRss>http://www.ghacks.net/2009/02/16/php-what-it-does-and-what-it-doesnt/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Ghacks Web Development PDF Article Compilation January 09</title>
		<link>http://www.ghacks.net/2009/02/02/ghacks-web-development-pdf-article-compilation-january-09/</link>
		<comments>http://www.ghacks.net/2009/02/02/ghacks-web-development-pdf-article-compilation-january-09/#comments</comments>
		<pubDate>Mon, 02 Feb 2009 09:26:56 +0000</pubDate>
		<dc:creator>Martin</dc:creator>
				<category><![CDATA[Compilations]]></category>
		<category><![CDATA[Web Development]]></category>
		<category><![CDATA[article compilation]]></category>
		<category><![CDATA[coding]]></category>
		<category><![CDATA[ghacks]]></category>
		<category><![CDATA[html]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[web development]]></category>
		<category><![CDATA[webmaster]]></category>
		<category><![CDATA[website development]]></category>

		<guid isPermaLink="false">http://www.ghacks.net/?p=10279</guid>
		<description><![CDATA[The following article contains all web development articles that have been published in January 09. The articles are provided in PDF format to make them readable on most operating systems and devices. We are providing article compilations to give you the chance to read the articles offline and keep them as reference without having to [...]]]></description>
			<content:encoded><![CDATA[<p>The following article contains all web development articles that have been published in January 09. The articles are provided in PDF format to make them readable on most operating systems and devices. We are providing article compilations to give you the chance to read the articles offline and keep them as reference without having to hop back at our site whenever you want to look something up.</p>
<p>The following web development articles have been published in January 2009 at Ghacks:</p>
<p><span id="more-10279"></span><a href="http://www.ghacks.net/2009/01/08/web-development-how-does-php-work/">How does PHP work?</a><br />
<a href="http://www.ghacks.net/2009/01/31/web-development-html-playground/">HTML Playground</a><br />
<a href="http://www.ghacks.net/2009/02/01/web-development-php-what-role-does-it-fill/">PHP &#8211; what role does it fill</a><br />
<a href="http://www.ghacks.net/2009/01/02/web-development-standardizing-variables-to-code-faster/">Standardizing variables to code faster</a><br />
<a href="http://www.ghacks.net/2009/01/05/web-development-a-brief-history-of-time/">Web Development: A brief history of time()</a></p>
<p>You can download the pdf document by clicking on the link below.</p>
<p><a href='http://www.ghacks.net/wp-content/uploads/2009/02/ghacks_web_january_09.pdf'>ghacks web development january 09</a></p>

	Tags: <a href="http://www.ghacks.net/tag/article-compilation/" title="article compilation" rel="tag">article compilation</a>, <a href="http://www.ghacks.net/tag/coding/" title="coding" rel="tag">coding</a>, <a href="http://www.ghacks.net/tag/ghacks/" title="ghacks" rel="tag">ghacks</a>, <a href="http://www.ghacks.net/tag/html/" title="html" rel="tag">html</a>, <a href="http://www.ghacks.net/tag/php/" title="php" rel="tag">php</a>, <a href="http://www.ghacks.net/tag/web-development/" title="web development" rel="tag">web development</a>, <a href="http://www.ghacks.net/tag/webmaster/" title="webmaster" rel="tag">webmaster</a>, <a href="http://www.ghacks.net/tag/website-development/" title="website development" rel="tag">website development</a><br />

	<h4>Related posts</h4>
	<ul class="st-related-posts">
	<li><a href="http://www.ghacks.net/2009/02/01/web-development-php-what-role-does-it-fill/" title="Web Development: PHP &#8211; what role does it fill (February 1, 2009)">Web Development: PHP &#8211; what role does it fill</a> (1)</li>
	<li><a href="http://www.ghacks.net/2009/03/09/scriptastique-web-development-roundup/" title="Scriptastique web development roundup (March 9, 2009)">Scriptastique web development roundup</a> (4)</li>
	<li><a href="http://www.ghacks.net/2009/02/16/php-what-it-does-and-what-it-doesnt/" title="PHP &#8211; what it does and what it doesn&#8217;t (February 16, 2009)">PHP &#8211; what it does and what it doesn&#8217;t</a> (4)</li>
	<li><a href="http://www.ghacks.net/2009/03/04/how-echo-works-in-php/" title="How echo works in PHP (March 4, 2009)">How echo works in PHP</a> (2)</li>
	<li><a href="http://www.ghacks.net/2009/05/29/web-development-realtime-fonts-changer/" title="Web Development: Realtime Fonts Changer (May 29, 2009)">Web Development: Realtime Fonts Changer</a> (1)</li>
</ul>

]]></content:encoded>
			<wfw:commentRss>http://www.ghacks.net/2009/02/02/ghacks-web-development-pdf-article-compilation-january-09/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
		<item>
		<title>Web Development: PHP &#8211; what role does it fill</title>
		<link>http://www.ghacks.net/2009/02/01/web-development-php-what-role-does-it-fill/</link>
		<comments>http://www.ghacks.net/2009/02/01/web-development-php-what-role-does-it-fill/#comments</comments>
		<pubDate>Sun, 01 Feb 2009 09:03:18 +0000</pubDate>
		<dc:creator>Jeremiah</dc:creator>
				<category><![CDATA[Web Development]]></category>
		<category><![CDATA[css]]></category>
		<category><![CDATA[html]]></category>
		<category><![CDATA[mysql]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[web dev]]></category>
		<category><![CDATA[web development]]></category>
		<category><![CDATA[website development]]></category>

		<guid isPermaLink="false">http://www.ghacks.net/?p=10259</guid>
		<description><![CDATA[Before we try to work with PHP we need understand the role it fills – what problem does it address. The World Wide Web is built on a client-server model.  A client computer requests a page which is supplied by a Web Server. The browser then renders the page for the user to view. [...]]]></description>
			<content:encoded><![CDATA[<p>Before we try to work with PHP we need understand the role it fills – what problem does it address. The World Wide Web is built on a client-server model.  A client computer requests a page which is supplied by a Web Server. The browser then renders the page for the user to view. The simplest type of pages contain static (unchanging) content. The server could serve plain text files, and the browser wouldn&#8217;t have any trouble rendering them. </p>
<p>HTML is a markup language that lets us describe attributes of the text and blocks on our pages. This works great for simple requests, making pages much more interesting than plain text. However it leaves us with a very simple structure. One page from One url (address) results in one rendered content (every time this url is requested, the output is the same).</p>
<p>To give us more options we have programming languages. Some like PHP run on the server side. They modify the content that will be displayed before it is sent to the client and on to the browser. Others like JavaScript run on the client side and allow changes to be made in the browser after the page has been rendered – usually for interactivity or for adding a feature not normally available in that browser.</p>
<p><span id="more-10259"></span>The very first thing you _must_ do before getting started with PHP is get a good grasp of HTML (and CSS). Many webmasters use a tool like Dreamweaver, Expression Web or KompoZer. To<br />
work with PHP it is important that you understand the underlying HTML code. You will be modifying this code so you need to be able to understand the HTML well enough to understand what you see.</p>
<p>If you like video training try Lynda.com or VTC.com. If you prefer reading a book try &#8220;Head First html with CSS &#038; Xhtml&#8221; or if you prefer free web instruction try <a href="http://w3schools.com">w3schools.com</a> and <a href="http://tizag.com">tizag.com</a>.</p>
<p>Now that you understand the markup language which is what is sent to the browser (HTML) you are ready to tackle the server side use of PHP.</p>
<p>Jeremiah Stover is a Software Developer at <a href="http://www.pragmatic-development.com/">Pragmatic Development</a>. He specializes in client communications. While PD does offer a full range of IT services and consulting, they are currently specializing in website development in PHP/MySQL.</p>

	Tags: <a href="http://www.ghacks.net/tag/css/" title="css" rel="tag">css</a>, <a href="http://www.ghacks.net/tag/html/" title="html" rel="tag">html</a>, <a href="http://www.ghacks.net/tag/mysql/" title="mysql" rel="tag">mysql</a>, <a href="http://www.ghacks.net/tag/php/" title="php" rel="tag">php</a>, <a href="http://www.ghacks.net/tag/web-dev/" title="web dev" rel="tag">web dev</a>, <a href="http://www.ghacks.net/tag/web-development/" title="web development" rel="tag">web development</a>, <a href="http://www.ghacks.net/tag/website-development/" title="website development" rel="tag">website development</a><br />

	<h4>Related posts</h4>
	<ul class="st-related-posts">
	<li><a href="http://www.ghacks.net/2009/02/16/php-what-it-does-and-what-it-doesnt/" title="PHP &#8211; what it does and what it doesn&#8217;t (February 16, 2009)">PHP &#8211; what it does and what it doesn&#8217;t</a> (4)</li>
	<li><a href="http://www.ghacks.net/2009/02/02/ghacks-web-development-pdf-article-compilation-january-09/" title="Ghacks Web Development PDF Article Compilation January 09 (February 2, 2009)">Ghacks Web Development PDF Article Compilation January 09</a> (6)</li>
	<li><a href="http://www.ghacks.net/2009/01/31/web-development-html-playground/" title="Web Development: HTML Playground (January 31, 2009)">Web Development: HTML Playground</a> (7)</li>
	<li><a href="http://www.ghacks.net/2009/03/16/web-development-roundup/" title="Web development roundup (March 16, 2009)">Web development roundup</a> (1)</li>
	<li><a href="http://www.ghacks.net/2009/03/09/scriptastique-web-development-roundup/" title="Scriptastique web development roundup (March 9, 2009)">Scriptastique web development roundup</a> (4)</li>
</ul>

]]></content:encoded>
			<wfw:commentRss>http://www.ghacks.net/2009/02/01/web-development-php-what-role-does-it-fill/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>
