Google Chrome vs Firefox: Chrome is Catching Up on Features for Web Developers
By Manuel Lemos
Google Chrome browser seems to have practically reached the leadership of the market share of browsers among the generality of the users. However, Firefox still leads in the preference of the majority of Web developers.
This article is a follow-up of another written last year entitled "Top 10 Reasons Why Firefox is still Better than Chrome for Web Development".
This time it includes a point by point response...
On PHPMaster.com there's a new tutorial about working with cookies in PHP applications - an introductory look at what they are, how to set them and how to read their values.Have you ever wondered that in spite of HTTP being a stateless protocol, when you log in to a website and buy stuff and checkout how the server can identify you uniquely? You might wonder if HTTP is stateless but your state is maintained through your interactions, isn't this a contradiction? Welcome to world of cookies (not the ones...
Here's what was popular in the PHP community one year ago today:Devshed: Simple and Secure PHP Login Script
Symfony Blog: Symfony2: The Roadmap to Final
Robert Basic's Blog: Helping out with Zend Framework 2
Rob Allen's Blog: Setting up PHP & MySQL on OS X 10.7 Lion
Sasa Stamenkovic's Blog: Create Kick-ass Website in no Time with Silex
PHPBuilder.com: Build Blazing Fast PHP Websites with Memcached Distributed Caching
Ibuildings techPortal: Behavior Driven Development in PHP With Behat
At the start of the month, I was on a panel at Unified Diff (which, if you're in the South Wales area, is well worth your time going to every month), and the last question we had is well worth expanding into a blog post. We were asked what each of us would do with a failing developer, and everyone was taken aback by my unequivocal answer: I'd fire them. After some back and forth between us (which carried on over a pint afterwards), my fellow panelists concluded that I seemed to be able to afford higher...
Ariz Jacinto has pointed out some results from a recent benchmarking "game" that compares the performance of several languages against each other in overall speed.Here's the link to the Computer Language Benchmark Game as of July
15, 2012. You'll see that the median speed of PHP is slightly faster
than Python 3 and Ruby 1.9 on x64 Ubuntu/IntelQ6600 Quad-core machine.
You can visit the results page and turn on and off various languages to get the updated results in the chart. You can also limit it down...
In response to last week's ask for questions, I received a number of questions that I'd like to address. Since it would only do the question justice to have a dedicated post for each question. So I'm going to try to do one post per week on a user-submitted question (probably on Wednesday, but no promises). This week's question is a rather abstract one:I've been learning a lot about service layers and managers and domain objects and one thing really confuses me. Why is MySQL being turned into a...
In this latest post to his site Stefan Koopmanschap shares a solution he's found to migrating data with Doctrine2 from an existing structure.A project that I'm working on right now required me to migrate data from the existing database to the new database and database structure. Since the application is built on top of Symfony2, I decided to write a Command that would take care of the migration. I ran into an issue though: Doctrine2 insisted on creating new IDs where I wanted to keep the old one. The...
MediaFire API PHP Library
Bindable Simple Data Grid
A MySQL Database Class
A project that I'm working on right now required me to migrate data from the existing database to the new database and database structure. Since the application is built on top of Symfony2, I decided to write a Command that would take care of the migration. I ran into an issue though: Doctrine2 insisted on creating new IDs where I wanted to keep the old one. The solution turned out to be really simple.
So in the summer of 2007 I switched from Windows to OSX which also meant switching from Thinkpad to Macbook Pro. While there were some details I liked on the Macbook Pro, like the at the time quite innovative magnetic design on the lid latch, overall I was sad to not be able to use a Thinkpad. So it also came that my first Macbook Pro had to repaired 3 times in total. Despite having bought the insanely expensive AppleCare this meant having to drop off my laptop for several days (usually 5 business days)...
On the BinaryTides.com site there's a recent tutorial showing you how to effectively use sockets in your PHP applications, complete with incoming and outgoing examples.This is a quick guide/tutorial to learning socket programming in php. Socket programming php is very similar to C. Most functions are similar in names, parameters and output. However unlike C, socket programs written in php would run the same way on any os that has php installed. So the code does not need any platform specific changes...
The Voices of the ElePHPant podcast has released their latest episode - an interview with Michelangelo van Dam, an organizer of PHPBenelux and well-known speaker.Cal's three questions have to do with his user group and conference experience:
You're a leader of the PHPBenelux User Group that moves around a lot, tell us some about how that works
Tell us some about he PHPBelenux conference and some of the things you've learned about running an event like that
Why should someone be part of the PHP...
In this new post to DZone.com, Giorgio Sironi walks you through a few steps to consider when trying to refactor some of the spaghetti code out of your application.Sometimes you have to take a step back from discussions on coupling, cohesion, patterns and katas to give some training to the ones of us that have a procedural mindset. With this article I hope to provide some initial tips for the members of the PHP community that are ready to abandon the concept of the OneSingleProcedure(TM) to embrace the...
On PHPMaster.com today there's a new tutorial showing you how you can use YAML documents on your applications ("YAML Ain't Markup Language") for configuration files.Test fixtures, configuration files, and log files all need to be both human and machine readable. YAML (YAML Ain't Markup Language) is a less-verbose data serialization format than XML and has become a popular format among software developers mainly because it is human-readable. YAML files are simply text files that contain data written...
Anthony Ferarra has a new post looking at using generators in your code (as proposed here). He introduces the idea behind them and shows both a simple and more complex example of their use.The concept of generators was recently proposed for addition in PHP's core (Possibly for 5.5.0). While I believe that this is a great tool, it appears that many PHP developers aren't familiar with the concept of generators. So I thought I would take a little time and explain some of how it works, and how it can be used...
Latest PECL Releases:
So when you are a programmer life is good. You can kind of work from where ever you want (home/office/nature ..), constantly get to work on new and exciting stuff (well if you want that is) and you can choose from an entire planet offering you jobs that by and large pay pretty well. Personally I have been additionally very lucky in having found Liip. Now this sentence sounds a lot like the beginning of a note on my immediate departure from Liip, where I thank them and then state that I needed a new...
Last week we at IKS organized a two-day hackathon for developers interested in Create.js, VIE, and in new tools for editing websites semantically.
The original agenda for the event can be found from the event's wiki page, and I believe we got it covered quite well. I've been to quite a lot of hackfests, and usually the first day is mostly spent by people arriving, figuring out the WiFi setup, and getting to know the development tools. This time was different: people jumped straight into the code and...