News Feed
Jobs Feed
Sections



Recent Jobs

News Archive
feed this:

Jani Hartikainen's Blog:
Why does everything need to be integrated into a framework?
January 23, 2012 @ 13:04:22

In this new post to his blog Jani Hartikainen wonders if "everything needs to be integrated into a framework".

There is occasionally people asking about things such as "Is there an integration for X in framework Y?" Then they are disappointed when it isn't, acting as if it's a really bad thing. But why do things need to be integrated to begin with?

He points out that other frameworks (ex. Ruby on Rails) have a lot of things integrated, but he doesn't agree that this should be the standard. He suggests that, by not having tools that are tightly coupled with the framework you're using, you open yourself up to a wider, possibly better range of external tools.

One could argue that integrated libraries give you a productivity boost. While it may be so, I think the main boost you get is the very first steps: It's easier to get started, but after that the benefit fades. In the long run, it may even turn into a poor investment in general, as you could have learned a general purpose tool instead.
0 comments voice your opinion now!
integration opinion framework testing rubyonrails



NetTuts.com:
Zend Framework from Scratch - Models and Integrating Doctrine ORM
January 13, 2012 @ 10:58:00

NetTuts.com has posted a second tutorial in their series focusing on the Zend Framework today. In this latest article they focus on integrating the powerful Doctrine ORM with a Zend Framework application.

Ready to take your PHP skills to the next level? In this new "From Scratch" series, we'll focus exclusively on Zend Framework, a full-stack PHP framework created by Zend Technologies. This second tutorial on our series is entitled "Models and Integrating Doctrine ORM".

They continue on from their previous tutorial to talk about what models are (with an example involving "bankers"). They also show how to use the Zend Framework "zf" command line tool to configure your database settings, set up the tables and download/bootstrap the Doctrine code. The include the code to create some simple models and how to use them to create and update records in your database. You can grab all of the sample code for their examples from The Next Social's github repository.

0 comments voice your opinion now!
zendframework doctrine model integration tutorial


Richard Miller's Blog:
Symfony2 Integrating elasticsearch
November 28, 2011 @ 11:40:06

Richard Miller has been posting a series of articles to his blog recently that look at integrating the ElasticSearch tool with a Symfony2-based application.

Elasticsearch is built on top of Lucene and indexes data as JSON documents in a similar way to the way MongoDB stores data. This means as with Mongo that it is schemaless and creates fields on the fly. It is queried over HTTP using queries which are themselves defined in JSON. [...] What I want to do is look at how you can avoid having to deal with issuing JSON queries over HTTP from a Symfony2 app and actually get started using elasticsearch in a very simple way.

He uses the Elastica PHP library to do some of the "heavy lifting" in the three posts so far:

0 comments voice your opinion now!
elasticsearch integration symfony2 framework tutorial series


PHPMaster.com:
Integrating Amazon S3 using PEAR
October 17, 2011 @ 08:34:01

On PHPMaster.com today there's a new tutorial showing you how to integrate Amazon's S3 service with your application via the Services_Amazon_S3 PEAR package.

In the process of reviewing documentation for Orchestra.io, I found that it doesn't allow file uploads. Instead, it's recommended that Amazon S3 be used for file hosting. If you aren't familiar with it, S3 is an online storage web service that is part of Amazon Web Services (AWS). It provides access to fairly cheap storage through a variety of web service interfaces. This article will demonstrate how to sign up for an Amazon S3 account and use PEAR's Services_Amazon_S3 package to interact with S3 in your own application.

They walk you through the whole process - getting signed up at the AWS site, creating credentials, installing the Services_Amazon_S3 package (via the PEAR installer) and using it in some sample scripts.

1 comment voice your opinion now!
pear package amazon s3 tutorial integration


Liip Blog:
Integrating Magento into Symfony2
September 22, 2011 @ 12:47:56

On the Liip blog today, there's a quick post about integrating Symfony2 and Magento, the popular PHP-based ecommerce platform.

So last week four developers sat together on a regular Hackday to see what's needed to hook up Magento into Symfony. To make this short the outcome is a Magento bundle for Symfony2. When we met in the morning we weren't even sure what exactly to try out but soon agreed on implementing a Symfony authentication which uses the Magento customer database.

The post talks about some of the issues they came across in their work - mainly a problem with incompatible autoloaders. There were also problems getting the logins to play nicely with each other and each product's session handling. You can find the current results from their hacking in this bundle posted to github.

0 comments voice your opinion now!
symfony2 magento integration login session autoloader bundle


Phil Sturgeon's Blog:
NinjAuth The Social Integration Package PHP has been dying for
September 19, 2011 @ 08:59:31

