<?xml version="1.0"?>
<rss version="2.0">
  <channel>
    <title>PHPDeveloper.org</title>
    <link>http://www.phpdeveloper.org</link>
    <description>Up-to-the Minute PHP News, views and community</description>
    <language>en-us</language>
    <pubDate>Sun, 19 May 2013 02:59:10 -0500</pubDate>
    <ttl>30</ttl>
    <item>
      <title><![CDATA[NetTuts.com: Basecamp Style Subdomains With CodeIgniter]]></title>
      <guid>http://www.phpdeveloper.org/news/15454</guid>
      <link>http://www.phpdeveloper.org/news/15454</link>
      <description><![CDATA[<p>
On NetTuts.com today there's a new tutorial showing you how to use the <a href="http://codeigniter.com">CodeIgniter</a> framework to create <a href="http://net.tutsplus.com/tutorials/php/basecamp-style-subdomains-with-codeigniter/">Basecamp-style subdomains</a> in your application.
</p>
<blockquote>
CodeIgniter is a simple and lightweight PHP framework used to create powerful web applications. Today, we are going to do something nifty: we'll combine user names and subdomains to make for a more cohesive user experience. If you're a bit confused, this feature allows your users to access their accounts by typing in a custom url, which maps to their user name, such as harbinger.yourapp.com. 
</blockquote>
<p>
Their setup shows the homepage for the application if you go directly to the domain but changes to a login form when you hit the subdomain. There's a bit of DNS configuration involved to get the subdomains working (you'll have to add in a wildcard to catch the subdomains). They show you how to set this up on your localhost if you're working on OSX or Windows. With a few changes to the Apache server for virtual host and a basic install of CodeIgniter, they get started creating the database tables and control panel application.
</p>]]></description>
      <pubDate>Thu, 18 Nov 2010 12:38:23 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[Ask About PHP: Codeigniter: Setting up multiple sites on one install]]></title>
      <guid>http://www.phpdeveloper.org/news/13079</guid>
      <link>http://www.phpdeveloper.org/news/13079</link>
      <description><![CDATA[<p>
On the Ask About PHP blog there's <a href="http://www.askaboutphp.com/tutorials/88/codeigniter-setting-up-multiple-sites-on-one-install.html">a quick tutorial</a> looking at a setup to use the <a href="http://codeigniter.com">CodeIgniter</a> framework to power multiple websites (in subdomains).
</p>
<blockquote>
CI's default folder structure is really geared towards one site domain, and having both the application folder and the system folder visible to the browser is not exactly a secure approach. By configuring your install to support multiple sites, not only do you make the updating of the CI core easier, but also make the CI install more secure as a whole.
</blockquote>
<p>
The example is on a Windows system, but the instructions are generic enough to work on any platform. They're using it under a XAMPP install, but the changes are all below the document root of that setup. You'll need to edit some of the config files and be able to update the Apache configuration to work with <a href="http://httpd.apache.org/docs/1.3/vhosts/">VirtualHosts</a>
</p>]]></description>
      <pubDate>Thu, 20 Aug 2009 09:03:26 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Site News: The Move to Jobs.PHPDeveloper.org]]></title>
      <guid>http://www.phpdeveloper.org/news/10933</guid>
      <link>http://www.phpdeveloper.org/news/10933</link>
      <description><![CDATA[<p>
Based on some feedback that I got from readers a little while back (and some of my own thoughts before that), I've decided to split off the job postings to take them out of the main feed. Several people felt that they distract from the main portion of the site - the news.
</p>
<p>
They haven't gone to far, though - as you'll notice, there's now a <a href="http://jobs.phpdeveloper.org/feed">"Jobs Feed"</a> on the sidebar that you can subscribe to and get the latest jobs posted with us. This number is growing more and more every day, so it's a great place to keep up with. We've also moved them over to their own subdomain, <a href="http://jobs.phpdeveloper.org">jobs.phpdeveloper.org</a> to keep things nice and tidy.
</p>
<p>
From here on out, if you want to find out about the latest job openings, you'll need to subscribe to the <a href="http://jobs.phpdeveloper.org/feed">new jobs feed</a> or check out the new subdomain, <a href="http://jobs.phpdeveloper.org">jobs.phpdeveloper.org</a> to keep up with the latest postings. We'll still post the weekly summaries here in the main feed each Saturday for those that just want the overview.
</p>]]></description>
      <pubDate>Sat, 30 Aug 2008 09:34:40 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[John Rockefeller's Blog: PHP Tricks: How To Handle Multiple Domains]]></title>
      <guid>http://www.phpdeveloper.org/news/10278</guid>
      <link>http://www.phpdeveloper.org/news/10278</link>
      <description><![CDATA[<p>
<i>John Rockefeller</i> has <a href="http://www.johnrockefeller.net/?p=194">a tip</a> he'd like to share with all of the other PHP developers out there - a little method he's come up with to host multiple domains off of the same code.
</p>
<blockquote>
This is really handy for those of us who have the same code handling multiple sites or multiple sub-domains. A case in point: When I coded NetBoardz (my free forum hosting service now defunct), I had one codebase handling all 250 forums. How? Simple. When the code runs, it determines which site the user is loading and does different things (like using different databases) dynamically.
</blockquote>
<p>
He shows the two <a href="http://www.johnrockefeller.net/?p=194">key points</a> to dividing things up - grabbing the domain and subdomain they were trying to access. This can be fed into a script that can switch things like layout or even functionality based on which site they've chosen.
</p>]]></description>
      <pubDate>Tue, 27 May 2008 11:11:01 -0500</pubDate>
    </item>
  </channel>
</rss>
