<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	>

<channel>
	<title>the web developer's journal &#187; Web Design</title>
	<atom:link href="http://bizwidgets.biz/blog/posts/category/web-design/feed/" rel="self" type="application/rss+xml" />
	<link>http://bizwidgets.biz</link>
	<description>building a web solutions company...</description>
	<pubDate>Tue, 10 Jun 2008 02:59:55 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.5.1</generator>
	<language>en</language>
			<item>
		<title>EzAuth (0.4 beta) Release - Our User Management System</title>
		<link>http://bizwidgets.biz/blog/posts/ezauth-04-beta-release-our-user-management-system/</link>
		<comments>http://bizwidgets.biz/blog/posts/ezauth-04-beta-release-our-user-management-system/#comments</comments>
		<pubDate>Tue, 16 Oct 2007 21:37:09 +0000</pubDate>
		<dc:creator>Daniel</dc:creator>
		
		<category><![CDATA[CodeIgniter]]></category>

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

		<category><![CDATA[Web2.0]]></category>

		<guid isPermaLink="false">http://bizwidgets.biz/blog/posts/ezauth-04-beta-release-our-user-management-system/</guid>
		<description><![CDATA[We released our open source authorization system today. It helps you manage your users on your website, taking care of the following:
- user registration (with optional e-mail verification)
- user login
- lost account retrieval
- password changing
- user session management
- password protecting certain pages or sections of your website
It is built using the CodeIgniter PHP framework so [...]]]></description>
			<content:encoded><![CDATA[<p>We released our open source authorization system today. It helps you manage your users on your website, taking care of the following:</p>
<p>- user registration (with optional e-mail verification)<br />
- user login<br />
- lost account retrieval<br />
- password changing<br />
- user session management<br />
- password protecting certain pages or sections of your website</p>
<p>It is built using the CodeIgniter PHP framework so you will need that installed until we port it for general use. <a href="http://bizwidgets.biz/solutions/ezauth" title="download ezauth">Check it out</a>, there&#8217;s a <a href="http://bizwidgets.biz/demos/ezauth/mystore" title="try out the online demo of ezauth">fully working online demo</a> and <a href="http://bizwidgets.biz/user_guide/ezauth.htm" title="ezauth user guide">user guide with lots of documentation</a> as well!</p>
]]></content:encoded>
			<wfw:commentRss>http://bizwidgets.biz/blog/posts/ezauth-04-beta-release-our-user-management-system/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Facebook - The New Windows</title>
		<link>http://bizwidgets.biz/blog/posts/facebook-the-new-windows/</link>
		<comments>http://bizwidgets.biz/blog/posts/facebook-the-new-windows/#comments</comments>
		<pubDate>Thu, 04 Oct 2007 20:41:32 +0000</pubDate>
		<dc:creator>Daniel</dc:creator>
		
		<category><![CDATA[Apple]]></category>

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

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

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

		<category><![CDATA[Web2.0]]></category>

		<guid isPermaLink="false">http://bizwidgets.biz/blog/posts/facebook-the-new-windows/</guid>
		<description><![CDATA[Facebook is the new Microsoft Windows.
Why?
Before my time, Microsoft introduced Windows as a revolutionary new platform for developers make everyone&#8217;s lives easier. Apple came out with their aesthetic, remarkably easy interface that made (almost) everyone want a new Mac.

It wasn&#8217;t long before these big companies like IBM, Xerox, Microsoft, HP and of course Apple knew [...]]]></description>
			<content:encoded><![CDATA[<p>Facebook is the new Microsoft Windows.</p>
<p>Why?</p>
<p>Before my time, Microsoft introduced Windows as a revolutionary new platform for developers make everyone&#8217;s lives easier. Apple came out with their aesthetic, remarkably easy interface that made (almost) everyone want a new Mac.</p>
<p><img src="http://bizwidgets.biz/images/hello-mac.jpg" title="Hello Mac!" alt="Hello Mac!" align="right" border="0" vspace="10" style="padding-left: 20px;" /></p>
<p>It wasn&#8217;t long before these big companies like IBM, Xerox, Microsoft, HP and of course Apple knew what was coming down the train tracks. These revolutionary new personal computers were going to change everyone&#8217;s life.</p>
<p>And they did. Bill Gates became the richest man in the world and Steve Jobs continues to lead the technology industry with their classy products.</p>
<p>So where does Facebook come in?</p>
<p>Microsoft and Apple have maintained their operating systems for many years now and will continue to dominate that market. There are a few new systems that pop up, such as Linux and Ubuntu, but the two that will always be there are Windows and Mac. BUT as you may know, we are going through a rapidly changing era where the internet is transforming business, medicine, law, and daily life! The transformation of web2.0 technology enables us to entertain ourselves with YouTube, read news stories from hundreds of different sources, and outsource business projects to other companies for cheaper than ever possible. We can meet our future husbands and wives online and write on our friends&#8217; virtual walls on Facebook and MySpace.</p>
<p>OK, so I know about web2.0, what about Facebook?!</p>
<p>This last spring of 2007 Facebook launched its developer platform, unleashing web developers to create their own online software programs enhancing user profiles on facebook, providing more content and entertainment while in the process making lots of money! Everyone wants software to be interactive these days. In the U.S., I can say that most of everyone I meet has broadband internet access. Businesses can&#8217;t work without e-mail, internet access, and instant messaging. People can&#8217;t sit on the computer for 18 hours out of the day without internet access. The wave of the new internet has brought so many opportunities and there is still a lot to come. Instead of programming a game to play against a computer, we now have Wiis, X Box 360s, and computers that rely on your connection to the internet as a necessity to play. People want interactiveness, and they&#8217;ve got it with web2.0.</p>
<p>Web2.0 allows for mass collaboration, information sharing, and social networking at an overwhelming pace. In order to keep up, you almost can&#8217;t stay off the computer learning the new stuff for a day!</p>
<p>With that, I would like to say: If you haven&#8217;t joined facebook, do so. You will have a blast, especially if you know people already on it. If you are a developer, check out the developer platform and get to know it. It just may provide a new business opportunity!</p>
<p>Thanks for reading, comments are welcome!</p>
]]></content:encoded>
			<wfw:commentRss>http://bizwidgets.biz/blog/posts/facebook-the-new-windows/feed/</wfw:commentRss>
		</item>
		<item>
		<title>How to Create Website Pages for Free Using Weebly!</title>
		<link>http://bizwidgets.biz/blog/posts/how-to-create-website-pages-for-free-using-weebly/</link>
		<comments>http://bizwidgets.biz/blog/posts/how-to-create-website-pages-for-free-using-weebly/#comments</comments>
		<pubDate>Sat, 11 Aug 2007 00:23:58 +0000</pubDate>
		<dc:creator>Daniel</dc:creator>
		
		<category><![CDATA[Web Design]]></category>

		<category><![CDATA[Web2.0]]></category>

		<guid isPermaLink="false">http://bizwidgets.biz/blog/posts/how-to-create-website-pages-for-free-using-weebly/</guid>
		<description><![CDATA[Need a website soon and don&#8217;t want to explore XHTML and CSS? Use this cool new online webpage designer I found the other day. Learning how to create website pages is a cinch with the help of WYSIWYG (What You See Is What You Get) editors like Dreamweaver, only this webpage designer is web-based (cross-platform) [...]]]></description>
			<content:encoded><![CDATA[<p>Need a website soon and don&#8217;t want to explore XHTML and CSS? Use this cool new online webpage designer I found the other day. Learning how to create website pages is a cinch with the help of WYSIWYG (What You See Is What You Get) editors like Dreamweaver, only this webpage designer is web-based (cross-platform) and won&#8217;t cost you a penny! Plus, they were named one of the top 50 websites in 2007 by Time magazine.</p>
<p>If you go to <a href="http://www.weebly.com" title="Weebly - Free AJAX Website Designer">www.weebly.com</a> and sign up with your username and email you can start building your website in seconds. It uses a pretty AJAX interface, so that means you need to have Javascript enabled or you won&#8217;t be able to use Weebly. You can drag and drop any desired element to the page, including paragraphs, pictures, custom HTML or even pre-built Google Map widgets! If you have used Microsoft Word, you will probably find this tool a piece of cake!</p>
<p><img src="http://bizwidgets.biz/images/weebly_interface.png" title="Weebly WYSIWYG interface" alt="Weebly WYSIWYG interface" height="412" width="500" /></p>
<p>For those of you who have looked into other WYSIWYG editors you probably know that they can be very expensive, especially if you don&#8217;t have time to learn new programming languages and spend a bunch of money. If you like cool web2.0 freebies head over to weebly and learn how to create website pages using WYSIWYG editors!</p>
]]></content:encoded>
			<wfw:commentRss>http://bizwidgets.biz/blog/posts/how-to-create-website-pages-for-free-using-weebly/feed/</wfw:commentRss>
		</item>
		<item>
		<title>How to Design a Website from Scratch</title>
		<link>http://bizwidgets.biz/blog/posts/how-to-design-a-website-from-scratch/</link>
		<comments>http://bizwidgets.biz/blog/posts/how-to-design-a-website-from-scratch/#comments</comments>
		<pubDate>Fri, 10 Aug 2007 07:12:03 +0000</pubDate>
		<dc:creator>Daniel</dc:creator>
		
		<category><![CDATA[SEO]]></category>

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

		<category><![CDATA[Web2.0]]></category>

		<guid isPermaLink="false">http://bizwidgets.biz/blog/posts/how-to-design-a-website-from-scratch/</guid>
		<description><![CDATA[First, you will need a text editor such as TextMate for Mac, Notepad or PHP Web Designer 2007 for PC. There are also two things you must learn after you read up on how to design a website.  Those are:

Learn XHTML.
Learn CSS.

These two components are essential to building a solid website. If you build [...]]]></description>
			<content:encoded><![CDATA[<p>First, you will need a text editor such as <a href="http://macromates.com" title="textmate">TextMate</a> for Mac, Notepad or PHP Web Designer 2007 for PC. There are also two things you must learn after you read up on how to design a website.  Those are:</p>
<ol>
<li>Learn XHTML.</li>
<li>Learn CSS.</li>
</ol>
<p>These two components are essential to building a solid website. If you build a <em>large</em> business website without knowing XHTML and CSS, you will be banging your head on the desk from troubles with cross-browser compatibility, search engine optimization, maintainability and more later down the road. If you need help learning XHTML and CSS, you can visit <a href="http://w3schools.org" title="w3schools">W3Schools</a> or search for tutorials on Google. They aren&#8217;t very hard to pick up, and I can show you what your starting XHTML/CSS code will look like if you visit this <a href="http://bizwidgets.biz/blog/testpage.htm" title="Test Page">test page</a>.</p>
<p>That is the core part of any webpage. None of it should be left out, however you can always use a separate file for styling called a style sheet so the top of your webpage doesn&#8217;t have a bunch of styling in the header. Most of the what you will be editing will be inside the body tags, such as adding layered divs, images, text and hyperlinks.</p>
<p>After you are somewhat familiar with XHTML and CSS, you can find <a href="http://www.code-sucks.com/css%20layouts/" title="css layouts">XHTML/CSS layouts</a> so you don&#8217;t have to re-invent the wheel. There are some that are better than others and just make sure that the layouts you find use layered divs instead of tables. Layered divs may be harder to learn, but they save a lot of time down the road. You can use the layouts as a starting point to building your webpage. Some things to remember while building your first web pages are:</p>
<ul>
<li>Use heading tags (h1, h2, h3). Search engines place more weight on keywords in these tags. Make sure not to overload your pages with keyword phrases, however.</li>
<li>XHTML is only more cross-browser friendly if you close all of your tags. If you comply with this standard you will have an overall better website.</li>
<li>Try to substitute text for images when possible. Less images means less loading time and more content for visitors and search engines.</li>
</ul>
<p>After you create your new XHTML/CSS webpage using my tutorial on how to design a website, you can validate them at <a href="http://validator.w3.org" title="validator">validator.w3.org</a> to make sure they are compliant with XHTML transitional.</p>
<p>In order to create dynamic, interactive pages you need to learn a programming language such as PHP. PHP is used in conjunction with a MySQL database if you need one to provide more functionality such as an online store, blog, or just for capturing visitor information. I use a PHP framework called CodeIgniter that takes care of the basics when it comes to building websites such as session handling, database connetion and data retrieval, and also provides you more organization when building websites. If you want to learn more about CodeIgniter, <a href="http://bizwidgets.biz/blog/posts/build-your-first-web-20-app-with-php-ajax-and-codeigniter/" title="building web2.0 apps">read my article about building your first PHP web2.0 app</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://bizwidgets.biz/blog/posts/how-to-design-a-website-from-scratch/feed/</wfw:commentRss>
		</item>
		<item>
		<title>BizWidgets v 1.0!</title>
		<link>http://bizwidgets.biz/blog/posts/bizwidgets-v-10/</link>
		<comments>http://bizwidgets.biz/blog/posts/bizwidgets-v-10/#comments</comments>
		<pubDate>Thu, 09 Aug 2007 17:11:50 +0000</pubDate>
		<dc:creator>Daniel</dc:creator>
		
		<category><![CDATA[Business]]></category>

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

		<guid isPermaLink="false">http://bizwidgets.biz/blog/posts/bizwidgets-v-10/</guid>
		<description><![CDATA[We just got a new website and new business cards! Tell me what you think!

I carry my business cards around in a case from my favorite place to go.

Our website is not that web2.0 looking, but it&#8217;s simple and very easy to navigate. We do of course build web2.0 websites however if you are interested [...]]]></description>
			<content:encoded><![CDATA[<p>We just got a new website and new business cards! Tell me what you think!</p>
<p><img src="http://bizwidgets.biz/images/bcards2.jpg" title="business cards 1" alt="business cards 1" height="263" width="500" /></p>
<p>I carry my business cards around in a case from my favorite place to go.</p>
<p><img src="http://bizwidgets.biz/images/bcards3.jpg" title="business card holder" alt="business card holder" height="350" width="498" /><br />
Our website is not that web2.0 looking, but it&#8217;s simple and very easy to navigate. We do of course build web2.0 websites however if you are interested <img src='http://bizwidgets.biz/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>If you like the business cards, you can order them @ <a href="http://moo.com" title="moo cards">moo.com</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://bizwidgets.biz/blog/posts/bizwidgets-v-10/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Online Marketing: Staying Current in 2007</title>
		<link>http://bizwidgets.biz/blog/posts/online-marketing-staying-current-in-2007/</link>
		<comments>http://bizwidgets.biz/blog/posts/online-marketing-staying-current-in-2007/#comments</comments>
		<pubDate>Fri, 03 Aug 2007 18:29:26 +0000</pubDate>
		<dc:creator>Daniel</dc:creator>
		
		<category><![CDATA[Business]]></category>

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

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

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

		<category><![CDATA[Web2.0]]></category>

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

		<guid isPermaLink="false">http://bizwidgets.biz/blog/posts/online-marketing-staying-current-in-2007/</guid>
		<description><![CDATA[Call this a Guide to iMarketing in 2007.
There are a lot of new technologies out there such as blogging, podcasting, social bookmarking and networking, search engine optimization, internet marketing and web2.0.  I have been researching these technologies about 40 hours a week this summer to understand how everything fits together. Now, I want to [...]]]></description>
			<content:encoded><![CDATA[<p>Call this a Guide to iMarketing in 2007.</p>
<p>There are a lot of new technologies out there such as blogging, podcasting, social bookmarking and networking, search engine optimization, internet marketing and web2.0.  I have been researching these technologies about 40 hours a week this summer to understand how everything fits together. Now, I want to share what I compiled. It&#8217;s a basic laundry list and doesn&#8217;t go very in depth, but there are a lot of excellent resources in this guide. If anyone has anything to add, please comment!</p>
<p>I. Website ad planning, placement, and analytics:</p>
<blockquote><p>A. Conducting market research in your company&#8217;s field will provide relevant ways to reach potential clients. Some free market research tools/directories from the leaders in the online industry:</p>
<blockquote><p>1. <a href="http://www.google.com/trends/hottrends" title="Google Trends">Google Trends</a>: Find the top trends in the world - what people are searching for most<br />
2. <a href="http://pulse.ebay.com" title="eBay Pulse">Ebay Pulse</a>: Find what people are buying or looking to buy<br />
3. <a href="http://groups.google.com" title="Google Groups">Google Groups</a>: Find what people are talking about relevant to your industry<br />
4. <a href="http://technorati.com" title="Technorati">Technorati</a>: Find the top company/personal blogs<br />
5. <a href="http://alexa.com" title="Alexa">Alexa</a>: See what websites are growing fast in the world<br />
6. <a href="http://freekeywords.wordtracker.com" title="WordTracker">WordTracker</a>: Free keyword generator/lookup for your industry</p></blockquote>
</blockquote>
<blockquote><p>B. Using <a href="http://adwords.google.com" title="Google AdWords">Google Adwords</a> for relevant advertising for your target audience. Google is the best at matching a target audience to what they are looking for and you pay for clicks to your website, not impressions.</p></blockquote>
<blockquote><p>C. Tracking your website traffic and source of visitors, whether organic (by search engine using keywords or by referring sites) or by paid advertisements with <a href="http://www.google.com/analytics" title="Google Analytics">Google Analytics</a>. This tool also integrates seamlessly with Google Adwords.</p></blockquote>
<p>II. Use of social networking sites to build online presence.</p>
<blockquote><p>A. <a href="http://facebook.com" title="Facebook">Facebook</a>: An online networking website now open to companies<br />
B. <a href="http://myspace.com" title="MySpace">MySpace</a>: An online networking website open to anyone<br />
C. <a href="http://linkedin.com" title="LinkedIn">LinkedIn</a>: A growing online community for companies<br />
D. <a href="http://del.icio.us" title="del.icio.us">Delicous</a>: A community bookmarking website<br />
E. <a href="http://digg.com" title="Digg">Digg</a>: A newspaper where top stories rise to the front page<br />
F. <a href="http://netscape.com" title="Netscape">Netscape</a>: A community bookmarking website<br />
G. <a href="http://twitter.com" title="Twitter">Twitter</a>: A SMS (cell phone text messaging) news website</p></blockquote>
<p>III. Using (free) Web2.0 sites to market your company through new media. All of the following are ways to let the community know what you are up to. Building a subscriber base to your blogs, podcasts, press releases, etc. can drive traffic to your website and keep the community informed. Providing RSS feeds also makes your company news accessible to mobile devices.</p>
<blockquote><p>A. <a href="http://youtube.com" title="YouTube">YouTube</a> Videos/Podcasting</p>
<blockquote><p>1. Essential to marketing in 2007 providing media for mobile devices (cell phones, <a href="http://apple.com/iphone" title="iPhone">iPhones</a>, <a href="http://apple.com/ipod" title="iPod">iPods</a>).<br />
2. Provides a free way to promote through audio/video.</p></blockquote>
<p>B. <a href="http://wordpress.com" title="WordPress">Blogs</a></p>
<blockquote><p>1. Blogs are the fastest growing way to market your company online.<br />
2. They are easy to set up and build dramatic website traffic quickly.<br />
3. Provide current information for readers and content for search engines.<br />
4. They are the easiest way to increase your search engine ranking.</p></blockquote>
</blockquote>
<p>IV. Staying current with webinars, message boards and RSS feeds.</p>
<blockquote><p>A. <a href="http://thirtydaychallenge.com" title="Thirty Day Challenge">Thirty Day Challenge</a>: An online marketing course with cutting-edge, unprecedented ways to market online.<br />
B. Message Boards: Discuss topics in your industry with other companies like yours.<br />
C. <a href="http://google.com/reader" title="Google Reader">Google Reader</a>: Stay current by subscribing to news, company press releases, blogs, podcasts, etc. who provide RSS feeds.<br />
D. <a href="http://9rules.com" title="9Rules">9Rules</a>: Blog Aggregator/Community Message Board/Blog.</p></blockquote>
]]></content:encoded>
			<wfw:commentRss>http://bizwidgets.biz/blog/posts/online-marketing-staying-current-in-2007/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Fellow Blogger Review: Slayerment</title>
		<link>http://bizwidgets.biz/blog/posts/fellow-blogger-review-slayerment/</link>
		<comments>http://bizwidgets.biz/blog/posts/fellow-blogger-review-slayerment/#comments</comments>
		<pubDate>Wed, 01 Aug 2007 04:41:52 +0000</pubDate>
		<dc:creator>Daniel</dc:creator>
		
		<category><![CDATA[Business]]></category>

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

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

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

		<guid isPermaLink="false">http://bizwidgets.biz/blog/posts/fellow-blogger-review-slayerment/</guid>
		<description><![CDATA[Yesterday, I came across a really cool site. He talk about topics I am interested in, such as SEO, web 2.0, blogging, marketing, and business in general. The other articles not pertaining to web design seem a little too opinionated and might scare some people off, but some of the web design articles are right [...]]]></description>
			<content:encoded><![CDATA[<p>Yesterday, I came across a really cool site. He talk about topics I am interested in, such as SEO, web 2.0, blogging, marketing, and business in general. The other articles not pertaining to web design seem a little too opinionated and might scare some people off, but some of the web design articles are right on.</p>
<p>Finding &#8216;Slayerment&#8217; on the Digg home page a few days ago, I browsed the site and found some really great articles about web design to which I can relate.</p>
<p>His posts about web design are very easy to read and entertaining most of the time. Check out his article that was featured on Digg, <a href="http://www.slayerment.com/blog/12-ways-turn-your-web-10-site-web-20-site" title="12 ways to turn your web 1.0 site into a web 2.0 site">12 ways to turn your Web 1.0 site into a Web 2.0 site</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://bizwidgets.biz/blog/posts/fellow-blogger-review-slayerment/feed/</wfw:commentRss>
		</item>
		<item>
		<title>How CodeIgniter Keeps You Organized</title>
		<link>http://bizwidgets.biz/blog/posts/how-codeigniter-keeps-you-organized/</link>
		<comments>http://bizwidgets.biz/blog/posts/how-codeigniter-keeps-you-organized/#comments</comments>
		<pubDate>Tue, 31 Jul 2007 17:05:13 +0000</pubDate>
		<dc:creator>Daniel</dc:creator>
		
		<category><![CDATA[CodeIgniter]]></category>

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

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

		<category><![CDATA[Web2.0]]></category>

		<guid isPermaLink="false">http://bizwidgets.biz/blog/posts/how-codeigniter-keeps-you-organized/</guid>
		<description><![CDATA[I have written a few articles on CodeIgniter now because it truly has changed the way I develop websites. It has cut the development time in at least half, preventing redundant work by providing great built-in features that I can use in every one of my projects. Plus, CodeIgniter is so easy to pick up. [...]]]></description>
			<content:encoded><![CDATA[<p>I have written a few articles on CodeIgniter now because it truly has changed the way I develop websites. It has cut the development time in at least half, preventing redundant work by providing great built-in features that I can use in every one of my projects. Plus, CodeIgniter is so easy to pick up. You can start building CI apps in about 10 minutes after watching the <a href="http://codeigniter.com/tutorials/" title="CodeIgniter Tutorials">CI tutorials</a> and reading <a href="http://bizwidgets.biz/blog/posts/build-your-first-web-20-app-with-php-ajax-and-codeigniter/" title="My Tutorial on CI apps">my tutorial</a> on getting set up. If you are new to Object Oriented Programming, you can <a href="http://bizwidgets.biz/blog/posts/why-php-and-javascript-object-oriented-programming-oop-are-easier/" title="Intro to OOP">read my introduction to OOP</a> also.</p>
<p>The way CodeIgniter keeps you organized is this: It keeps everything separate and in their own folders. Just as you would build a website and have an images, css, and javascripts folder so they are separate from the rest of your website, CodeIgniter takes the extra step and organizes your actual website content.  CodeIgniter organizes your projects for you with MVC (Model-View-Controller) programming. Here&#8217;s the basic structure for MVC projects:</p>
<p>Models</p>
<ul>
<li>Interact with your database and return the retrieved data to the controller.</li>
<li>These are the files you want to build once and not have to edit them ever again. For example, a blog model would include functions to retrieve blog posts and comments, pages, users, page views, etc.</li>
</ul>
<p>Controllers</p>
<ul>
<li>Your controller will load a model, such as a blog model, to retrieve data such as a blog post. You can manipulate the data however you want here and then pass it on to the view.</li>
</ul>
<p>Views</p>
<ul>
<li>Views are what the visitor actually sees. You want this to contain as little PHP and and styling code as possible. This is for your raw content. Use style sheets to style the content and trim the PHP code as much as possible.</li>
</ul>
<p>Images</p>
<ul>
<li>Store your images in an images folder in the website root folder. If you have trouble calling retrieving images with CodeIgniter <a href="http://http://bizwidgets.biz/blog/posts/build-your-first-web-20-app-with-php-ajax-and-codeigniter/" title="CodeIgniter and .htaccess">read my article on how to stop these headaches</a>.</li>
</ul>
<p>Javascripts</p>
<ul>
<li>Try to attach your javascript functions to the DOM after the page loads in your javascript file. This way, you can keep your javascript functions out of the views that are for your content, and it helps you program your website to be compatible with browsers that aren&#8217;t using javascript.</li>
</ul>
<p>CSS</p>
<ul>
<li>Style your page here. Try to stay away from inline styling. This way, search engines and visitors who are using mobile devices will be able to see your page without styling getting in the way.</li>
</ul>
<p>.htaccess file</p>
<ul>
<li>This file, along with your routes.php file in the CodeIgniter config folder, re-routes your URLs to look pretty. This really helps search engines and visitors remember where pages are on your website. You can get rid of URLs with metadata in them. (http://www.thiswebsite.com/index.php?function=how%20to%20get%20rid%20of%20stupid%20long%20URLs)</li>
</ul>
<p>Voila. Organized Website Project.</p>
<p>I will accept donations via paypal @ daniel@distributorone.com. Just Kidding.</p>
<p>Thanks to CodeIgniter, MooTools, and new knowledge of how Object Oriented Programming is supposed to work, my projects are much more organized, and I can spend more time being productive because of these tools. Thanks for reading!</p>
]]></content:encoded>
			<wfw:commentRss>http://bizwidgets.biz/blog/posts/how-codeigniter-keeps-you-organized/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Why PHP and Javascript Object Oriented Programming (OOP) are Easier</title>
		<link>http://bizwidgets.biz/blog/posts/why-php-and-javascript-object-oriented-programming-oop-are-easier/</link>
		<comments>http://bizwidgets.biz/blog/posts/why-php-and-javascript-object-oriented-programming-oop-are-easier/#comments</comments>
		<pubDate>Tue, 31 Jul 2007 15:14:17 +0000</pubDate>
		<dc:creator>Daniel</dc:creator>
		
		<category><![CDATA[CodeIgniter]]></category>

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

		<guid isPermaLink="false">http://bizwidgets.biz/blog/posts/why-php-and-javascript-object-oriented-programming-oop-are-easier/</guid>
		<description><![CDATA[I use the CodeIgniter and MooTools frameworks for my website projects nowadays. They are far easier to work with and understand if you understand Object Oriented Programming. If you are spaghetti coding your websites line by line, you will be in for a treat when you learn OOP. Here is how it works:
Say you want [...]]]></description>
			<content:encoded><![CDATA[<p>I use the <a href="http://codeigniter.com" title="CodeIgniter">CodeIgniter</a> and <a href="http://mootools.net" title="MooTools">MooTools</a> frameworks for my website projects nowadays. They are far easier to work with and understand if you understand Object Oriented Programming. If you are spaghetti coding your websites line by line, you will be in for a treat when you learn OOP. Here is how it works:</p>
<p>Say you want to describe a human being with code. You will create a class called Human:</p>
<p><code>class Human {</code></p>
<p><code>}</code></p>
<p>Now, you want the human to perform a few functions. This is simple also; you create functions within the class to describe the human&#8217;s actions.</p>
<p><code>class Human {</code></p>
<blockquote><p><code>    function Eat($food) {</code></p>
<p><code>    }</code></p>
<p><code>    function Sleep($time) {</code></p>
<p><code>    }</code></p></blockquote>
<p><code>}</code></p>
<p>Now our human can eat and sleep. In PHP, you would create a new human by instantiation. So we can create Bob.</p>
<p><code>$Bob = new Human();</code></p>
<p>If we want Bob to eat,</p>
<p><code>$Bob-&gt;Eat($chicken);</code></p>
<p>Go to sleep, Bob!</p>
<p><code>$Bob-&gt;Sleep($one_hour);</code></p>
<p>We have just told Bob to eat chicken and sleep for an hour. Pretty easy, eh?</p>
<p>This same principal applies to CodeIgniter for PHP and MooTools for Javascript. They are object oriented, so it is very easy to implement them into youur websites. If you need session handling to password protect certain pages of your website, you just instantiate the session library in CodeIgniter and it will manage user sessions for you. If you need to update a layer on your website dynamically, such filling in the current weather or water temperature (such as this site: <a href="http://www.easylakeliving.com" title="Easy Lake Living">www.easylakeliving.com</a>) you can do so simply by calling:</p>
<p><code>new Ajax('url_to_get_weather', {</code><br />
<code>method: 'get',</code><br />
<code>update: $('current_weather')</code><br />
<code>}).request();</code></p>
<p>Just by calling Ajax, you are updating the &#8216;current_weather&#8217; layer on the website with the information provided by the URL &#8216;url_to_get_weather.&#8217;</p>
<p>That&#8217;s OOP for ya!</p>
]]></content:encoded>
			<wfw:commentRss>http://bizwidgets.biz/blog/posts/why-php-and-javascript-object-oriented-programming-oop-are-easier/feed/</wfw:commentRss>
		</item>
		<item>
		<title>CodeIgniter Routes Trick - Removing Controller Names from the URI to Keep URLs Short.</title>
		<link>http://bizwidgets.biz/blog/posts/codeigniter-routes-trick-removing-controller-names-from-the-uri-to-keep-urls-short/</link>
		<comments>http://bizwidgets.biz/blog/posts/codeigniter-routes-trick-removing-controller-names-from-the-uri-to-keep-urls-short/#comments</comments>
		<pubDate>Tue, 31 Jul 2007 14:38:07 +0000</pubDate>
		<dc:creator>Daniel</dc:creator>
		
		<category><![CDATA[CodeIgniter]]></category>

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

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

		<category><![CDATA[Web2.0]]></category>

		<guid isPermaLink="false">http://bizwidgets.biz/blog/posts/codeigniter-routes-trick-removing-controller-names-from-the-uri-to-keep-urls-short/</guid>
		<description><![CDATA[CodeIgniter is great because you can separate your content from your styling with controllers, models, and views. Another great thing is when you create a website with CI, you automatically use friendly URLs (if you use an .htaccess file). If you have a bunch of unrelated pages however, you might wonder how you can keep [...]]]></description>
			<content:encoded><![CDATA[<p>CodeIgniter is great because you can separate your content from your styling with controllers, models, and views. Another great thing is when you create a website with CI, you automatically use friendly URLs (<a href="http://bizwidgets.biz/blog/posts/build-your-first-web-20-app-with-php-ajax-and-codeigniter/" title="Building with CodeIgniter">if you use an .htaccess file</a>). If you have a bunch of unrelated pages however, you might wonder how you can keep those URLs as tiny as possible without having thirty different controllers for each page. For example, I have a CI application with a home controller that has about 20 different functions inside of it. To access each one of these functions, I would normally visit http://localhost/home/contact or http://localhost/home/about_us. Since we don&#8217;t really need home in the URL, I have found a way to remove it from the URL, still allowing other controllers to function normally. Here&#8217;s how to do it:</p>
<p>Open up your routes.php file inside the application/config folder in your CI app and add the following line to the end of the routes.php file:</p>
<p><code>$route['^(?!ezstore|ezsell|login).*'] = &#8220;home/$0&#8243;;</code></p>
<p>This line uses a regular expression that means, If a visitor goes to any url EXCEPT ezstore, ezsell, or login, redirect them to the home controller, and the function inside the home controller ($0). This way, every time we call a function from the home controller, such as contact, about_us, services, etc., we can snip home out of the URL and keep our URLs short and pretty.</p>
<p>The end!</p>
]]></content:encoded>
			<wfw:commentRss>http://bizwidgets.biz/blog/posts/codeigniter-routes-trick-removing-controller-names-from-the-uri-to-keep-urls-short/feed/</wfw:commentRss>
		</item>
	</channel>
</rss>
