<?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/"
	xmlns:series="http://unfoldingneurons.com/"
	>

<channel>
	<title>eCustom Solutions</title>
	<atom:link href="http://ecustom.ca/feed/" rel="self" type="application/rss+xml" />
	<link>http://ecustom.ca</link>
	<description>&#34;We make web solutions that work.&#34;</description>
	<lastBuildDate>Sat, 11 Feb 2012 16:25:13 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Update: Laravel Tutorials Status and some Site News</title>
		<link>http://ecustom.ca/website/update-laravel-tutorials-status-and-some-site-news/</link>
		<comments>http://ecustom.ca/website/update-laravel-tutorials-status-and-some-site-news/#comments</comments>
		<pubDate>Sat, 11 Feb 2012 16:24:56 +0000</pubDate>
		<dc:creator>The Company</dc:creator>
				<category><![CDATA[News]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[Website]]></category>

		<guid isPermaLink="false">http://ecustom.ca/?p=378</guid>
		<description><![CDATA[I&#8217;ve been working away at some Laravel tutorials that use the 3.0 codebase to work off of, it&#8217;s introduced some significant changes to the core and the tutorials will provide everything a beginner needs to get started. I will also post some tutorials that have been requested on the forums, so look forward to those [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve been working away at some Laravel tutorials that use the 3.0 codebase to work off of, it&#8217;s introduced some significant changes to the core and the tutorials will provide everything a beginner needs to get started.</p>
<p>I will also post some tutorials that have been requested on the forums, so look forward to those coming up soon.</p>
<p>By the way, I&#8217;ve got a special tutorial series coming up, in which I rewrite the code for this website with Laravel. It&#8217;s currently on WordPress, but I don&#8217;t need that extra bloat for a simple blog, so I&#8217;ll be scrapping all that in favour of Laravel.</p>
]]></content:encoded>
			<wfw:commentRss>http://ecustom.ca/website/update-laravel-tutorials-status-and-some-site-news/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>The Basics of Laravel Routes and Views</title>
		<link>http://ecustom.ca/tutorials/basic-laravel-routing-and-views/</link>
		<comments>http://ecustom.ca/tutorials/basic-laravel-routing-and-views/#comments</comments>
		<pubDate>Fri, 30 Sep 2011 16:00:05 +0000</pubDate>
		<dc:creator>The Company</dc:creator>
				<category><![CDATA[Tutorials]]></category>

		<guid isPermaLink="false">http://ecustom.ca/?p=282</guid>
		<description><![CDATA[Today we&#8217;ll be covering GET Routes and Views, the core of Laravel, the defining aspect of any Laravel web application. This is part of a series of posts designed to help a newcomer to the Laravel PHP framework find their way around. By the time this series is through, we&#8217;ll know the ins and outs [...]]]></description>
			<content:encoded><![CDATA[<p>Today we&#8217;ll be covering GET Routes and Views, the core of Laravel, the defining aspect of any Laravel web application.</p>
<p>This is part of a series of posts designed to help a newcomer to the Laravel PHP framework find their way around. By the time this series is through, we&#8217;ll know the ins and outs of this amazing little framework. Now, enough talk, let&#8217;s get to work!</p>
<p><span id="more-282"></span></p>
<hr />
<h3>Routes &#8211; The Functionality &#038; Views &#8211; The Looks</h3>
<p>Within Laravel, routes define what URLs users will access to use your application. Routes can respond to the four different HTTP verbs: GET, POST, PUT, and DELETE. GET is the standard verb used when entering a URL into your browser&#8217;s address bar. POST is generally used when submitting forms. PUT is meant for updating data, but is rarely used, and DELETE is fairly self explanatory.</p>
<p>We&#8217;ll cover using GET routes today, but we&#8217;ll cover POST in the short future, which is related to form handling.</p>
<p>All the code we create today will be going in the application/routes.php file, which we covered briefly in <a href="http://ecustom.ca/tutorials/install-and-setup-laravel-php-framework-tutorial/">last day&#8217;s tutorial</a>.</p>
<p>By default, the routes.php file provided by Laravel has only one route:</p>
<pre class="php" name="code">'GET /' => function()
{
	return View::make('home.index');
},</pre>
<p>This is the route which responds to http://localhost/laravel/public. Any code we place within the curly braces will be executed when that URL is accessed. What if we want to respond to other URLs? No problem, just create a new route:</p>
<pre class="php" name="code">'GET /newroute' => function()
{

},</pre>
<p>That&#8217;s all we need to create a new route! Simple, right?</p>
<h4>Coding our Own Custom Route</h4>
<p>Now, we need some actual code to execute in this route. In the previous tutorial, we just echoed &#8220;Hello World!&#8221; and we were done. Today, we&#8217;re going to go a bit more in depth.</p>
<p>Currently, the default route is returning a View when we access it, which is the most common response when creating routes. It is returning the view located in application/views/home/index.</p>
<p>Now, let&#8217;s keep working on our &#8220;newroute&#8221; route. We&#8217;re going to create a view to display in our route. Create a new file, index.php in application/views/newroute. It doesn&#8217;t actually need to be in the /newroute directory, but it helps with organization. Within this file, we&#8217;re going to put in our code for the webpage that we want to display when a user visits our route.</p>
<p>Open up that newly made index.php file, and put this code (or something similar), within it:</p>
<pre class="html" name="code"><!doctype html>
<html lang="en">
	<head>
		<meta charset="utf-8">

	</head>

	<body>
<div id="content">
<h1>Hello!</h1>

Hum-drum-de-dum....
</div>

	</body>
</html></pre>
<p>Now we need to update our &#8220;newroute&#8221; route in application/routes.php to reflect this new view:</p>
<pre class="php" name="code">'GET /newroute' => function()
{
	return View::make('newroute.index');
},</pre>
<p>That should let us view the view when we visit /newroute in our browser. The URL to access should be along the lines of http://localhost/laravel/public/index.php/newroute.</p>
<p>A few notes:</p>
<ol>
<li>When selecting a view in your route, you can also use &#8220;newroute/index&#8221; instead of &#8220;newroute.index&#8221;, both work just fine.</li>
<li>Notice that index.php in the URL to access newroute? That&#8217;s needed for the routing, but it&#8217;s so ugly! Surely there&#8217;s a way to remove it? No worries, we&#8217;ve got you covered. You&#8217;re just going to need to create a .htaccess file in your root directory, but if that&#8217;s a bit confusing, check out <a href="http://ecustom.ca/tutorials/prettifying-laravel-urls/">this tutorial</a>.</li>
<li>What about that public in the URL? That&#8217;s kind of ugly too. But just hold on, we&#8217;ll deal with that in the future, once we have something a bit more production ready. If you&#8217;re really curious, leave me a comment below, and I&#8217;ll do my best to help you.</li>
</ol>
<h4>Binding Some Custom Data to our View</h4>
<p>So serving up a static page is fine and dandy, but what about when we want to deliver dynamic content? Luckily for us, Laravel has us covered by providing us with the with() method.</p>
<p>Let&#8217;s add a simple title to our view. To do this, we&#8217;re going to open up our application/views/newroute/index.php file, and change the title (line 5) to this:</p>
<pre class="html" name="code">
</pre>
<p>Now we need to give that variable a value. To do this, we&#8217;ll use the bind method!</p>
<p>Open the routes.php file (application/routes.php), and change the newroute route to this:</p>
<pre class="php" name="code">'GET /newroute' => function()
{
	return View::make('newroute.index')
		->with('title', 'Our Awesome Title');
},</pre>
<p>This code will bind the $title variable with the value &#8220;Our Awesome Title&#8221; which will display as the title whenever we view the newroute route.</p>
<p>Usually in a Laravel deployment, we would bind database data to our variables, but we&#8217;ll get to that in the future.</p>
<hr />
<h3>That&#8217;s a Wrap!</h3>
<p>Well that&#8217;s all for today, folks. We covered the very basics of GET routes and views, which make up the backbone of Laravel. Next day we&#8217;ll cover POST routes, and working with forms.</p>
<p>There’s always a great opportunity for discussion in the comments, so if you have any questions regarding the usage of Laravel, leave them below.</p>
]]></content:encoded>
			<wfw:commentRss>http://ecustom.ca/tutorials/basic-laravel-routing-and-views/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
		<item>
		<title>Code Poetry &#8211; A Laravel Project</title>
		<link>http://ecustom.ca/uncategorized/code-poetry-a-laravel-project/</link>
		<comments>http://ecustom.ca/uncategorized/code-poetry-a-laravel-project/#comments</comments>
		<pubDate>Tue, 27 Sep 2011 23:20:20 +0000</pubDate>
		<dc:creator>The Company</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://ecustom.ca/?p=333</guid>
		<description><![CDATA[I just published version 1.0 of Code Poetry, a Laravel PHP project! Many people see programming as a form of art, and I&#8217;d like to be able to have a place for these people to express it. Whenever you create a piece of code that you think is creative, poetic, or funny, then you should [...]]]></description>
			<content:encoded><![CDATA[<p>I just published version 1.0 of Code Poetry, a Laravel PHP project!</p>
<p>Many people see programming as a form of art, and I&#8217;d like to be able to have a place for these people to express it. Whenever you create a piece of code that you think is creative, poetic, or funny, then you should head on over to <a href="//code-poetry.ecustom.ca" title="code-poetry.ecustom.ca">code-poetry.ecustom.ca</a> and submit it!</p>
<p>I&#8217;d like for you guys and gals to head on over there and contribute something if interested. Currently there are no posts, so I encourage you to be the first!</p>
]]></content:encoded>
			<wfw:commentRss>http://ecustom.ca/uncategorized/code-poetry-a-laravel-project/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Named Routes in Laravel</title>
		<link>http://ecustom.ca/tutorials/named-routes-in-laravel/</link>
		<comments>http://ecustom.ca/tutorials/named-routes-in-laravel/#comments</comments>
		<pubDate>Thu, 22 Sep 2011 00:39:26 +0000</pubDate>
		<dc:creator>The Company</dc:creator>
				<category><![CDATA[Tutorials]]></category>

		<guid isPermaLink="false">http://ecustom.ca/?p=311</guid>
		<description><![CDATA[Today we&#8217;ll be covering using named routes in Laravel, which will ultimately make our lives easier in building our final web application. This is part of a series of posts designed to help a newcomer to the Laravel PHP framework find their way around. By the time this series is through, we’ll know the ins [...]]]></description>
			<content:encoded><![CDATA[<p>Today we&#8217;ll be covering using named routes in Laravel, which will ultimately make our lives easier in building our final web application.</p>
<p>This is part of a series of posts designed to help a newcomer to the Laravel PHP framework find their way around. By the time this series is through, we’ll know the ins and outs of this amazing little framework. Now, enough talk, let’s get to work!</p>
<p><span id="more-311"></span><br />
<hr />
<h3>Naming Routes</h3>
<p>Within Laravel, it is often useful to be able to name our routes. One of the main reasons for this is for URL related actions (e.g. redirecting, building URLs automatically, etc). When a route is named, we can more easily link to it using Laravel&#8217;s built-in functions.</p>
<p>Naming a route in Laravel is really easy:</p>
<pre name="code" class="php">
'GET /newroute' => array('name' => 'new_route', function()
{
	return View::make('newroute.index');
}),
</pre>
<p>There are some very important things to notice here:</p>
<ul>
<li>Firstly, our route is now equal to an array. As a result of this, we need to put a closing array brace &#8220;)&#8221; at the end of our route function.</li>
<li>Secondly, we have added a key/value pair of name/route&#8217;s_name. In this case, the name of this route is new_route.</li>
</ul>
<p>Now, there are some benefits to using named routes. When we have a really long route name (think: &#8216;/our/really/long/route/name&#8217;), we want a short name that we can refer to it by when redirecting, or performing other URL related tasks. We could name this &#8216;long_route&#8217;, and simply refer to it as such.</p>
<p>For an example, we&#8217;re going to cover the Redirect library provided by Laravel, which allows us to send the user to other URLs very easily within our application.</p>
<p>Without using named routes, our redirect would look something like this:</p>
<pre name="code" class="php">
'GET /redirect_url' => function()
{
	Redirect::to('/our/really/long/route');
},
</pre>
<p>Hmm, notice how long the URL is that we&#8217;re redirecting to? Wouldn&#8217;t it be handy if we could refer to just the name of the route? Luckily for us, we can!</p>
<p>Note: Don&#8217;t forget to create the route that we&#8217;re redirecting to, I&#8217;ll leave it to you to figure out (if you&#8217;re really stuck, leave a comment below). Make sure to remember the name!</p>
<p>Replace the above code with this:</p>
<pre name="code" class="php">
'GET /redirect_url' => function()
{
	Redirect::to_long_route();
},
</pre>
<p>Much shorter, and easier to read, right? Convenience is huge when creating websites, and Laravel helps with this by providing a great amount of helper functions.</p>
<hr />
<p>There’s always a great opportunity for discussion in the comments, so if you have any questions regarding the usage of Laravel, leave them below.</p>
]]></content:encoded>
			<wfw:commentRss>http://ecustom.ca/tutorials/named-routes-in-laravel/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<series:name><![CDATA[Laravel for the Complete Beginner]]></series:name>
	</item>
		<item>
		<title>Prettifying Laravel URLs</title>
		<link>http://ecustom.ca/tutorials/prettifying-laravel-urls/</link>
		<comments>http://ecustom.ca/tutorials/prettifying-laravel-urls/#comments</comments>
		<pubDate>Mon, 19 Sep 2011 22:09:39 +0000</pubDate>
		<dc:creator>The Company</dc:creator>
				<category><![CDATA[Tutorials]]></category>

		<guid isPermaLink="false">http://ecustom.ca/?p=298</guid>
		<description><![CDATA[Laravel is a great PHP framework, but unfortunately it&#8217;s default URLs have index.php in them. Today, we&#8217;ll be covering how to fix this problem by providing a solution for both Apache and nginx servers! Apache Servers: .htaccess On Apache servers, we need to create a .htaccess file with some Rewrite rules in it. You&#8217;ll need [...]]]></description>
			<content:encoded><![CDATA[<p>Laravel is a great PHP framework, but unfortunately it&#8217;s default URLs have index.php in them.</p>
<p>Today, we&#8217;ll be covering how to fix this problem by providing a solution for both Apache and nginx servers!</p>
<p><span id="more-298"></span><br />
<hr />
<h3>Apache Servers: .htaccess</h3>
<p>On Apache servers, we need to create a .htaccess file with some Rewrite rules in it. You&#8217;ll need to place this in whatever directory Laravel is installed in, and place it in the root of that folder (e.g., not in the application directory, not in the public directory, but in the root).</p>
<p>Create a .htaccess file and paste this code into it:</p>
<pre name="code" class="c">
&lt;IfModule mod_rewrite.c>
     RewriteEngine on

     RewriteCond %{REQUEST_FILENAME} !-f
     RewriteCond %{REQUEST_FILENAME} !-d

     RewriteRule ^(.*)$ index.php/$1 [L]
&lt;/IfModule>
</pre>
<p>This code will allow you to access any Laravel URL without the index.php in it. So for example, myapachesite.com/index.php/randomroute, would become myapachesite.com/randomroute. Much cleaner!</p>
<p>However, before we can do that, we must change a setting.</p>
<h3>nginx Servers: nginx.conf</h3>
<p>On nginx servers, we need to create a nginx.conf file with a rule in it. You&#8217;ll need to place this in whatever directory Laravel is installed in, and place it in the root of that folder (e.g., not in the application directory, not in the public directory, but in the root).</p>
<p>Create a nginx.conf file and paste this code into it:</p>
<pre name="code" class="c">
try_files $uri $uri/ /index.php;
</pre>
<p>This code will allow you to access any Laravel URL without the index.php in it. So for example, mynginxsite.com/index.php/randomroute, would become mynginxsite.com/randomroute. Much cleaner!</p>
<p>However, before we can do that, we must change a Laravel setting.</p>
<h3>Apache and nginx: Changing a Setting</h3>
<p>Now that we&#8217;ve created the rewrite rules, we must change a setting in your application config to let Laravel know we&#8217;ve done so.</p>
<p>Open up application/config/application.php and scroll down to line 28. You should see this:</p>
<pre name="code" class="php">
'index' => 'index.php',
</pre>
<p>Now that we&#8217;ve added either the .htaccess or the nginx.conf, we want to update this line to this:</p>
<pre name="code" class="php">
'index' => '',
</pre>
<p>And we&#8217;re done! Now all routes URLs can be accessed without the index.php in them.</p>
<p><i>Thanks to Michael Owens in the comments for reminding me about doing this.</i></p>
<hr />
<p>There’s always a great opportunity for discussion in the comments, so if you have any questions regarding the usage of Laravel, leave them below.</p>
]]></content:encoded>
			<wfw:commentRss>http://ecustom.ca/tutorials/prettifying-laravel-urls/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
	
		<series:name><![CDATA[Laravel for the Complete Beginner]]></series:name>
	</item>
		<item>
		<title>Install &amp; Setup Laravel in 3 Easy Steps</title>
		<link>http://ecustom.ca/tutorials/install-and-setup-laravel-php-framework-tutorial/</link>
		<comments>http://ecustom.ca/tutorials/install-and-setup-laravel-php-framework-tutorial/#comments</comments>
		<pubDate>Sat, 17 Sep 2011 16:09:31 +0000</pubDate>
		<dc:creator>The Company</dc:creator>
				<category><![CDATA[Tutorials]]></category>

		<guid isPermaLink="false">http://ecustom.ca/?p=250</guid>
		<description><![CDATA[A while ago we wrote an article reviewing Laravel, a new PHP framework. Today, we&#8217;re kicking off a series to teach you more about it! This is the first of a series of posts designed to help a newcomer to the Laravel PHP framework find their way around. By the time this series is through, [...]]]></description>
			<content:encoded><![CDATA[<p>A while ago we wrote an <a href="http://ecustom.ca/miscellany/laravel-amazing-little-php-framework/">article reviewing Laravel</a>, a new PHP framework. Today, we&#8217;re kicking off a series to teach you more about it!</p>
<p>This is the first of a series of posts designed to help a newcomer to the Laravel PHP framework find their way around. By the time this series is through, we&#8217;ll know the ins and outs of this amazing little framework. Now, enough talk, let&#8217;s get to work!</p>
<p><span id="more-250"></span></p>
<hr />
<h3>1. Requirements</h3>
<p>In order to get started with Laravel, we&#8217;re going to need to install it. In order to do this, you must have a PHP web server with version 5.3 or later installed. If you don&#8217;t have a web server, but still want to try out Laravel, I suggest <a href="http://www.apachefriends.org/en/xampp.html">XAMPP</a>, a cross-platform, easy to use local web-server installer.</p>
<h3>2. Installation</h3>
<p>You&#8217;re going to need to download Laravel. To do this, head on over to <a href="http://laravel.com">laravel.com</a> and click on the link that says &#8220;Download The Latest Version.&#8221;</p>
<p>Your download should start right away, and you should now have a zip file containing the framework&#8217;s files. Extract this file to it&#8217;s own folder, and rename this to laravel.</p>
<p>Now, you&#8217;ll need to put the laravel folder into your web server. In XAMPP, you&#8217;ll need to put this in the htdocs folder within your XAMPP installation&#8217;s folder. For me, it&#8217;s located at C:/xampp/htdocs on my Windows machine. So your htdocs folder should now have a folder named laravel within it, this is where the website resides.</p>
<p>With this complete, proceed to the next, and final, step!</p>
<h3>3. Setup</h3>
<p>Alright, now we want to open up the application&#8217;s config file. It&#8217;s located at application/config/application.php (inside of the laravel folder).</p>
<p>In order to get our application working, you&#8217;ll need to change the url config option, which currently says this:</p>
<pre name="code" class="php">
'url' => ''
</pre>
<p>Currently it is pointing to nothing, but we want to change it to http://localhost/laravel/public if we&#8217;re using it on our local server. Don&#8217;t worry, I&#8217;ll explain this in further detail later on in this series.</p>
<h3>That&#8217;s a Wrap!</h3>
<p>That&#8217;s right, we&#8217;re done! This is all the setup required to configure a basic installation of Laravel.</p>
<p>If you visit http://localhost/laravel/public in your browser, you should see the default Welcome page of Laravel.</p>
<hr />
<h3>Bonus: Getting our Hands Dirty</h3>
<p>Alright, let&#8217;s get our hands dirty with Laravel really quick. I&#8217;m not going to go in depth on what we&#8217;re doing here, that&#8217;ll come later (promise).</p>
<p>Open up application/routes.php, and scroll down until you see something like this:</p>
<pre name="code" class="php">
'GET /' => function()
{
	return View::make('home.index');
},
</pre>
<p>This is the default route for the application, it is what is displaying that nice welcome message we saw before. This route is returning a View, which is essentially what users will see when using your application. You can remove that return statement for now, we&#8217;ll fill it back in later.</p>
<p>To finish, we&#8217;re just going to say &#8220;Hello World&#8221; in our route, and be off.</p>
<p>Add in the following line to your default route:</p>
<pre name="code" class="php">
echo "Hello World!";
</pre>
<p>So now our route should be as follows:</p>
<pre name="code" class="php">
'GET /' => function()
{
	echo "Hello World!";
},
</pre>
<p>Now, if you navigate to http://localhost/laravel/public, you should see &#8220;Hello World!&#8221; on your screen.</p>
<p>Normally we don&#8217;t echo out data directly in our routes, but usually provide a View for the user to interact with.</p>
<p>That&#8217;s all we have for today, next time we&#8217;ll cover Routes and Views more in depth.</p>
<hr />
<p>There&#8217;s always a great opportunity for discussion in the comments, so if you have any questions regarding the setup or usage of Laravel, leave them below.</p>
]]></content:encoded>
			<wfw:commentRss>http://ecustom.ca/tutorials/install-and-setup-laravel-php-framework-tutorial/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<series:name><![CDATA[Laravel for the Complete Beginner]]></series:name>
	</item>
		<item>
		<title>Laravel &#8211; Amazing Little PHP Framework</title>
		<link>http://ecustom.ca/miscellany/laravel-amazing-little-php-framework/</link>
		<comments>http://ecustom.ca/miscellany/laravel-amazing-little-php-framework/#comments</comments>
		<pubDate>Sat, 06 Aug 2011 02:43:55 +0000</pubDate>
		<dc:creator>The Company</dc:creator>
				<category><![CDATA[Miscellany]]></category>

		<guid isPermaLink="false">http://www.ecustom.ca/?p=225</guid>
		<description><![CDATA[Been a little quiet around here lately, but I assure you, we&#8217;re still here. I recently got my hands on quite a nifty little PHP framework named]]></description>
			<content:encoded><![CDATA[<p>Been a little quiet around here lately, but I assure you, we&#8217;re still here.</p>
<p>I recently got my hands on quite a nifty little PHP framework named <a href="<a href=" http:="" laravel.com"="">Laravel</a> by Taylor Otwell. It focuses on &#8220;staying true to the web with RESTful style routing,&#8221; which I have found to be a gift. Laravel makes putting my web app ideas into reality a dream.</p>
<p>Still sound cool? It should! Learn more after the jump.</p>
</p>
<p><span id="more-225"></span></p>
<hr />
<p>Everything about Laravel is dead simple. There isn&#8217;t much fussing around wrapping your head around concepts, and it includes what you need to build powerful web apps, <i>fast</i>. When Taylor created it, he didn&#8217;t mess around. He kept it simple, and he was able to do that well. It doesn&#8217;t include a bunch of classes you&#8217;re unlikely to use, and everything about it works together seamlessly well.</p>
<p>So I&#8217;ve been using it to develop an app. Originally it was meant just to become familiar with the framework, but this has evolved into something I may actually try and put into production. I&#8217;ll explain the gist of the application, and it&#8217;s basic functionality. Eventually I may publish a &#8220;making of&#8221; tutorial series outlining it&#8217;s creation using Laravel (<strong>EDIT (9/17/2011):</strong> I&#8217;ve just started <a href="http://ecustom.ca/series/laravel-for-the-complete-beginner/">a series</a> teaching a beginner to Laravel how to use the framework, eventually amounting to a website with similar capabilities as outlined here).</p>
<h2>Overview</h2>
<p>The goal of this application is to allow users to submit short bodies of text, which are then added to the database. They are by default, unapproved, and they have to be reviewed by a moderator before they are published to the public list.</p>
<p>The admin area is completely password protected, I&#8217;ve worked hard to ensure that I have CRSF protection, and I&#8217;m going to add form validation soon. I&#8217;m also going to flesh out admin, using some existing code that I created for registration to create new users.</p>
<h2>The Laravel Experience</h2>
<p>Laravel has been a breeze to work with, having amazing, well explained documentation rivaling in stature to that of Codeigniter&#8217;s. </p>
<p>Laravel also has very expressive syntax and class names, using REST based routing, which just makes sense given the way the web works. All of my code is comfortably human readable, especially compared to raw PHP, and I can also create it much faster, and using much less syntax. What previously took me many many lines in pure PHP now takes me much less using Laravel. The same can be said of any good framework, however Laravel provides a very lightweight solution, which provides me with <i>what I need</i>, and doesn&#8217;t load me up with plenty of classes I&#8217;ll never really use.</p>
<p>So, I encourage everyone who reads this article to go, try out Laravel <a href="http://laravel.com">here</a>, and tell me what you think. If you enjoy it, I also really hope that you&#8217;ll tell Taylor about it in the <a href="http://forums.laravel.com">Laravel Forums</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://ecustom.ca/miscellany/laravel-amazing-little-php-framework/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Disqus Comments</title>
		<link>http://ecustom.ca/website/disqus-comments/</link>
		<comments>http://ecustom.ca/website/disqus-comments/#comments</comments>
		<pubDate>Sat, 26 Mar 2011 14:19:38 +0000</pubDate>
		<dc:creator>The Company</dc:creator>
				<category><![CDATA[Website]]></category>

		<guid isPermaLink="false">http://www.ecustom.ca/?p=195</guid>
		<description><![CDATA[Hey all! I&#8217;m currently revamping parts of the site, and I&#8217;m curious, how would you feel if I converted to Disqus comments, as opposed to my plain-old vanilla comments? Head on over there and look at some of the features. Eventually I&#8217;d setup some of the Disqus features myself but, just for now, what&#8217;s your [...]]]></description>
			<content:encoded><![CDATA[<p>Hey all!</p>
<p>I&#8217;m currently revamping parts of the site, and I&#8217;m curious, how would you feel if I converted to <a href="http://disqus.com/">Disqus comments</a>, as opposed to my plain-old vanilla comments? Head on over there and look at some of the features.</p>
<p>Eventually I&#8217;d setup some of the Disqus features myself but, just for now, what&#8217;s your opinions? Leave a comment down below.</p>
<p>Thanks! <img src='http://ecustom.ca/wp-includes/images/smilies/icon_biggrin.gif' alt=':D' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://ecustom.ca/website/disqus-comments/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>CSS: The Very Basics</title>
		<link>http://ecustom.ca/tutorials/css-the-very-basics/</link>
		<comments>http://ecustom.ca/tutorials/css-the-very-basics/#comments</comments>
		<pubDate>Wed, 09 Mar 2011 00:34:56 +0000</pubDate>
		<dc:creator>John</dc:creator>
				<category><![CDATA[Tutorials]]></category>

		<guid isPermaLink="false">http://www.ecustom.ca/?p=102</guid>
		<description><![CDATA[Welcome to the first tutorial in an ongoing series that will cover aspects of CSS big and small! Starting from the basic groundwork, we will work our way up to crazy advanced ninja techniques, covering CSS3 and a variety of neat tips and tricks! Interested? Read on for more! Before we go into anything, we have [...]]]></description>
			<content:encoded><![CDATA[<p>Welcome to the first tutorial in an ongoing series that will cover aspects of CSS big and small!</p>
<p>Starting from the basic groundwork, we will work our way up to crazy advanced ninja techniques, covering CSS3 and a variety of neat tips and tricks!</p>
<p>Interested? Read on for more!</p>
<p><span id="more-102"></span></p>
<hr />
<p>Before we go into anything, we have to ask a question. What really <strong>is </strong>CSS? As you already know by the HTML tutorial (if you haven&#8217;t read that click here (insert link here) HTML stands for Hyper Text Markup Language. CSS stands for Cascading Style Sheets. CSS is what our site, and many other sites on the internet use to make the information look good. In essence what it applies a certain style to a selected element on a webpage. This creates a nice, clean, uniform look, that attracts possible customers to the site. So how <strong>is </strong>it done?</p>
<p>CSS has two main parts, being the selector, and one or more declarations. The selector is where the CSS file will apply to the webpage. The declarations are what the CSS file will do to the selected area. Some basic examples of what CSS can change include: Font Colour, Background Colour, Font, Text-Alignment. Using these attributes alone, talented designers and developers have been known to make some amazing typographical websites! But what about syntax?</p>
<p>The syntax for CSS is very simple to understand, provided you have a solid understanding of English. Here is a code block that demonstrates the ease of CSS syntax:</p>
<pre name="code" class="css">p

{

color: green;

text-align center;

}</pre>
<p>This would turn the font colour green, and align the text in the centre of the webpage. Now, to apply this into an HTML document, we have to use the &lt;style&gt; attribute of HTML. It would look like this:</p>
<pre name="code" class="html">&lt;!DOCTYPE HTML&gt;

&lt;html&gt;

&lt;head&gt;

&lt;style type="text/css"&gt;

p

{

color:green;

text-align:center;

}

&lt;/style&gt;

&lt;/head&gt;
&lt;body&gt;

&lt;p&gt;Welcome to ecustom.ca&lt;/p&gt;

&lt;p&gt;What you're reading is formatted using CSS!&lt;/p&gt;

&lt;/body&gt;

&lt;/html&gt;</pre>
<p>In a webpage, it&#8217;d show up like this:</p>
<p><a href="http://www.ecustom.ca/wp-content/uploads/2011/03/Screen-shot-2011-03-07-at-7.48.34-PM.png"><img class="alignnone size-full wp-image-106" src="http://www.ecustom.ca/wp-content/uploads/2011/03/Screen-shot-2011-03-07-at-7.48.34-PM.png" alt="" width="325" height="72" /></a></p>
<p>So that&#8217;s what basic CSS will do for you in HTML. Now, you don&#8217;t want to have all the CSS typing in the HTML file. The example that I just showed you is called internal file saving. Another option is to use an externall CSS file. To do this, you will first need to have a text editor that will edit in plain text. If you don&#8217;t have one of these, we recommend Notepad++ (<a href="http://www.notepadplusplus.org" target="_blank">Click Here</a>), which is an editor with features such as syntax highlighting, code folding, and much more. This will allow you to save the file as a .css file. You will want to put your CSS code into this file, and then in your HTML document link to your CSS file like so:</p>
<pre name="code" class="html">&lt;head&gt;
&lt;link rel="stylesheet" type="text/css" href="yourfilenamehere.css" /&gt;
&lt;/head&gt;</pre>
<p>Make sure that if you are copy pasting this text, to replace the &#8216;yourfilenamehere.css&#8217; with whatever your file name actually is. Now lets look at an example of a webpage styled using CSS. Here&#8217;s the HTML code:</p>
<pre name="code" class="html">&lt;!DOCTYPE HTML&gt;

&lt;html&gt;

&lt;head&gt;
&lt;link rel="stylesheet" type="text/css" href="yourfile.css" /&gt;
&lt;/head&gt;
&lt;body&gt;
&lt;p&gt;

Hello there! This is a test of CSS! Make sure to contact us here at ecustom.ca!

&lt;br /&gt;
bye-bye now!

&lt;/p&gt;

&lt;/body&gt;
&lt;/html&gt;</pre>
<p>Here is the CSS code:</p>
<pre name="code" class="css">p

{

color: blue;

text-align center;

}</pre>
<p>&nbsp;</p>
<p>And this is what it looks like:</p>
<p><a href="http://www.ecustom.ca/wp-content/uploads/2011/03/Screen-shot-2011-03-08-at-4.09.50-PM.png"><img class="alignnone size-full wp-image-114" src="http://www.ecustom.ca/wp-content/uploads/2011/03/Screen-shot-2011-03-08-at-4.09.50-PM.png" alt="" width="584" height="73" /></a></p>
<p>These are the basics of CSS. To learn more, make sure you check out the next parts of the series (coming soon).</p>
<p>Any questions? Leave them in the comments below and either I or another writer will respond!</p>
]]></content:encoded>
			<wfw:commentRss>http://ecustom.ca/tutorials/css-the-very-basics/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
	
		<series:name><![CDATA[CSS for Beginners]]></series:name>
	</item>
		<item>
		<title>March 2011 Newsletter</title>
		<link>http://ecustom.ca/company/newsletters/march-2011-newsletter/</link>
		<comments>http://ecustom.ca/company/newsletters/march-2011-newsletter/#comments</comments>
		<pubDate>Mon, 07 Mar 2011 03:07:04 +0000</pubDate>
		<dc:creator>The Company</dc:creator>
				<category><![CDATA[Newsletters]]></category>

		<guid isPermaLink="false">http://www.ecustom.ca/?p=98</guid>
		<description><![CDATA[Welcome to this month&#8217;s eCustom Solutions newsletter! Read on to learn about three major endeavours that will be rolling out over our short-mid term future. Ruby/RoR Ruby is, put simply, an amazing language. Rails is, put simply, an amazing Ruby framework, and, bonus, it&#8217;s built for the web. These two factors alone, have propelled me [...]]]></description>
			<content:encoded><![CDATA[<p>Welcome to this month&#8217;s eCustom Solutions newsletter!</p>
<p>Read on to learn about three major endeavours that will be rolling out over our short-mid term future.</p>
<p><span id="more-98"></span></p>
<hr />
<h2>Ruby/RoR</h2>
<p>Ruby is, put simply, an amazing language. Rails is, put simply, an amazing Ruby framework, and, bonus, it&#8217;s built for the web. These two factors alone, have propelled me to want to learn and develop skills in them both. Who knows? Maybe in a year from now, eCustom Solutions will be offering both RoR and PHP development.</p>
<p>Interested in following me on my journey? I&#8217;ll be posting sporadic updates on how the learning is going, and I&#8217;ll be sure to point to great community resources along the way.</p>
<h2>CodeIgniter CMS</h2>
<p>Another personal project of mine is the development of a brandable/customizable CodeIgniter CMS. It will be offered by eCustom Solutions, hopefully in the upcoming year, as a full-featured product that will come with installation services, training and ongoing tech support. Updates will also be provided free for one major revision after purchase, this too will include the features mentioned previously. After one major revision has passed, any future updates will be provided at 50% price, but support will become more limited.</p>
<p>This is a <em>very</em> tentative model, and it is greatly subject to change as we come closer to release (no date set as of yet).</p>
<h2>Pre-Built Theme Files</h2>
<p>Yes, they are all the rage right now amongst low-budget site owners, pre-built templates and themes. But nobody wants to have a plain-old vanilla theme that they may see the exact same version of on a different site, they want to have it customized! That&#8217;s why we will offer customization support with all of our themes, no matter the platform. Currently we are planning to release HTML/CSS templates, and WordPress themes for each of them as well!</p>
<hr />
<p>Thanks for reading this month&#8217;s eCustom Solutions newsletter, be sure to check in next month for more exciting updates and news.</p>
<p>Have a great month!</p>
]]></content:encoded>
			<wfw:commentRss>http://ecustom.ca/company/newsletters/march-2011-newsletter/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>

<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Minified using disk: basic
Page Caching using disk: enhanced
Object Caching 617/629 objects using disk: basic

Served from: ecustom.ca @ 2012-02-22 22:02:26 -->
