News Feed
Sections




News Archive
feed this:

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

Medium.com:
Getting Started With Laravel 4 - A Book Review
March 19, 2014 @ 12:52:57

On Medium.com there's a recent post reviewing the book "Getting Started with Laravel 4". In the review Christopher Pitt briefly covers both the good and bad parts of the book.

This book is aimed at newcomers to PHP development, and to Laravel 4 in particular. It doesn't disappoint. It starts slow, talking about the need for, and role filled by frameworks. It explains what Composer does, and why it's useful for frameworks like Laravel. It's not the typical "Laravel needs Composer, here's the code you use" stuff. There are 40 pages of what is essentially a very gentle introduction, before you even start writing code.

He talks about the sample application the book walks you through creating and some other topics around it including unit testing and artisan commands. He mentions the more popular Code Bright book and points out that he believes it (Code Bright) to be a better deal for the money if you're looking for the more comprehensive intro to Laravel.

0 comments voice your opinion now!
book review gettingstarted laravel4 framework

Link: https://medium.com/tech-reviews/f8881d2014c7

Antonin Januska:
Cool Stuff I Learned About Laravel 4
August 20, 2013 @ 12:41:34

In this new post to his site Antonin Januska shares some of the "cool stuff" he learned about Laravel 4 while he was working on a project using this recently released version.

I started using Laravel 4 for testing, hobby projects, and actual work (ha!) a couple of months back and was genuinely excited about the upgrades as well as features I wasn't aware of from previous versions as well. So here goes...

On his list are things like: Composer and its easy-to-implement autoloading structure, overriding default fields, using "remember" to cache data from queries and database seeding. There's a few others in the list, each with some example code (though sometimes just one line) that shows it in action. If you'd like to find out more about the Laravel framework, check out the project's main site.

0 comments voice your opinion now!
laravel4 features list learn

Link: http://antjanus.com/blog/web-development-tutorials/cool-stuff-i-learned-about-laravel-4

7PHP.com:
Speaker & Attendee Feedback Of The Previous Laravel4 Talk Of NomadPHP June 2013
July 08, 2013 @ 09:42:12

7PHP.com has a new post that shares some of the feedback - from both the speaker and other attendees - of the latest Nomad PHP meeting featuring Phil Sturgeon talking on Laravel 4.

Previously on thursday 27th July 2013 (8pm CDT), NomadPHP hosted their 2nd talk which was about "Laravel 4" - the speaker being Phil Sturgeon. I also announced my 2nd free ticket giveaway for this online event - a generosity awesomely made possible by the ever-awesome @NomadPHP organizer; Cal Evans. In this short (as compared to the previous one) article, the spotlight will be on the speaker and an attendee. I'm thankful to both for their responses and sharing their NomadPHP experience with us. We'll also have a quick (as in very quick) glance at the ticket winners.

The article starts with some of the feedback from Phil and his observations from the speaker side of things. This is followed by the attendee perspective from Don Gilbert, a maintainer of the Joomla framework. They talk about the goods and bads of the presentation and things they think the virtual user group could improve on in the future.

0 comments voice your opinion now!
speaker attendee feedback laravel4 nomadphp virtual usergroup

Link: http://7php.com/feedback-nomadphp-june-2013/

Gilles Mergoil:
Laravel 4 on Google AppEngine for PHP
June 19, 2013 @ 12:35:40

Since Google recently announced that they'd be supporting PHP on their App Engine service, developers have been trying out various setups to see how well they'd work. In this recent post Gilles Mergoil shares some of his experience with getting a Laravel 4-based application up and running in App Engine.

Now that Google App Engine opens to the PHP world and that the 4th version of the Laravel framework is officialy launched, we wanted to test these two promising technologies together at Neoxia. This blog post is the result of our tests whose goal was to have a standard Laravel 4 application on the Google App Engine PHP runtime up and running Given that an application without a database is not very useful, we also tested the Google Cloud SQL service which is the Google flavour of the MySQL database in the cloud.

He works through some of the steps for his first attempt at getting it set up, but notes that the seemingly working setup wasn't actually cooperating like it should. Thanks to some log analysis (and debugging) he found a few issues - missing functions, the lack of the mcrypt extension and session/cache/logging problems. He shows how to correct each of these and then moves on to connecting the app to a Google Cloud SQL database.

0 comments voice your opinion now!
laravel4 appengine google cloudsql tutorial install configure

Link: http://blog.neoxia.com/laravel-4-on-google-appengine-for-php

Sameer Borate:
Simple user authentication in Laravel 4
June 17, 2013 @ 14:22:01

Sameer Borate has a new post today showing how you can do simple user authentication in a Laravel 4-based application using the built-in Auth functionality.

With the recent release of Laravel 4, PHP developers have at their disposal one of the finest frameworks for application development. As with all new frameworks, it is always good to write some quick code to get a feel for the underlying architecture. The following post shows a simple authentication application using Laravel.

He walks you through the creation of the simple "users" table, the configuration the Auth class will need to connect and authenticate and the form for the login. He also shows the steps for the actual authentication process as well as the code for the routes to make it all work. Additionally, he shows how to restrict pages to only those with the "admin" level access via an auth filter. You can download the example code here.

