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

Symfony Blog:
New in Symfony 2.3 Small things matter
May 20, 2013 @ 12:23:23

On the Symfony blog today Fabien Potencier talks about some small things that matter - some of the smaller updates that have been made to the Symfony 2 framework recently that have helped to make it better and more flexible.

Every new Symfony release tries to brings some small but useful improvements. Let's dive into some of them for Symfony 2.3 (in no particular order).

Things in his list include:

  • A text-based output of the exception handling stack trace
  • A default configuration for the Serializer component
  • The ability to run the framework in a production environment in development
  • An update to make debugging configuration parameters easier
  • Conversion process of short controller names
  • Overload generated code in the bundle bootstrapping code

Check out the post for the rest of the changes on his list and check out the RC1 of Symfony 2.3.0 to see some of them in action.

0 comments voice your opinion now!
symfony framework small things update feature

Link: http://symfony.com/blog/new-in-symfony-2-3-small-things-matter

Community News:
ElePHPants - the Next generation
December 17, 2010 @ 06:52:22

If you've been trying to get your hands on one of the cuddly little mascots for PHP (the elePHPant) but haven't managed to yet, there's some good news! Another run of the fuzzy little animals is being done (the 6th) and this time they're offering something new - pink elePHPants.

As we are now out of every of the 5 first generation of the elephpants, it is time to start a 6th. You'll find here all information to include yourself. [...] Fill in your elephpants wishes. We do not need any payement now. We will contact you directly before starting the generation for the actual payement.

Their schedule hopes to end the pre-order process on December 20th (just three days away) and to strat production on these pre-orders by January 10th. The end results would be shipped out for delivery in April 2011. If you'd like to lay claim to some of your own, go over to the order form and select the size (large/small) and the color (blue/pink) and fill in the contact info. Unfortunately, because of production restrictions, single elePHPants cannot be ordered, so consider getting together with a local user group and all chipping in for a box!

0 comments voice your opinion now!
elephpant order preorder pink blue large small animal


Staw Dogs Blog:
PHP Sinatra Clones
November 01, 2010 @ 11:14:30

From the Straw Dogs blog there's a recent post looking at some of the PHP frameworks out there have the same kind of philosophy behind them as the Sinatra framework for Ruby - a small, light framework that's easy to use.

I'm currently looking for a good PHP framework to do a new project. I recently used Kohana 3 at on a project for a client but I needed something lighter and having used Sinatra and Padrino previously but needing it PHP based I did the next natural step - searched for PHP Sinatra clones.

There's four frameworks that made the list - all in varying states of development:

3 comments voice your opinion now!
sinatra clone framework lightweight small


Jeez Tech:
Damn Small PHP Frameworks. Because size does matter.
September 17, 2009 @ 13:54:22

In this recent post to the Jeez Tech blog they take a look at some of the small, lightweight frameworks out there.

They look at five different frameworks:

A few other frameworks are also mentioned in the comments like the micro-framework limonade and Madeam.

0 comments voice your opinion now!
small framework size


Linux Magazine:
Micro-Frameworks Big Things in Small Packages
May 11, 2009 @ 10:26:12

Martin Streicher has written up a new article for the Linux Magazine website looking at microframeworks - one in Ruby and the other in PHP (Limonade).

Indeed, the quality of Rails, CakePHP, Django, and Catalyst notwithstanding, some developers have rebuffed the large frameworks, citing bulk and complexity, to create smaller and simpler alternatives. Dubbed micro-frameworks-think microcomputer versus mainframe-the tools shape incoming requests into something manageable and leave the rest up to you. Choose your design pattern, object-relational mapper (ORM), and rendering technology, and off you go. As you'll see, a working Web application can be composed in less than ten lines of code in a single source file.

He covers the Ruby framework first (Sinatra) and Limonade next. The framework takes incoming requests and maps them into the developed code. It works like a basic MVC-formatted framework - the request comes in with an action and is sent to a method by the same name. You can use wildcards in the URI, regular expression matching, views, templates and it includes error handling support and configuration option support.

