News Feed
Jobs Feed
Sections




News Archive
feed this:

Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

NetTuts.com:
Laravel Unwrapped Session, Auth and Cache
March 11, 2014 @ 11:57:10

On NetTuts.com today there's a new tutorial introducing you to the Laravel framework and how to use its session, authentication/authorization and caching systems.

One thing though that not a lot of programmers take advantage of is Laravel's component-based system. Since its conversion to composer-powered components, Laravel 4 has become a very modular system, similar to the verbosity of more mature frameworks like Symfony. [...] In this tutorial, we'll be diving into a group of these components, learning how they work, how they're used by the framework, and how we can extend their functionality.

First up is the session component that lets you store the data in various places (file, cookie, etc) and how service providers fit into this. Next up is the Auth component, showing how to use the service providers to hook into a custom auth handler for finding and validating user logins. Finally, there's the Cache component. He shows how to apply a service provider to configure it, passing the data off to a MongoDB database to be stored.

0 comments voice your opinion now!
laravel tutorial session cache authentication serviceprovider framework

Link: http://code.tutsplus.com/tutorials/laravel-unwrapped-session-auth-and-cache--cms-19952

PHP Town Hall Podcast:
Episode 19 Episode 19 Jeffrey Way, Laracasts and BDFLs
February 25, 2014 @ 09:29:07

The PHP Town Hall podcast has released their latest episode today - Episode #19 with special guest Jeffrey Way of the Laravel community.

Well known PHP/Laravel nice-guy Jeffrey Way from NetTuts and Laracasts joins regular guest Zack Kitzmiller to discuss the wonderful world of Laravel once again. This time the discussion focuses on some of the silly complaints people have with an otherwise wonderful system, and on the reusability of its packages.

You can catch this latest episode a few different ways: either listening to the audio through the in-page player, by downloading the mp3 or you can watch the live video of the recording.

0 comments voice your opinion now!
phptownhall podcast ep16 jeffreyway laravel laracasts bdfl

Link: http://phptownhall.com/blog/2014/02/15/episode-19-jeffrey-laracasts-bdfls/

SitePoint PHP Blog:
Getting Started with Laravel on Nitrous.io
February 18, 2014 @ 11:21:45

On the SitePoint PHP blog Bruno Skvorc has a new tutorial showing you how to get started with PHP and Nitrous.io, a service letting you create virtual "boxes" for your development. The tutorial helps you get started with their recently announced PHP support.

On February 12th, Nitrous.IO, the cloud development environment that lets you set up virtual boxes in a flash and use them from whichever platform through their Web IDE, finally added PHP support - something users have been clamoring for. You can read more about it in the announcement, but I figure it's best if we demo by example and get a Laravel app up and running.

He helps you get up and running with an account on Nitrous.io first then includes some screenshots showing how to create a new box. He includes instructions on how to get some basic information about the environment. He helps you install the Zip library Composer needs to work correctly and helps set up a new VirtualHost for the Laravel site. Finally, he includes all the commands you'll need to get Composer installed and the Laravel instance up and running. There's a quick bit at the end showing how to hook the application into a MySQL database too.

0 comments voice your opinion now!
nitrousio tutorial introduction laravel install composer

Link: http://www.sitepoint.com/getting-started-laravel-nitrous-io

CodeHeaps.com:
Creating a Blog Using Laravel 4 (Series)
February 18, 2014 @ 10:53:20

The CodeHeaps.com tutorial site, they've posted the latest in their tutorial series creating a blog with the popular Laravel framework. In the first part they looked at models and database seeing, in part two they focused on controllers and in this latest part they focus on routing.

In this article we will create a simple blog using Laravel 4. Our blog application will have the following features: display posts with read more links on home page, search posts on blog, display a single post with comments and allow users to post comments. Administrator will be able to perform CRUD operations on posts and comments [and ] will be able to moderate comments.

In the three parts so far they show some simple migrations to create the "posts" and "comments" table and some basic (lorem ipsum) content. They create a basic "blog" controller and login functionality to identify the current user. Finally, they create the routing to hook it all together including some "before" hooks and authentication protection on the administrative areas.

0 comments voice your opinion now!
series tutorial laravel framework blog beginner model controller routing

Link: http://www.codeheaps.com/php-programming/creating-a-blog-using-laravel-4-part-3-routing/

SitePoint PHP Blog:
Piping Emails to a Laravel Application
February 17, 2014 @ 09:13:48

On the SitePoint PHP blog there's a new tutorial posted about piping emails to Laravel (well, a Laravel-based application). He shows how to have your application take data in from the current input, parse it and insert the data into a database.

In project management or support management tools, you will see this a lot: you can reply to an email message and it is automatically visible in a web application. Somehow, these tools were able to get those email messages right into their system. In this article, we are going to have a look at how we can pipe emails to our Laravel 4 application.

He walks you through the creation of an Artisan command, "email.parse", and using the PHP MIME Mail Parser library to extract data. He gets the to, from, title and message contents from the email and shows how to work with attachments too. Finally, he shows how to set up the mail server to pipe the incoming email though the PHP script for parsing.

0 comments voice your opinion now!
email parse message laravel tutorial mail server

Link: http://www.sitepoint.com/piping-emails-laravel-application/

Samantha Quinones:
Project Laravel - Session 1 First impressions
February 10, 2014 @ 10:18:54

Recently Samantha Quinones started out a new project with Laravel to find out more about this popular framework. In her latest post she shares some of her first impressions of working the initial steps of her application.

