 | News Feed |
 | Jobs Feed |
Sections
|
| feed this: |  |
Lorna Mitchell's Blog: Proof that PHP 5.4 is Twice as Fast as PHP 5.3
by Chris Cornutt June 14, 2012 @ 10:04:55
In this quick post to her blog, Lorna Mitchell shares an interesting bit of benchmarking she did between PHP versions 5.3 and 5.4, finding 5.4 twice as fast as it's previous version sibling.
So recently I was working on some benchmarks for different versions of PHP, because I heard that PHP 5.4 is "faster" and since I'm a data geek I want to know how much faster! Now, PHP 5.4 is, in general, faster than PHP 5.3 but not twice as fast* unless you pick a use case which has been particularly optimised. My first attempt at benchmarking the two versions produced this. This was a surprise to me; was PHP 5.4 really so much faster??
Her benchmark was a pretty simple one - looping and creating a new object, evaluating the timing of how long it took to execute. A commentor also points to some more official benchmarks that were done and posted to the php.internals mailing list.
voice your opinion now!
speed version difference improvement create object benchmark
Chris Hartjes' Blog: DIC vs. Service Locator
by Chris Cornutt June 07, 2012 @ 10:09:36
In a new post to his blog, Chris Hartjes shares one thing that you can use to make your code easier to test - using a dependency injection container and how it compares to a service locator.
People often ask me what's the one thing they could do for their code base RIGHT NOW that will make it easier to test. To me, the answer is simple: make sure you are using Dependency Injection (yes the link is long and has code samples in Java, but whatever). Without the ability to "inject" your dependencies into your code (whether it is class methods or functions) you will have problems testing modules of code in isolation from each other.
He shows the possible uses of DICs, including code samples, and talks the differences between the two. He explains that the real difference in them is how its being used. When it's used to add and remove instances, it's a container. When its actually put to use and passed into a class, it morphs into a service locator.
voice your opinion now!
dependencyinjection servicelocator testing difference
Lorna Mitchell's Blog: Accessing the Magento V2 API
by Chris Cornutt June 24, 2010 @ 11:44:18
Lorna Mitchell has a new post to her blog today looking at one of the differences she's found in her work with the Magento API between version 1 and version 2.
I must say that I am always pleased when I see that these products do include some kind of API. The Magento one is a bit interesting, although there is some half-decent API documentation for the original API. However they have then released a new version of the API, with very little documentation.
Her example code shows the difference in a call to grab a customer list from the SOAP interface - the version 1 method used a "customer.list" request while the version 2 method just made use of a normal SOAP method call to the "customerCustomerList" method on the service.
voice your opinion now!
magento version difference api soap
Alan Sorkin's Blog: The Difference Between A Developer, A Programmer And A Computer Scientist
by Chris Cornutt March 16, 2010 @ 08:08:45
On his blog today Alan Sorkin has a humorous take on what the difference is between computer scientists, programmers and developers according to where they place their focus.
I have often used those three terms almost interchangeably, yes, even computer scientist. After all, most of us have a degree in computer science, so what does that make us? However, recently I find that those three things have come to take on more and more distinct personalities in my mind. [...] It is difficult to define what each one should be, (it is more of a gut feel rather than a strict delineation) they are very similar (and rightly so), but I am going to attempt to do it anyway.
He splits them up according to a few criteria - how their code looks, how it works and what level their math skills are at. The photos he uses to further define each are pretty dead on too.
voice your opinion now!
opinion difference computer scientist programmer developer
Doug Brown's Blog: Difference between ASP and PHP
by Chris Cornutt January 06, 2009 @ 09:31:49
In this recent post to his blog Doug Brown spends a little time comparing (at a high-level) some of the differences between ASP and PHP.
The difference between PHP and ASP is that ASP is a Microsoft product based on visual basic syntax whereas PHP has C and Java based syntax. ASP works better on Microsoft servers.
He describes the target audience for each language and talks about the environments that they work best in as well as some general statements about their speed and flexibility. Basing his judgment on the facts he noted, he suggests PHP as the best alternative of the two for being more flexible, running in more places and being a bit faster overall.
voice your opinion now!
difference asp compare contrast opinion environment microsoft
Zend Developer Zone: Why Should I Care What Server My Application is Running On?
by Chris Cornutt July 15, 2008 @ 13:12:32
On the Zend Developer Zone there's a new article that looks to answer the question in its title - "Why should I care what server my application is running on?" (by Eddo Rotman)
Imagine this - you develop an application on your machine and then, when you come to deploy it to the production server, all of a sudden, you encounter various errors and failures. Or maybe, when you decide to switch your hosting provider, your application stops behaving the way it should. How about this -... one day, out of the blue (well, out of your IT manager's whim) your application just misbehaves. Sounds familiar?
Times like can never be completely avoided (yes, there'll always be bugs) but you can take some steps to help prevent most of the major failing points. He points out some of the key configuration directives to watch out for, differences in some functions' responses based on the OS, and the differences in character sets between a unix-based and Windows based environment (like rn versus just n).
voice your opinion now!
tip configuration setting platform server difference bug failure tutorial
Christopher Kunz's Blog: PHPShield revisited
by Chris Cornutt May 22, 2008 @ 08:48:16
Christopher Kunz has gone back and revisited the PHPShield product that he'd looked at previously with data obscured to make potential customer think that it had nothing to do with either SourceGuardian or Inovica.
Checking up on it again, he was happily surprised with some of the results:
I asked him again today via private mail and his response was swift. The whois entries for phpshield.com now point to his person and we can expect additional information on the web site itself soon. I like it when things can be resolved like that and I actually think this is a chance for his product rather than a possible competition issue.
This helps to more clearly define the difference between the PHPShield and SourceGuarian products. You can find out more information about each product from their sites - PHPShield and SourceGuarian. Both are encoding packages to help protect and distribute your code.
voice your opinion now!
phpshield revisit inovica sourceguardian whois difference
|
Community Events
Don't see your event here? Let us know!
|