0 comments voice your opinion now!
microframework sinatra limonade mvc small light


Alex Netkachov's Blog:
PHP micro-optimization tips
March 10, 2009 @ 08:47:38

For those trying to squeeze the absolute most out of their applications, check out these suggestions from Alex Netkachov on a few "micro" kinds of things that could help speed things up in the long run.

Why "micro-"? Because changing logic of your application may give you much better performance boost then applying all these tips. But they still can make your code better. You always need to output something, why do not use "echo" instead of "print"?

He has a list of about thirty things you can do including:

  • calling a function is faster then calling a static method
  • accessing an initialized variable is faster then accessing an uninitialized variable
  • avoid @ (error control operator)
  • adding method parameter type hint increases calling time
  • cache page output or result of resource-consuming functions
  • pre-increment (++$i) is faster then post-increment ($i++)
  • an array is a faster alternative to a class with several fields

These hints aren't going to make amazing differences in your code, but they could help get you out of a sticky place where your code just doesn't want to behave.

0 comments voice your opinion now!
microoptimization tip small hint


Symfony Blog:
New in symfony 1.2 Small things matter (2)
September 24, 2008 @ 10:27:28

Fabien Potencier has a new post to the symfony framework's blog today talking about some more of the "little things" they've added to the latest version of the framework.

Symfony 1.2 already comes with a lot of great new features but smaller things also matter a lot. Here is yet another post about small things we have recently added to symfony 1.2.

The list includes the ability to generate a URL in an action using the routing object, new methods in the form object that make it simpler to use in templates and an update to the Phing/Propel interface to help with debugging.

0 comments voice your opinion now!
small things update version action route form method propel phing


Symfony Blog:
New in symfony 1.2 Small things matter
September 03, 2008 @ 09:33:28

In this new post to the symfony blog today Fabien talks about some of the "small things" that help to make this latest version of the framework (1.2) even better.

As for every symfony version, we try to simplify the API and make it more intuitive and powerful. Here are some examples that you will soon enjoy in symfony 1.2.

There's four included in the post (and many more in the framework):

  • Application name in CLI tasks
  • Native PUT and DELETE support from the browser
  • Shortcuts in the response
  • sfValidatorSchemaCompare validator
0 comments voice your opinion now!
symfony small feature cli put delete shortcut sfvalidatorschemacompare


Nexen.net:
Elephpants, 2008 generation
May 02, 2008 @ 17:12:40

So you've seen all of the pictures of the elePHPants floating around and want to get your hands on one of your very own? Good news! Damien Seguy and crew have another fresh batch of huggable blue PHPness on the way and you can place your order now:

If you have missed the boat of the first generation of elePHPants, now is the right time to catchup up and participate to the 2008 generation! As for the first generation, this project is open to every PHP User group and aficionados, that want to adopt elePHPants, small or big.

Pricing is 4 Euros per elephant (in a 50 count box only) or 50 Euro for one of the larger elephants. They're even open to having company logos ("your own brood") added to the other side of his back. You can find more details on getting your hands on one at this page on the Nexen.net website or just head right to the order form to get a little blue PHPer to call your own.

0 comments voice your opinion now!
elephpant order stuffed animal small large custom logo


SitePoint PHP Blog:
pTest PHP Unit Tester in 9 Lines Of Code
August 13, 2007 @ 12:05:00

On the SitePoint PHP blog, there's a new post from Paul Annesley about his latest creation - a nine line unit tester for PHP, pTest.

I was recently working on a command line PHP tool, and didn't have easy access to our normal PHP unit testing framework built around SimpleTest. [...] I didn't need support for mock objects or complicated assertions - just a bare basic assertTrue() would do the trick.

He includes the code (of course) and an example of it in action, three tests with their assertions. It's a simple little tool made of a simple purpose, a starting place for developers just learning unit testing to learn from.

0 comments voice your opinion now!
ptest unittest small tutorial simpletest assertion ptest unittest small tutorial simpletest assertion



Community Events











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


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

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