 | News Feed |
 | Jobs Feed |
Sections
|
| feed this: |  |
PHPBuilder.com: PHP Forum Software Comparison
by Chris Cornutt October 04, 2012 @ 12:48:08
PHPBuilder.com has posted a comparison of three PHP forums (the software to run them) - vBulletin, phpBB and Kunena.
In the past few years, there has been a great increase in the number of websites with user-generated content (UGC). One of the most common Web applications with UGC is a Web forum -- a place where people can share their impressions and opinions on different topics. As forum software is becoming more and more popular, I will compare the three best forum software products written in PHP: vBulletin, phpBB and Kunena.
They go through each of them and talk about what features they offer and some of the pros and cons of each. At the end of the post there's a table laying out each of these in a bit more easy to reference form.
voice your opinion now!
fourm software comparison vbulletin phpbb kuena
Evert Pot's Blog: Numeric string comparison in PHP
by Chris Cornutt April 26, 2011 @ 09:23:47
In this new post to his blog Evert Pot reminds you (the PHP developer) about the loose and strict typing checks that you need to do when checking the values of your variables and never just assume. PHP's loose typing tendencies can cause issues if you're not paying attention.
As long as you make sure you always use strict checking (=== and !==) where you can, and fall back to the loose checks when you must. As a PHP developer, I think it's very important to understand and memorize exactly how these work, whether you're writing new code, or maintaining existing code.
He points out a specific example of some code that seems counter-intuitive when you compare how it reads and how it actually works (strings converted to floats and evaluated)
The moral is: always do strict checks when you are able to.
voice your opinion now!
numeric comparison evaluate loose typing typecheck
Fabien Potencier's Blog: Iterator or IteratorAggregate?
by Chris Cornutt June 25, 2010 @ 12:09:44
Following up on two previous posts about iterators, Fabien Potencier is back with one more quick shot on iterator aggregation - a look what using iterator versus iteratoraggregate.
If you have ever used iterators in your code, you have probably implemented the Iterator interface. Objects of a class that implements Iterator can be iterated over with the foreach loop. [...] The IteratorAggregate interface is quite similar [to Iterator] (both interfaces implement Traversable) but creates an external Iterator. But when the iterator is based on an array, creating an external Iterator for this array gives you a more concise and more readable code.
His example code shows how, in implementing and IteratorAggregate, you can grab the instance of the Iterator even if it's based on an array.
voice your opinion now!
iterator iteratoraggregate comparison traversable interface
Giorgio Sironi's Blog: Java versus PHP
by Chris Cornutt April 16, 2010 @ 10:55:19
In a new post to his blog Giorgio Sironi has a (more balanced) comparison of Java versus PHP that them on topics like how they handle typing and their execution models.
If you exclude C and its child C++, the most popular programming languages in the world are Java and PHP, which power most of the dynamic web. I have working experience with PHP and for academical purposes I am deepening my knowledge of Java, thus I'd like to point out similarities and key differences between these two languages. Every language has its pros and cons, so there's no absolute winner here.
He briefly covers their history, java's static versus PHP's dynamic typing, how they both handle objects, their execution plans and how easy they are to deploy when it comes to general applications.
voice your opinion now!
java comparison typing oop execution infrastructure
PHPSlices.com: PHP 5.3 vs ASP.NET 4.0 neutral comparison
by Chris Cornutt April 01, 2010 @ 08:35:43
In a recent post to the phpslices.com blog there's a neutral comparison of PHP and ASP.NET based on features and a few of the common pros and cons each language has.
Consider i do not have wide experience programming with ASP.NET though i on the past used the Microsoft .NET framework.
This is what i think are PRO and the CONS of both, lets consider ASP.NET 4.0 without MVC and PHP 5.3 without any framework.
Some of the pros of PHP include its low learning curve and that it's multiplatform with cons being things like performance issues and that it's more web-centric than some other languages. ASP.NET's pros include its inherent use of the .NET framework and the tools available for it with cons being that it's not Open Source, you need a Windows license to use it and that fewer web hosting providers support it.
voice your opinion now!
aspnet comparison pro con
Matt Butcher's Blog: A Set of Objects in PHP Arrays vs. SplObjectStorage
by Chris Cornutt June 19, 2009 @ 13:46:33
The Standard PHP Library offers PHP developers some excellent tools that, in some cases, can make quite a bit of performance difference than some of their normal counterparts in the rest of the language. In this post from Matt Butcher, two features are compared - normal arrays and the SplObjectStorage feature of the SPL.
One of my projects, QueryPath, performs many tasks that require maintaining a set of unique objects. In my quest to optimize QueryPath, I have been looking into various ways of efficiently storing sets of objects in a way that provides expedient containment checks. [...] Recently I narrowed the list of candidates down to two methods: Use good old fashioned arrays to emulate a hash set or use the SPLObjectStorage system present in PHP 5.2 and up.
He works through the comparison, showing how each of them can emulate the hashed set with the goal of being able to easily iterate and simple to search. The result is that PHP's normal arrays best the SplObjectStorage object in his benchmarking (code included).
voice your opinion now!
hash comparison array splobjectstore
Paul Reinheimer's Blog: Stop Messing up CSRF Protection
by Chris Cornutt November 10, 2008 @ 08:47:53
In his latest post Paul Reinheimer looks at cross-site request forgeries and, despite the best efforts of the PHP security community, how developers still just miss the point in protecting their own code.
So, cross site request forgeries are a pretty common topic these days; they're in almost every security talk, book, site etc. This is okay; they're important [...] Most of the sites, and all of the books I've read demonstrate things correctly, but when it comes to actual implementation, time and time again, I see code that's just wrong.
He looks at two of the "essentials" when it comes to protecting you and your application - comparison (not taking other values of variables into account) and the unpredictable token (not making tokens, like md5 hashes of information, random enough).
voice your opinion now!
crosssite request forgery csrf comparison unpredictable token random
|
Community Events
Don't see your event here? Let us know!
|