New on his blog Phil Sturgeon has a post about the social integration package PHP has been dying for - NinjAuth. It has hooks for OAuth and OAuth2 connections and makes it simple to use them completely abstracted.

In the past I have never needed to implement oAuth into a PHP project. I have done it in Rails and boy it was easy thanks to OmniAuth. OmniAuth abstracts away so much of the grunt work that it takes about 5 minutes to add a new social network to your site, and 4 of those minutes are spent signing up for the API keys. What options do we have in the world of PHP? A bunch of screwy hacks or provider specific classes like TwitterOAuth. I don't want to hunt down 20 libraries with different methods, I want to get a key, bang it in and go to the pub. Well, now I can!

The fuel-oauth and fuel-oauth2 packages to drive its backend. He includes a code snippet showing how to configure the providers (complete with keys needed for auth) including Facebook, Flickr, GitHub, YouTube and - of course - Twitter. You can grab the latest version of this library from Phil's github account.

0 comments voice your opinion now!
ninjauth social network oauth oauth2 integration codeigniter fuelphp


Alessandro Nadalin's Blog:
Behaviour what?
August 30, 2011 @ 09:22:15

In a recent post to his blog Alessandro Nadalin looks at a different approach to development than the usual code-first, ask questions later style, behavior-driven development, and a tool that can help you follow this method - Behat.

Although this requirement is not mandatory, BDD's power is leveraged by using stories. It basically assumes that instead of focusing on tests, we should start our development process writing down a story that a parser can translate into a test (a customer cares about features, not tests) a programmer can implement in order to verify that our software respects that story.

He talks about installing Behat via PEAR, how it can integrate with Symfony (1.4) and an example of a sample story/test file that checks a few things against a basic page. He also points out an interesting and quite useful feature of Behat - outputting the tests in a HTML-formatted result that makes for easy reading by non-developers.

0 comments voice your opinion now!
behat behaviordriven development symfony integration testing


Project:
Mink library integration bundle for Symfony2 (for Behat)
April 21, 2011 @ 11:44:02

Konstantin Kudryashov has linked to a new tool that's adds BehatMink browser abstraction library for your Symfony2 project as a part of the Behat project (a BDD testing tool for PHP).

You can now test your Symfony2 applications with PHPUnit and Mink, thanks to brand new MinkBundle.

This new tool provides a clean API, support for Symfony2's test.client browser emulator and support for the Goutte and Sahi browser emulators as well. In the README on it's github page, they've provided some sample code snippets that show how to register the namespaces, add it to your application kernel/add the config, enable the GoutteDriver and SahiDriver and, of course, write a first test.

1 comment voice your opinion now!
mink library integration behat bdd testing symfony2 bundle


Zend Developer Zone:
Episode 39 "Continuous Inspection and Integration of PHP Projects"
February 23, 2011 @ 10:47:50

On the Zend Developer Zone Kevin Schroeder has published the latest episode of the ZendCon Sessions series of podcasts (as recorded at the 2010 Zend/PHP Conference). The episode is Sebastian Bergmann's talk on continuous inspection and integration in PHP projects.

The ZendCon Sessions are live recordings of sessions that have been given at previous Zend Conferences. Combined with the slides, they can be the next best thing to having attended the conference itself. [...] This episode of The ZendCon Sessions was recorded live at ZendCon 2010 in Santa Clara, CA and features Sebastian Bergmann giving his talk: "Continuous Inspection and Integration of PHP Projects"

You can either listen via the in-page player or by downloading the mp3. His slides have also been posted to Slideshare so you can follow along.

0 comments voice your opinion now!
zendcon10 podcast session continuous inspection integration project sebastianbergmann


Sebastian Bergmann's Blog:
Template for Jenkins Jobs for PHP Projects
February 04, 2011 @ 12:09:25

Sebastian Bergmann has a new post to his blog today talking about the Jenkins template he's put together to help PHP projects get started quickly with the popular continuous integration tool (formerly Hudson).

Most web applications are changed and adapted quite frequently and quickly. Their environment, for example the size and the behaviour of the user base, are constantly changing. What was sufficient yesterday can be insufficient today. Especially in a web environment it is important to monitor and continuously improve the internal quality not only when developing, but also when maintaining the software.

The Template for Jenkins project gives you a standard template to build off of when setting up your environment. It includes links to the required plugins, the needed PHP tools (installed via PEAR) and the build configuration files. At the end, there's also a bit on how to get it all installed and configured. There's even a few screenshots to help you be sure things look okay.

0 comments voice your opinion now!
template continuous integration jenkins tutorial



Community Events





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


unittest test database introduction api phpunit conference community language symfony2 framework component application development series release opinion custom podcast interview

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