ZFort Group: The Battle of the Titans. Zend vs. Symfony
May 23, 2013 php, Zend Framework
In this new post to the ZFort blog Elena Bizina compares Symfony and Zend Framework from her perspective, looking at things like functionality, general understanding and community.
Zend and Symfony are the two frameworks that are often compared. Which one is more functional? Which one is more preferable in terms of productivity? Which one is better for general understanding? Which of these two has a larger community? I’ve asked Zfort Group experts to help me with these questions, and here’s what we have come to.
She first gives a high-level overview of each framework, pointing out a few of the features and tools they have built-in. She then goes on to answer the questions above, noting that she sees Symfony as coming out in the lead. Some of the questions are a little vague, so it’s not entirely clear why one is different than the other. What do you think? Leave a comment here with your opinions.
Link: http://www.zfort.com/blog/zend-vs-symfony
Tags: php, zend framework
Advanced Copy Paste functionality in FireStorage Plus!
Mar 13, 2013 php, Zend Framework
Starting FireStorage Plus! v1.2 a new feature is introduced: copy paste.
This copy paste functionality is however smart adaptive powered by a strong AI. It adapts to your needs.
If you need to copy the key, value and storage type to a string of text it is sufficient to right click on a storage, select copy from [...]
Tags: firebug, firestorageplus, html5, php, The Web, web storage, webstorage, zend framework
FireStorage Plus!: See web storage – localStorage and sessionStorage – in Firefox ’s Firebug
Feb 26, 2013 php, Zend Framework
What is the Firefox Add-on “FireStorage Plus!” all about?
First It is about you!
Secondly it is about HTML5 Web Storage mechanisms.
Where can I find it?
First you need the Firebug addon: https://addons.mozilla.org/en-US/firefox/addon/firebug/
Then you need the FireStorage Plus! addon: https://addons.mozilla.org/en-US/firefox/addon/firestorage-plus/
The FireStorage Plus! addon is an extension to the wonderful tool Firebug.
Why would I need it?
You cannot imagine [...]
Tags: firebug, firefox, firestorageplus, mozilla, php, The Web, zend framework
php|architect January Issue – Standards and Testing
Feb 1, 2013 php, Zend Framework
Like it or not, most of us (developers) started learning in a vacuum. We learned and developed habits that worked for us at the moment, but not all of these were things we are now proud to show off. How many of us facepalm when we see our code from 5 years ago? Heck- even 2 years ago! If you don’t follow a standard (or haven’t set guidelines of your own to follow), your code will be inconsistent, hard to follow, and likely, embarrassing to show to others later.
To help highlight some tips and tools to ease your “in-code-sistencies”, we explore code standards and testing in the January issue of php|architect magazine. Read in Andrew Podner’s “Coding Conventions” how, as we share and commit code, standards matter more and more every day. Once the code is written, it’s important to make sure everything is working correctly. So, while it takes a little more time up front, writing tests will ultimately save you time in debugging. Learn about this as well as tools that can help you make testing easier in “Testing in PHP” by Jeff Carouth. Development isn’t just about good code and efficient tests, learn about the benefits of properly documenting your code – going beyond just commenting – in Chris Tankersley’s “Properly Documenting Your Code”.
In our “Bug Zapper” column, Bart McLeod fixes a bug in the ZF2 documentation. You can follow along as he evaluates the bug, tests, and then submits a pull request for his fix in “Fix the Manual”. We welcome Ben Marks this month with his article “(Re)introducing Magento”, the first in his new series “Shop Talk”, which will explore the world of Magento. Veteran columnist, Matthew Setter, also starts a new column this month titled “Education Station”. This column will introduce new apps, plug-ins, libraries, and contributions to the PHP world. First up is php-markdown, making your markup a snap.
Beth? Oh, she’s off to another conference. In the Editorial, she talks about her recent bout of “Conference Fever”.
Finally{}, Eli talks about php|architect’s new beginnings under the reigns of Musketeers.me.
Tags: best practices, magazine, php, php|architect, Programming, zend framework
Zend Framework 1 is not dead; ensure you upgrade!
Dec 18, 2012 php, Zend Framework
I’m delighted to announce that Zend Framework 1.12.1 has been released! This release fixes 50 issues which is a great result. I’d like to thank everyone who submitted a patch to ZF1 and to Matthew Weier O’Phinney, Frank Brückner and Mike Willibanks in particular for their work on this release.
There’s a few important things to note:
- There’s a security fix in 1.12.1. Please read ZF2012-05 if you use Zend_Feed_Rss or Zend_Feed_Atom.
- The minimum PHP version for ZF 1.12.0 and ZF 1.11.12 is 5.2.11 due to security fixes for ZF2012-03.
- Zend_Markup_Parser_Textile has been removed from 1.12.1 as it was significantly broken.
As I said in the title of this post, ZF1 isn’t dead: we have committed to supporting it until at least 2014 so we will have more releases as required either due to security issues found or because we’ve accumulated enough bug fixes in the codebase. With that in mind, please continue to raise issues on the issue tracker if you find any issues in 1.12.1. We’d also appreciate your patches if you can fix any of the issues! I’m on IRC if you want any help (Akrabat in the #zftalk.dev channel on Freenode).
Tags: php, zend framework
Paul Jones: How Is Aura Better Than (er, Different From ;-) Than Symfony and Zend?
Dec 7, 2012 php, Zend Framework
In this new post Paul Jones has reprinted an interview he did with PHP Magazin about the recent 1.0 release of the PHP framework project he is a lead on – the Aura project.
I did an email interview with the folks at PHP Magazin; their German version is here. What follows is our original email exchange in English.
They talked about some of the core principles behind the framework, its origins from the Solar framework, the team’s “libraries first, framework second” methods and its push to be a PHP 5.4-focused framework. There’s also a bit that compares the framework to two other popular options – Zend Framework and Symfony.
Tags: php, zend framework
Hasin Hayder: Running Zend Framework Applications in AppFog
Nov 15, 2012 php, Zend Framework
Hasin Hayder has a quick post to his blog today about how you can configure an AppFog instance to be able to run Zend Framework-based projects on them.
AppFog is quite a popular polyglot PaaS (Platform as a Service) provider and it comes with a generous free plan for the developers. [...] Recently, I was looking for a solution on how to host a Zend Framework based application in AppFog. The main problem was that the url must point to the /public folder inside the app and from there it is initialized. After searching for some time, I found the clue in AppFog’s doumentation which is you’ll have to redirect all the traffic from the parent domain to the /public/index.php file using the URL rewrite rules.
The rewrite rules are included in the post for easy cut-and-pasting. With the recently announced closing of their phpFog service (in favor of just supporting AppFog) I’m sure this tip could come in handy for a lot of developers out there.
Tags: php, zend framework
Michelangelo van Dam: Learning lessons at ZendUncon
Nov 13, 2012 php, Zend Framework
Michelangelo van Dam has shared something new he learned at the recent ZendCon conference about using fixtures with his PHPUnit testing.
In my previous post I already mentioned Sebastian Jerzy Wilczyński (@dj_sebastian_w) and his uncon session “Unit Testing for Databases using fixtures and phpunit“. It made me wonder how much difference it would make if you use fixtures instead of testing database interactions using predefined sets of data. Since I work a lot with Zend Framework I was looking at how I could use fixtures and mock objects to follow Sebastian’s guidelines. So I gave it a try. This is what I came up with.
He illustrates with some example code – a set of database data (the fixtures) and sample tests that use the Zend Framework’s mapper and table gateway functionality to work with the tables. His test then mocks out the DbTable class for the “Order” object and forces a return of the database fixture data.
Tags: php, zend framework
Rob Allen: ZendServiceManager configuration keys
Nov 12, 2012 php, Zend Framework
Rob Allen has a new post to his site sharing some examples of the configuration possibilities for the ZendServiceManager module of the Zend Framework 2.
ZendServiceManager is usually configured in two places: an array in a config file or a method within your Module class. In either case, you provide a nested array of configuration information. [...] Within the service_manager array, there are a set of nested arrays which are generally used to configure how you want a given class to be instantiated. the names of these sub-arrays are hardcoded, so you just need to learn their names and the difference between them.
He lists out each of the options and includes a brief example and description for each. Values include “invokables”, “aliases” and “initializers”. He also touches on controllers, view helpers and controller plugins and how they hook into the ServiceManager.
Tags: php, zend framework
7PHP.com: Interview with Rob Allen: Author of Zend Framework in Action
Nov 12, 2012 php, Zend Framework
On 7PHP.com today they’ve posted the latest in their interview series with people from all across the PHP community. In this most recent post, they talk with Rob Allen, author of the “Zend Framework in Action” book and well known speaker and Zend Framework contributor.
In this edition I talked with Rob Allen who is the main author of the famous PHP book “Zend Framework in Action”. He is very passionate about the whole Zend stuffs: he’s a contributor to the Zend_Config component in Zend Framework 1, he’s a member of the Zend Framework Education Advisory Board, he keeps on with his contributions with the new Zend Framework 2 and he rambles a lot about QUALITY Zend Framework tutorials on his blog. Rob is fond of writing; his latest PHP-Advent article is “Better Than the Rest” and is also a regular conference speaker, speaking at the likes of ZendCon, PHP North West, PHP|Tek and a whole lots of places.
In the interview Rob answers questions about:
- How he got started with PHP
- His advice to beginning PHP developers and ones looking to improve themselves
- Who he works (IDE, debugging, testing)
- Some recommended resources to learning and keeping up to date
- and some of his thoughts about conferences
Tags: php, zend framework
