 | News Feed |
 | Jobs Feed |
Sections
|
| feed this: |  |
Ian Christian's Blog: Handling Uploaded file in symfony's admin generator
by Chris Cornutt March 12, 2010 @ 11:03:15
Ian Christian has an informative new post for the Symfony developers out there. He's figured out a way to handle uploaded files with Symfony's admin generator relatively easily, changing the filename option.
When a file is uploaded using sfForm in the admin generator, by default the filename that's used is a random string, which can look bad in URLs. If you want to change this, it's not immediately obvious how - but it is incredibly simple.
The Symfony project does have some documentation on the topic, but it's not the easiest to read. It basically boils down to is defining a function in your extended class based on the name of the file where you can change the name however you'd like. Code snippets are included to make the point a bit more clear.
voice your opinion now!
symfony framework tutorial upload admin
Michael Wales' Blog: What does HipHop PHP mean for CodeIgniter?
by Chris Cornutt February 24, 2010 @ 11:37:36
Michael Wales has taken a look at what effect HipHop could have on your CodeIgniter application (or lack there of).
So, what does this mean for the CodeIgniter community? In short, absolutely nothing. Most CodeIgniter developers are building applications that will run on shared hosts, virtual private servers or a cloud-based virtualization system. Of that very large group of our community, an extremely small number have the capability to compile the HipHop binaries or alter their configuration in order to serve HipHop pages.
He points out that, for most developers and applications, time is better spent optimizing the actual application - things like reducing the I/O needs, caching, etc. HipHop, unless you have a very high demand and load on the application, won't give much of a gain. He gives the example of Facebook's load and how even it would only relatively recently would benefit from the tool.
voice your opinion now!
codeigniter framework hiphop facebook effect
Padraic Brady's Blog: PHP Framework Benchmarks Entertaining But Ultimately Useless
by Chris Cornutt February 24, 2010 @ 10:51:46
In a new post to his blog Padraic Brady takes a humorous look at benchmarking PHP frameworks in a response to some of the other recent posts from developers on the Symfony and Solar frameworks.
Some recent attention in the PHP framework community has been focused on the recent publication of Symfony 2 Preview benchmarks showing that Symfony 2 outperforms Zend Framework by a factor of 3.5. It also outperforms every other benchmarked framework. [...] My fellow Zend Frameworkers, we cannot allow this to stand. [...] I have created the benchmark of benchmarks. Well, to be honest, I only really edited another benchmark. But still, it will prove Zend Framework is faster than everything else out there.
His benchmarks are a little different from the rest with both the usual comparisons between the framework request numbers and a bit of explanation on how the Zend Framework came out on top - he cheated. What it really boiled down to was how the code that was tested was written. His code was optimized in a few different ways (All-in vs the Optimized/More-Optimized/What-The-Fuck-Optimized) and he includes custom benchmarks to show how they differ. What it really boils down to from his perspective is simply put:
Benchmarks. Useless. Final words? Know your framework! All this benchmarking nonsense does little good unless it's plastered with disclaimers.
voice your opinion now!
framework benchmarks useless framework
Paul Jones' Blog: Running The Symfony 2 Benchmarks
by Chris Cornutt February 22, 2010 @ 10:37:00
In responding to some of the benchmarks posted about the speed and performance of Symfony 2 and how they truly compare to some of the other frameworks out there, Paul Jones has shared his thoughts and process on using his benchmarking system to get some differing results.
Fabien Potencier released Symfony 2.0.0alpha1 last week, along with some benchmarks showing its performance. I am glad to see that Fabien used my benchmarking system and methodology, and am happy to see that he is paying attention to the performance of his framework. I take this as an acceptance on his part that my methodology is legitimate and valid, and that it has value when comparing framework responsiveness.
Paul points out that Fabien's reporting is a bit inaccurate and goes on to talk about how his numbers are off and what a more correct version of the benchmarks would look like. He takes the testing methodology that Fabien used in his process and reapplies it to his benchmarking process using clean Amazon EC2 instances and Siege to run some response/request testing on software running on each framework. Numbers are run for three different comparisons and results are found...but you'll have to read the rest of the post to find those out.
voice your opinion now!
benchmark framework symfony solar lithium cake symfony yii
Stefan Koopmanschap's Blog: An Open Letter To The phpBB Community
by Chris Cornutt February 22, 2010 @ 09:12:25
In response to an announcement made by the phpBB group at the just-passed Symfony Live event about considerations being made to change the base platform to Symfony, Stefan Koopmanschap has posted an open letter to the phpBB community and development group with his thoughts on the potential move.
The past week was the week of Symfony Live 2010 in Paris. One of the people there was Nils Adermann, the new Lead Developer of the phpBB project. The biggest news was that phpBB is considering moving to Symfony 2 as the basis of their new version of phpBB: phpBB4.
There's an RFC posted for anyone that would like to reply back to the idea. In Stefan's response he mentions things that would be positive about the decision like not having to reinvent the wheel, getting the support of the pre-established Symfony community, making it easier to extend phpBB via Symfony code and a certain sense of security that comes with having the framework backing.
voice your opinion now!
phpbb symfony framework rewrite opinion
Richard Thomas' Blog: Solar Framework Shorts - The Road to Solar 1.0
by Chris Cornutt February 08, 2010 @ 08:37:23
In another of his "Solar Shorts" Richard Thomas talks about the road to Solar 1.0 as broken down into three points that will lead up to the framework's 1.0 release.
If you haven't taken a look at the Solar Framework in the past now is the time to do so as the three biggest complaints about Solar are on the road to be resolved.
Some of the things that might have made you skip over the framework in the past are being worked on right now:
- Solar has been in perpetual alpha/beta forever..
- Documentation, all the cool Frameworks have cool docs.
- Examples, sometimes the easiest way to learn is to study a working application
For more information about the Solar framework, head over to SolarPHP.com and grab the latest copy.
voice your opinion now!
solar framework stable manual example
PHPBuilder.com: Compose a MVC Paradigm for PHP with Symfony
by Chris Cornutt January 22, 2010 @ 09:58:15
On PHPBuilder.com today there's a new tutorial about using the Symfony framework to create and modify a sample application.
Symfony is an open-source PHP web framework that provides architecture, components and tools for developers to build and maintain complex web applications faster. The Symfony framework uses the MVC architecture to make the web applications a lot easier and faster to modify.
They walk through a brief look at the MVC pattern before getting into how Symfony can automatically create a base project (using the command line "symfony" tool), how to configure your Apache server and how to get a database up and working with some sample data. The code for their sample site is available for download.
voice your opinion now!
symfony framework tutorial introduction
StackOverflow.com: What PHP framework would you choose for a new application and why?
by Chris Cornutt January 20, 2010 @ 14:00:39
On StackOverflow.com what started out as a question about framework choices has turned into a good discussion about preferences, features and thoughts on several including the Zend Framework, CodeIgniter, CakePHP and Symfony.
Over the course of your web development experience, what PHP framework(s) have you worked with? What strengths and weaknesses have you observed in those frameworks? Considering these, what framework would you recommend if beginning a new application?
Fans and developers from most of the popular PHP framework have contributed their two cents into the discussion including links to other resources showing "versus" comparisons and even a mention or two of Ruby on Rails.
voice your opinion now!
framework choice opinion
|
Community Events
Don't see your event here? Let us know!
|