<?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, 19 Jun 2013 11:21:46 -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>
    <item>
      <title><![CDATA[NetTuts.com: Building Web Applications from Scratch with Laravel]]></title>
      <guid>http://www.phpdeveloper.org/news/18115</guid>
      <link>http://www.phpdeveloper.org/news/18115</link>
      <description><![CDATA[<p>
On the NetTuts.com site there's a new tutorial introducing you to one of the relatively new players to the PHP framework scene - <a href="http://laravel.com/">Laravel</a>. In <a href="http://net.tutsplus.com/tutorials/php/building-web-applications-from-scratch-with-laravel/">this article</a> you'll see how to set up and create a basic Laravel app - a simple social app for sharing photos.
</p>
<blockquote>
In this Nettuts+ mini-series, 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> - a simple and elegant PHP 5.3 framework. First up, we'll learn more about Laravel, and why it's such a great choice for your next PHP-based web application.
</blockquote>
<p>
They briefly introduce the framework and talk about some of the things that it offers for the PHP 5.3 users out there (including the use of packages called Bundles, the built-in ORM, migration and Redis support). They start you off on the road to building the sample application with instructions on downloading, configuring and creating the first controllers, templated views (with Blade) and a bit on asset management.
</p>]]></description>
      <pubDate>Wed, 20 Jun 2012 08:56:21 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[NetTuts.com: Create Instagram Filters With PHP]]></title>
      <guid>http://www.phpdeveloper.org/news/17728</guid>
      <link>http://www.phpdeveloper.org/news/17728</link>
      <description><![CDATA[<p>
On NetTuts.com there's a new tutorial showing how you can <a href="http://net.tutsplus.com/tutorials/php/create-instagram-filters-with-php/">create Instagram-like filters</a> in PHP using the <a href="http://www.imagemagick.org/script/index.php">ImageMagick</a> library/extension.
</p>
<blockquote>
PHP comes bundled with <a href="http://www.php.net/manual/en/book.image.php">GD</a> (GIF Draw/Graphics Draw), which is a library for the dynamic creation of images. It can be used for simpler image operation, such as resizing, cropping, adding watermarks, <a href="http://net.tutsplus.com/articles/news/how-to-dynamically-create-thumbnails/">creating thumbnails</a> (Jeffrey wrote about it), applying basic photo filters - you've probably used it before. Unfortunately, if you want to create something more complex with GD, like Instagram effects, you can't. Luckily, though, we have ImageMagick!
</blockquote>
<p>
He starts off by comparing the two graphics libraries and talks briefly about <a href="http://www.imagemagick.org/script/binary-releases.php">how to downliad</a> and install Imagemagick on your development platform. Included is a PHP class to help you use it, coming complete with functions for changing the color tone of the image, adding a border and adding a <a href="http://en.wikipedia.org/wiki/Vignetting">vignette</a> to the image. Also included are some "presets" represented in a few simple functions:
</p>
<ul>
<li>Gotham
<li>Toaster
<li>Nashville
<li>Lomo
<li>Kelvin
</ul>
<p>
There's also a few links to other resources you can use to find out more details on what Imagemagick has to offer.
</p>]]></description>
      <pubDate>Mon, 26 Mar 2012 10:07:37 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[PHPMaster.com: Creating a Mobile Photo Blog, Part 2]]></title>
      <guid>http://www.phpdeveloper.org/news/16989</guid>
      <link>http://www.phpdeveloper.org/news/16989</link>
      <description><![CDATA[<p>
PHPMaster.com has posted the <a href="http://phpmaster.com/creating-a-mobile-photo-blog-part-2/">second part</a> of their series helping you build a mobile photo blog powered by email attachments pulled over POP3. (Part one <a href="http://phpdeveloper.org/news/16956">is here</a>)
</p>
<blockquote>
This is the second article in a two part series in which I show you how to create a photo blog that is updated from your mobile device. <a href="http://phpmaster.com/creating-a-mobile-photo-blog-part-1">Part 1</a> laid out the plan for building the application, set up the database requirements, and introduced you to some user contributed functions from the PHP manual which make it easy to retrieve messages from a POP3 mail server. In this installment I show you how to bring everything together so you can start photo-blogging on the go.
</blockquote>
<p>
In this new tutorial they include the code to authenticate against the database, insert the email details into the tables and inserting the formatted results into blog posts. It's finished off with the code to pull out the latest entries and display them along with their matching photos.
</p>]]></description>
      <pubDate>Thu, 13 Oct 2011 10:54:21 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[PHPMaster.com: Creating a Mobile Photo Blog, Part 1]]></title>
      <guid>http://www.phpdeveloper.org/news/16956</guid>
      <link>http://www.phpdeveloper.org/news/16956</link>
      <description><![CDATA[<p>
PHPMaster.com has started up a new series of tutorials today with part one of "<a href="http://phpmaster.com/creating-a-mobile-photo-blog-part-1/">Creating a Mobile Photo Blog</a>". The set of tutorials will show you how to create a simple blogging tool that will upload images as submitted via an email address.
</p>
<blockquote>
This is the first article in a two-part series in which I will show you how to create a photo blog as part of your personal website which you can update from your phone simply by sending an email. You'll write a script to check the inbox of an email account for new messages using POP3; the script will extract the messages' subject line, body text, and attachments and update a database accordingly. You can then pull the information from the database for display on your blog, in a sidebar, or however else you see fit.
</blockquote>
<p>
The start with some of the security considerations you'll need to keep in mind when creating a script like this depending on how open you want it to be (like filtering based on the "From" email or sending an approval message before posting). Included in the post is the SQL to create their basic tables for posts, image details and the pending items. There's also a PHP class (POP3) that makes an IMAP connection to a remote server, authenticates as your account and fetches the latest messages along with their attachments. These are pulled with a quick script and displayed via a foreach.
</p>
<p>
Part two will get into more of the integration of the images and the approval technique prior to posting the images.
</p>]]></description>
      <pubDate>Thu, 06 Oct 2011 08:35:57 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Community News: PHP North West 2010 Wrap-ups]]></title>
      <guid>http://www.phpdeveloper.org/news/15310</guid>
      <link>http://www.phpdeveloper.org/news/15310</link>
      <description><![CDATA[<p>
In the wake of the <a href="http://conference.phpnw.org.uk/phpnw10/">PHP North West conference</a>, several of the attendees (and speakers alike) have posted their summaries and thoughts about the two day event. Here's a few so far:
</p>
<ul>
<li><i>John Mertic</i>'s <a href="http://jmertic.wordpress.com/2010/10
/09/slides-posted-from-my-talk-at-phpnw/">Deployable applications slides</a>
<li><i>Lorna Mitchell</i>'s <a href="http://www.lornajane.net/posts/2010/PHPNW10-Teach-a-Man-to-Fish">Teach a Man to Fish</a>
<li><i>Lorenzo Alberton</i>'s <a href="http://www.alberton.info/phpnw10_summary_and_new_job.html">slides</a>
<li><i>Stuart Herbert</i>'s posts on <a href="http://blog.stuartherbert.com/php/2010/10/19/phpnw10-jeremy-coates/">Jeremy Coates</a>, the <a href="http://blog.stuartherbert.com/php/2010/10/20/phpnw10-saturday-speakers-track-1/">Saturday speakers, track 1</a>, <a href="http://blog.stuartherbert.com/php/2010/10/18/phpnw10-friday-social/">Friday social</a>, <a href="http://blog.stuartherbert.com/php/2010/10/21/phpnw10-conference-audience/">the audience</a>
<li><i>Jamie Hurst</i>'s <a href="http://www.jamiehurst.co.uk/php-conference-manchester-phpnw-2010/">wrapup</a>
</ul>
<p>
As others pop up, they'll be added to the list. Don't see yours here? <a href="mailto:info@phpdeveloper.org">let me know</a>!
</p>]]></description>
      <pubDate>Wed, 20 Oct 2010 12:34:34 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Codrops Blog: Fresh Sliding Thumbnails Gallery with jQuery and PHP]]></title>
      <guid>http://www.phpdeveloper.org/news/14720</guid>
      <link>http://www.phpdeveloper.org/news/14720</link>
      <description><![CDATA[<p>
On the Codrops blog there's a <a href="http://tympanus.net/codrops/2010/05/23/fresh-sliding-thumbnails-gallery-with-jquery-php/">recent tutorial</a> posted showing how to create a fully-functional image slider/viewer with a combination of HTML, jQuery and a bit of PHP (<a href="http://tympanus.net/Tutorials/FreshSlidingThumbnailsGallery/">here's a demo</a>).
</p>
<blockquote>
In this tutorial we are going to create another full page image gallery with a nice thumbnail area that scrolls automatically when moving the mouse. The idea is to allow the user to slightly zoom into the picture by clicking on it. The thumbnails bar slides down and the image resizes according to the screen size.
</blockquote>
<p>
Based on <a href="http://valums.com/scroll-menu-jquery/">this tutorial</a>, they show you how to build on it and add a few new features like a changing cursor depending on its position in the current image. The show the folder structure you'll need, the HTML and PHP to make the backend work and the CSS and Javascript to round out the frontend. If you want to skip straight to the good stuff you can also just <a href="http://tympanus.net/Tutorials/FreshSlidingThumbnailsGallery/FreshSlidingThumbnailsGallery.zip">download all the code</a> and get started.
</p>]]></description>
      <pubDate>Tue, 29 Jun 2010 12:37:21 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Kae Verens' Blog: Extracting a sudoku puzzle from a photo]]></title>
      <guid>http://www.phpdeveloper.org/news/11881</guid>
      <link>http://www.phpdeveloper.org/news/11881</link>
      <description><![CDATA[<p>
<i>Kae Verens</i> has posted a <a href="http://verens.com/archives/2009/02/03/extracting-a-sudoku-puzzle-from-a-photo/">cool little application</a> of how to pull information out of a photo and parse it with the GD library. His example is a <a href="http://verens.com/archives/2009/02/02/visual-sudoku-solver/">visual sudoku solver</a> (part one, at least).
</p>
<blockquote>
The plan for this one is that, if you're doing a sudoku puzzle in the pub or on the train, and you get stuck, you just take a snapshot of the puzzle with your camera-phone, send the photo to a certain mobile number, and a few seconds later the solution is sent back as an SMS message. The solution costs you something small - 50 cents, maybe.
</blockquote>
<p>
The script looks at a picture of a sudoku puzzle, converts it to b&w and tries to find the squares surrounding each position of the board. With these measurements, the next step is to grab the numbers already in the puzzle and hand those off to the puzzle solver to be processed.
</p>]]></description>
      <pubDate>Wed, 04 Feb 2009 12:57:18 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[NETTUTS.com: Building the Back-End of a Photo Site]]></title>
      <guid>http://www.phpdeveloper.org/news/11466</guid>
      <link>http://www.phpdeveloper.org/news/11466</link>
      <description><![CDATA[<p>
The NETTUTS.com site has posted <a href="http://nettuts.com/videos/screencasts/building-the-back-end-of-a-photo-site/">the next part in their series</a> on the creation of a photo site with PHP and jQuery. This time they focus on the backend of the application, written in PHP.
</p>
<blockquote>
For those of you who have been following the last few screencasts, you must have noticed that each tutorial has been centered around a "photo site" theme. (See <a href="http://nettuts.com/videos/screencasts/scanning-folders-with-php/">Scanning Folders With PHP</a>, <a href="http://nettuts.com/videos/screencasts/how-to-dynamically-create-thumbnails/">How to Dynamically Create Thumbnails</a>, and <a href="http://nettuts.com/videos/screencasts/create-a-photo-admin-site-using-php-and-jquery/">Create a Photo-Admin Site Using PHP and jQuery</a>. Today, we'll build the backend for a photo site. This tutorial will teach you how to add, delete, and update photos.
</blockquote>
<p>
You can <a href="http://nettuts.com/videos/screencasts/building-the-back-end-of-a-photo-site/">watch the screencast</a> right in the post as well as follow along with the tutorial steps and <a href="http://nettuts.s3.amazonaws.com/137_screencast/newPhotoSite_backend.zip">download the source</a> for their example.
</p>]]></description>
      <pubDate>Thu, 27 Nov 2008 15:29:27 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[NETTUTS.com: Scanning Folders with PHP]]></title>
      <guid>http://www.phpdeveloper.org/news/11403</guid>
      <link>http://www.phpdeveloper.org/news/11403</link>
      <description><![CDATA[<p>
The NETTUTS.com site has posted <a href="http://nettuts.com/videos/screencasts/scanning-folders-with-php/">a new PHP-related screencast</a> that covers a simple script to scan over the contents of folders in PHP. To illustrate, they create an image gallery script that mirrors the filesystem structure.
</p>
<blockquote>
Let's imagine that you want to build a page that will display snapshots of your latest work. [...] In such instances, the best solution is to make PHP scan your "portfolio" folder and dynamically create the code for you. If you want to update your page with a new snapshot, all that you need to do is drag the image, and its respective thumbnail, into the appropriate folders - and PHP will do the rest. Let's build it now! 
</blockquote>
<p>
The screencast comes complete with <a href="http://nettuts.s3.amazonaws.com/120_screencast/scanFolders.zip">the entire source</a> and a <a href="http://nettuts.com/demos/018_screencast/featured.php">link to a demo</a> to show the end result.
</p>]]></description>
      <pubDate>Thu, 13 Nov 2008 14:18:28 -0600</pubDate>
    </item>
  </channel>
</rss>
