 | News Feed |
 | Jobs Feed |
Sections
|
| feed this: |  |
Jani Hartikainen's Blog: Why does everything need to be integrated into a framework?
by Chris Cornutt 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.
voice your opinion now!
integration opinion framework testing rubyonrails
Richard Miller's Blog: Symfony2 Integrating elasticsearch
by Chris Cornutt 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:
voice your opinion now!
elasticsearch integration symfony2 framework tutorial series
Alessandro Nadalin's Blog: Behaviour what?
by Chris Cornutt 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.
voice your opinion now!
behat behaviordriven development symfony integration testing
Project: Mink library integration bundle for Symfony2 (for Behat)
by Chris Cornutt 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.
voice your opinion now!
mink library integration behat bdd testing symfony2 bundle
Sebastian Bergmann's Blog: Template for Jenkins Jobs for PHP Projects
by Chris Cornutt 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.
voice your opinion now!
template continuous integration jenkins tutorial
|
Community Events
Don't see your event here? Let us know!
|