 | News Feed |
 | Jobs Feed |
Sections
|
| feed this: |  |
NetTuts.com: Better Workflow in PHP With Composer, Namespacing, and PHPUnit
by Chris Cornutt January 21, 2013 @ 10:49:15
On NetTuts.com there's a new screencast posted showing you a good way to create a better workflow in your PHP development using Composer and PHPUnit.
In this video tutorial, we'll again focus on workflow. Specifically, we'll use Composer's built-in autoloading capabilities, along with namespacing, to make for an elegant testing experience. We'll also review a handful of PHPUnit best practices, as we get setup with these tools.
He shows you how to use Composer to load in the packages from other projects (as well as your own) and using PHPUnit to execute unit tests for your application. He uses test-driven development, but it's not a required part of the workflow. He helps you create a simple "Calculator" test. He also shows how to manually modify the Composer classmap to load in your own classes.
voice your opinion now!
workflow screencast phpunit composer namespace tdd unittest
PHP/Cloudcast: Getting Started with Stripe Webhooks
by Chris Cornutt November 19, 2012 @ 09:20:51
On the PHP/Cloudcast site today they've released another screencast showing you how to integrate your application with Stripe, the popular (and programmer friendly) payment gateway for your applications. This is the third part of their series.
In this, the third episode of PHP Cloud Development Casts, we go through how to integrate Stripe Webhooks in to our PHP applications. We extend the PHP Kohana application we created in episode 2 and show how simple it is to create a webhook and to receive the information and store it in a MySQL database.
Through the use of Stripe's webhooks, you can have a transaction call back to your application on a specified URL and perform further actions. In his example, he shows how to make the request, handling the "payment success" event. He includes all of the code (controller, view, etc) that you'll need to plug into Kohana to make it all work.
voice your opinion now!
cloudcast screencast stripe tutorial callback webhook kohana
NetTuts.com: What to Expect From Laravel 4
by Chris Cornutt November 13, 2012 @ 12:24:43
On NetTuts.com today there's a new post with several resources and screencasts talking about what to expect from the upcoming release of the Laravel framework.
If you're keeping up on the latest news in the PHP community, then you likely know that Laravel 4 is on the near horizon. Its creator, Taylor Otwell, recently recorded a handful of screencasts to demonstrate what we can expect, including resourceful controllers, improvements to Eloquent, Composer support, and much more! Take a look after the jump!
The screencasts cover:
- Basic Routing and Composers
- Controllers and Filters
- IOC Container Basics
- Controller Injection and Unit Testing
- Eloquent Collections and Polymorphic Relations
You can find out more about the framework by visiting the project's main site or by following them on Twitter.
voice your opinion now!
laravel framework screencast release tutorial
Fortrabbit.com: Video Symfony2 on fortrabbit
by Chris Cornutt November 05, 2012 @ 11:16:40
On the Fortrabbit blog there's a screencast posted showing you how to use Composer using its "create-project" functionality.
Learn here about one way (out of many) to install the famous Symfony2 (a popular PHP framework to build web projects. Also the base for some CMS systems, like the new Drupal8) on the fabulous fortrabbit PHP hosting platform. See the ultra cool text editor Sublime Text 2, the fortrabbit web GUI, gorgeous Git version and PHP Composer in action.
The tutorial also shows you how to integrate it with the fortrabbit hosting service platform and deploy the Symfony2 site, complete with the correct .htaccess file to handle the rewrites. The commands you'll need for the terminal are all included in the post. You can find out more about the "create-project" feature in Composer in its manual.
voice your opinion now!
symfony2 composer createproject tutorial screencast
PHP Cloud Casts: #3 Creating Charges with Stripe.com (Screencast)
by Chris Cornutt October 29, 2012 @ 10:05:06
The PHP Cloud Casts site has posted another screencast-based tutorial showing you how to interface your application with Stripe.com, a developer-friendly payment solution with its own API.
In this, the second episode of PHP Cloud Development Casts, we go through how to creating charges with the Stripe.com libraries. We use a simple Kohana based PHP setup to create a token and an accompanying charge. We then login to our account and look at the details that Stripe stores about the transaction from tokens, charges, events and other logged data.
You can view the video either on their site or by heading to Vimeo for a bit larger version. He shows how to use Stripe's own Javascript and PHP scripts to connect to the API. He does it as a part of a Kohana-based application, but it can be easily adapted to any framework (or non-framework) site out there.
voice your opinion now!
screencast tutorial stripe payment gateway api
NetTuts.com: Hands-On Unit Testing With PHPUnit (Screencast)
by Chris Cornutt September 27, 2012 @ 10:11:16
On the NetTuts.com site today there's a new screencast posted (by Jeffrey Way) that gives you a hands-on look at using PHPUnit to write and execute tests on your code.
In this screencast, we'll build a relatively simple class, using TDD techniques. Along the way, we'll discuss various PHPUnit methods, how to create mock objects, and more! I encourage you to work along; it's the best way to learn!
If you're new to unit testing this is a good way to start. He uses the Laravel framework as a base for the testing and a TDD (test-driven development) approach. Once you've gotten your feet wet following along with the screencast, you can go over to the PHPUnit site for more details.
voice your opinion now!
unittest phpunit screencast tutorial
Matthew Weier O'Phinney: ZF2 Modules Quickstart (Screencast)
by Chris Cornutt September 20, 2012 @ 09:44:03
Matthew Weier O'Phinney has put together a screencast showing you how to get up and running (a quickstart) with the latest release of Zend Framework 2.
One of the exciting features of the newly released Zend Framework 2 is the new module system. While ZF1 had modules, they were difficult to manage. [...] In Zend Framework 2, we've architected the MVC from the ground up to make modular applications as easy as possible. [...] To give you an example, in this tutorial, I'll show you how to install the Zend Framework 2 skeleton application, and we'll then install a module and see how easy it is to add it to the application and then configure it.
The screencast (also viewable over on Vimeo) talks you through all the steps in the process, but the code is also provided in the post along with screenshots of how the application should look at various steps.
voice your opinion now!
screencast tutorial zendframework2 modules quickstart introduction
|
Community Events
Don't see your event here? Let us know!
|