0 comments voice your opinion now!
user authentication laravel4 tutorial database auth admin

Link: http://www.codediesel.com/frameworks/simple-user-authentication-in-laravel-4

Nomad PHP:
June 2013 - Phil Sturgeon, "Laravel 4 Yet Another Framework- but different"
June 13, 2013 @ 12:35:35

For those out there that don 't have a local PHP user group, you should check out the Nomad PHP virtual user group. It meets once a month online and this month's topic is an introduction to Laravel 4 (from Phil Sturgeon). It'll be happening at 8pm CDT on the 27th.

An introduction into Laravel 4, the Yet Another Framework that does things a little differently. See how it leverages Symfony components for its core along with multiple other Composer components instead of building everything from scratch. Learn how despite the complex Symfony underbelly Laravel 4 still gives a slick API to ease the learning curve of the framework to more of an accessibility ramp. After this run through of Laravel 4 you'll be psyched to trial it out, no matter what your usual "go to framework" is.

If you'd like to attend, tickets for the meetin g(to help cover the costs of the virtual meeting tools) will only run you $10 USD. If you're interested, check out this month's meeting page for more details.

0 comments voice your opinion now!
laravel4 framework nomadphp virtual usergroup

Link: http://nomadphp.com/2013/05/05/june-2013-phil-sturgeon-laravel-4-yet-another-framework-but-different/

Community News:
Laravel 4 Stable Released
May 31, 2013 @ 10:51:46

The long-awaited version 4 of the Laravel Framework has finally been released (and the site has gotten a facelift as well):

Laravel is a web application framework with expressive, elegant syntax. We believe development must be an enjoyable, creative experience to be truly fulfilling. Laravel attempts to take the pain out of development by easing common tasks used in the majority of web projects, such as authentication, routing, sessions, and caching.

Laravel aims to make the development process a pleasing one for the developer without sacrificing application functionality. Happy developers make the best code.

You can find lots of information about the framework and its functionality on the main project site including a forums area with lots of discussion around not only v4 but still v3 for those using it. You can also find some good discussion about the release itself in this thread over on Reddit.

0 comments voice your opinion now!
laravel4 framework release stable

Link: http://laravel.com/four

Community News:
Laracasts.com - Laravel 4 Screencast Archive
April 17, 2013 @ 11:50:59

A new resource has popped up for those wanting to get even more information about the Laravel PHP framework - the Laracasts.com site. The site is devoted to providing a consolidated listing of Laravel screencasts across the web.

[This site is a] compilation of screencasts from Youtube and Vimeo. Let's learn Laravel together!

There's already a good number of screencasts posted to the site from folks like Taylor Otwell (author of the framework), Jeffrey Way (NetTuts) as well as several recordings of talks from various conferences about the framework. If you have a screencast that's not linked on the site, you can submit the information for review and inclusion.

0 comments voice your opinion now!
laracasts laravel4 screencast archive youtube vimeo sessions

Link: http://laracasts.com

NetTuts.com:
Your One-Stop Guide to Laravel Commands
March 01, 2013 @ 10:56:44

Over on NetTuts.com today they've published a "one stop guide" to creating Laravel commands that can make using the Laravel PHP framework simpler. The format for these commands are more related to the Laravel 4 version of the framework (still in beta).

In this day and age, it's quite normal for a developer to have an understanding of consoles, and how to issue basic commands. But what if you could code your own custom commands to improve your workflow? If we look back to Laravel 3, you might remember that it offered tasks. Tasks were extremely helpful, but still came up short for more complex operations. Thankfully, Laravel 4 packs a beefed up Artisan that will make your life as a developer so much easier!

They start by introducing you to Artisan and what it can do already, then move into how you can create you own custom commands (with code examples). They show you how to add a description, coloring for the output, work with arguments, use confirm/question prompts and working with dependencies you might need.

0 comments voice your opinion now!
tutorial laravel4 artisan commandline example custom


NetTuts.com:
Testing Like a Boss in Laravel Models
February 19, 2013 @ 13:42:04

NetTuts.com has a new tutorial in their series covering the use of the Laravel 4 framework. In this new post, though, they show how to ensure quality in your application by unit testing your models (the "M" in "MVC").

If you're hoping to learn why tests are beneficial, this is not the article for you. Over the course of this tutorial, I will assume that you already understand the advantages, and are hoping to learn how best to write and organize your tests in Laravel 4. Version 4 of Laravel offers serious improvements in relation to testing, when compared to its previous release. This is the first article of a series that will cover how to write tests for Laravel 4 applications. We'll begin the series by discussing model testing.

They show how to set up the environment - making it use an in-memory SQLite database, call the migration to initialize it and run a "createApplication" to bootstrap the app. They then include an example if tests written against a "Post" model that extends the Ardent class. It also uses the FactoryMuff package to create objects. Some example tests are included, checking things like object properties, "posted at" date formats and the "slug" of a page (in a Page model and its tests).

0 comments voice your opinion now!
unittest laravel4 application tutorial ardent factorymuff



Community Events





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


introduction refactor configure podcast language interview install unittest list laravel framework symfony2 release opinion series developer community testing code threedevsandamaybe

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