<?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>Wed, 22 May 2013 14:56:47 -0500</pubDate>
    <ttl>30</ttl>
    <item>
      <title><![CDATA[NetTuts.com: Build Web Apps from Scratch with Laravel - The Eloquent ORM]]></title>
      <guid>http://www.phpdeveloper.org/news/18153</guid>
      <link>http://www.phpdeveloper.org/news/18153</link>
      <description><![CDATA[<p>
In the second part of their series looking at the <a href="http://laravel.com">Laravel PHP framework</a> and creating your first application with it. In <a href="http://phpdeveloper.org/news/18115">part one</a> you got a brief introduction to creating and configuring an application. In <a href="http://net.tutsplus.com/tutorials/php/build-web-apps-from-scratch-with-laravel-the-eloquent-orm/">part two</a> they dig a little deeper and talk about Laravel's ORM functionality.
</p>
<blockquote>
In this Nettuts+ <a href="http://net.tutsplus.com/tutorials/php/building-web-applications-from-scratch-with-laravel/">mini-series</a>, we'll build a web application from scratch, while diving into a great new PHP framework that's rapidly picking up steam, called <a href="http://laravel.com/">Laravel</a>. In this lesson, we'll be working on an integral part of any web application: the Models. Along the way, we'll learn about Laravel's amazing ORM implementation: Eloquent.
</blockquote>
<p>
The tutorial introduces you to the concept of "Models" and some of the conventions that surround them in the Laravel framework. They show some of the most common operations (CRUD) and how to define relationships between the models (has many, has one, etc). They apply this to their "Instapics" example application, creating the interfaces for the users, profiles, relationships, photos and comments. They include the code to create the controllers/views to go along with them, making a simple interface to show users and their photos.
</p>
<p>
You can find out more about the Eloquent ORM in <a href="http://laravel.com/docs/database/eloquent">this section</a> of the Laravel manual.
</p>]]></description>
      <pubDate>Thu, 28 Jun 2012 12:27:14 -0500</pubDate>
    </item>
  </channel>
</rss>
