PHP • Web development
June 7th, 2008
4. Testing
Testing is a software development method to increase software quality. There are several distinct types of testing which vary in granularity and purpose:
- Unit Testing: A test that validates an individual unit of source code, usually a function or a method.
- Integration Testing: A test in which a combination of components are tested together to ensure they are working well as a group. Preferably participating components are unit-tested.
- Acceptance Testing: A test in which a software system is tested as a whole. Acceptance testing declares the standards to which a software system is considered to be working (= accepted).
Read the rest of this entry »
No Comments »
Javascript • Open Source • Web development
June 4th, 2008
jQuery 1.2.6 was released recently, with plenty of bug-fixes and speed improvements. Most notably event handling was sped up 103% and the dimensions plugin was integrated into the framework (the dimensions plugin is an API to calculate elements sizes in a cross-browser and reliable way).
In addition, jQuery UI has recently reached release-candidate status, which means all non minor or trivial issues were solved and it's getting to the point that it will production ready shortly. I have been using its components for a while in anticipation of such release, and hopefully they will have their documentation up soon.
Good times to be jQuery developers
No Comments »
Business Development • Lionite • techfounder
June 2nd, 2008
The common belief for those with no start-up experience is that a good idea is the most important property of a successful start-up. The perception is that successful entrepreneurs simply woke up one day after having a 'eureka' moment, and everything else was, as they say, history.
Read the rest of this entry »
2 Comments »
Javascript • PHP • Web development
May 29th, 2008
I came across a cute project which implements PHP functions in Javascript (128 functions and counting). If you are one of those PHP developers that feel out of the water in Javascript, this is for you.
Plenty of useful shortcuts there regardless, especially the date functions (which is a major drag in javascript). Check it out.
No Comments »
PHP • Web development
May 28th, 2008
There has been some discussion on the PHP internals list on adding a short syntax array seen in other languages. The short syntax array defines an array directly with the array operator brackets:
$array = [1,4,[5,9],[3,'name']]; // Shorter syntax
The shorter syntax is both more readable and more welcoming to programmers coming from other languages. I read about this on Brian Moon's blog, and among one of the comments I read an interesting thought:
Yes, would be a nice addition. Though I’d rather the anonymous object syntax came too, would be much more useful, with callbacks etc.
visit({ function accept() { … } });
I think the commentator was actually referring to anonymous functions (which are objects in Javascript). If PHP implemented anonymous functions (and maybe closures?) it would become very powerful (callbacks anyone?), sort of like Javascript with real class based OO. Food for thought.
2 Comments »