Wednesday, August 26, 2009
Project Management Tools
Sunday, August 23, 2009
Best websites for Startup web design companies
http://www.pixelmator.com/
http://gimp.org/
http://splashup.com/
Feedback And Usability Testing
http://www.conceptfeedback.com/http://fivesecondtest.com/
http://www.feedbackarmy.com/
Color Tools
http://www.colourlovers.com/
http://kuler.adobe.com/
Billing, Invoicing And Time-Tracking
https://www.freshbooks.com/
http://invoicemachine.com/home
http://www.billingsapp.com/
http://curdbee.com/
simplybill.com
ituit.com
http://www.simpleinvoices.org/
http://www.cannybill.com
Fonts:
http://www.fontexplorerx.com/
http://www.linotype.com/
Files:
http://www.getdropbox.com/
ross-Browser Compatibility
http://litmusapp.com/pricinghttp://browsershots.org/
http://www.parallels.com/
Local Testing ↓
http://www.mamp.info/en/mamp/index.html
Coding & Programming
http://www.barebones.com/products/TextWrangler/
http://notepad-plus.sourceforge.net/uk/site.htm
http://macromates.com/
Images and Photos
http://flickr.com/http://deviantart.com/
http://www.sxc.hu/
Project mangement
http://www.morguefile.com/
http://actionmethod.com/
Tools For managing money
lessaccounting.com
mint.com
tickspot.com
slimtimer.com
Client Management tools:
BAsecamp.com
Zohowritter
bigcontract.com
Time Management Tools:
Google calender
ta-da list
dejel timeout
External resources
http://sixrevisions.com/tutorials/web-development-tutorials/coding-a-clean-web-20-style-web-design-from-photoshop/
Friday, July 17, 2009
What is new PHP 5.3 part 2
What is new PHP 5.3
New Functions:
. Lambda Functions
. Closures
. Functors
. Late Static Binding
. Namespace
. go to
Then Other Important Features added in new PHP 5.3
Added some new extension like PHAR, intl , fileinfo
Added Garbage Collector
Add Mysql Native Support
Improved window support
Lambda functions:
Anonymous (or lambda) functions are extremely useful for callbacks or an quick and dirty way to create extensions or overrides for your code.
- Declared on the fly
- Can be assigned to variable
- And passed to other function
$lambda = function () { echo "Hello World!"; };
That was it. Now you can call it anyway you want.
$lambda (); // Hello World
other Examples:
$input = array(1,2,3,4,5);
$output = array_filter($input,function ($v) { return $v>2;}
Closures
Anonymous functions, also known as closures, allow the creation of functions which have no specified name. They are most useful as the value of callback parameters, but they have many other uses.
Lambda functions by themselves don't add much in terms of something we couldn't do before. As we saw, we could do all of this using
create_function(), albeit with uglier syntax and less-than-ideal performance. But they are still throwaway functions and don't maintain any sort of state, which limit what we can do with them. This is where closures step in and take the lambda functions to the next level.A closure is a function that is evaluated in its own environment, which has one or more bound variables that can be accessed when the function is called. They come from the functional programming world, where there are a number of concepts in play. Closures are like lambda functions, but smarter in the sense that they have the ability to interact with variables from the outside environment of where the closure is defined.
Let's take a look at how to define a closure in PHP. Listing 4 shows an example of a closure that will import a variable from the outside environment and simply print it out to the screen.
here a new word use is indroduced.
$string = "Hello world"
$function = function () use ($string) {print $string; }
$function(); // Hello word
?>
another example:
Variables to be imported from the outside environment are specified in theuseclause of the closure function definition. By default, they are passed by value, meaning that if we would update the value passed within the closure function definition, it would not update the outside value. We can, however, do this by prefacing the variable with the&operator, which is used in function definitions to indicate passing by reference. Listing 5 shows an example of this
$x = 1
$closure = function() use (&$x) { ++$x; }echo $x . "\n"; $closure(); echo $x . "\n";$closure(); echo $x . "\n";Output: 1 2 3
The anonymous function instead, must be retrieved into a variable first (just like a property) and can only then be invoked.