I was super excited when I found a couple of free hours to finally sit down with Laravel and kick off my little blog project. That two hour time box turned out to be pretty important to this effort. [...] I won't go in to details on a topic as well-trod as that, but I think it speaks extremely highly of Laravel's approachability that I was able to build out a reasonably rich authentication system in a little more than an hour, including command-line tools to provision and manage users.

She also talks some about some of the things she "wasn't quite comfortable with" like the framework's use of facades. She mentions a post from Taylor Otwell to help explain some of the non-facade methods and suggests that if some of this and the "magic" with the dependency injection container were mentioned in the documentation, the framework might receive a bit less criticism for them.

0 comments voice your opinion now!
project laravel blog framework first impressions

Link: http://www.tembies.com/2014/02/project-laravel-first-impressions/

NetTuts.com:
Building a Customer Management App Using AngularJS and Laravel (Part 1)
January 13, 2014 @ 10:37:33

On NetTuts.com today they've posted a new tutorial showing you how to combine two powerful (and popular) technologies to make a customer management application - Laravel and AngularJs. This is the first part of a series and focuses on the backend work in Laravel.

When creating a single-page app we should use some kind of framework to do some of the job for us, so we can focus on the actual functionality. AngularJS fits here perfectly, because features like dynamic dependency injection and bi-directional data binding are just great. Sometimes we also require some kind of server. If you've chosen PHP then Laravel may be your best option, as it's easy to work with and pretty powerful.

They assume that you'll already have an instance of Laravel all set up and that you'll have access to a MySQL server for a database. Other than that, they provide all of the code you'll need to get the server side up and running. The application stories simple data about customers and transactions and walks you through making models and controllers for each.

0 comments voice your opinion now!
angularjs laravel series part1 customer management tutorial

Link: http://net.tutsplus.com/tutorials/php/building-a-customer-management-app-using-angularjs-and-laravel/

Phil Sturgeon:
Autoloading Laravel application code with PSR-4
January 09, 2014 @ 10:13:02

On his site today Phil Sturgeon has a new post showing how to use autoloading with Laravel based on the recently approved PSR-4 standard.

The video shows you how to move over from the current autoloading methods, PSR-0, for your own packages, not Laravel's. He walks you through the creation of the typical PSR-0 package structure and classes then shows it in use in a simple controller.

The font's a bit small on the screencast, but it gets the idea across. Migrating over to the new autoloading is relatively easy, it just takes a little tweaking on the current structure.

0 comments voice your opinion now!
screencast autoload laravel autoload psr0 psr4 tutorial

Link: http://philsturgeon.co.uk/blog/2014/01/autoloading-laravel-application-code-with-psr4

Phil Sturgeon:
The Tribal Framework Mindset
January 03, 2014 @ 10:37:15

Phil Sturgeon has an interesting post (with plenty of comments following it) about what he calls the "tribal framework mindset" - basically that certain technologies can provide a siloing effect on developers rather than engaging them as a part of the PHP community as a whole. One community centered around the Laravel framework sparked the post.

As much as I understand pushing the "Laravel Community", content, blogs, etc, can we stop this soloing of efforts and be a PHP community? [...] It should still have made sense. [...] Well, I thought so at least until I had a myriad of bizarre responses from people (mostly the well-known Laravel names) defending and picking issue with things I said, assuming instead of saying something logical I must have meant something moronic. That is rather offensive to me, so let's explain it for them.

He goes on to break it down into four different topics and summarizes how the "framework versus general PHP" point fits in - packages and functionality, developers and how they label themselves and books/other resources. He finishes off the post with a look at the "morals" behind it all and how, due to some of the "tribal bullshit" he's seen (even in his own CodeIgniter experience), developers are siloing into groups when really they should be a part of the community as a whole.

0 comments voice your opinion now!
tribal framework laravel community books resources morals packages

Link: http://philsturgeon.co.uk/blog/2014/01/the-tribal-framework-mindset

SitePoint PHP Blog:
Best PHP Frameworks for 2014
December 30, 2013 @ 10:29:45

On the SitePoint PHP blog Bruno Skvorc has posted what could be "best PHP frameworks for 2014". The results were compiled from the feedback of a survey they recently took during the past week.

We asked these questions to decide which frameworks deserve our attention in 2014 the most. The prerequisite for participation was merely having experience in more than one framework, seeing as it's pointless to ask someone what their favorite bar was if they've only drunk in one place.

In the end, the results showed some interesting trends in the choice of PHP framework and their overall popularity. The three topping the popularity charts were (in this order) Laravel, Phalcon then Symfony2. Other mainstay frameworks like Zend Framework, Yii and CodeIgniter were ranked lower in the list. He goes through the results and provides a bit of background on the feedback, including how much of the original data had to be filtered out for one reason or another. He also includes a list of "noteworthy answers" from various folks responding to the survey. His personal choice? Phalcon because of it's overall performance and the community around it.

So which framework seems most promising for 2014? Which should you switch to in the new year? Is it worth it? That's entirely up to you - as always, it depends on your comfort level, the project requirements, and time you have to study new things.
0 comments voice your opinion now!
framework opinion popularity laravel phalcon symfony2

Link: http://www.sitepoint.com/best-php-frameworks-2014/


Community Events











Don't see your event here?
Let us know!


release language overview facebook unittest hhvm introduction framework security hack composer package dependency podcast component symfony2 install series application opinion

All content copyright, 2014 PHPDeveloper.org :: info@phpdeveloper.org - Powered by the Solar PHP Framework