Author Archive
The best free open source groupware tools
Groupware can be used by a group of people who are working on the same information but may be distributed in space. You can use groupware to manage contacts, e-mail addresses, projects, to-do lists, tasks and much more.
Following are some free open source groupwares I found:
Continue reading »
42+ tips for optimizing your php code performance
- If a method can be static, declare it static. Speed improvement is by a factor of 4.
- echo is faster than print. Check out What is the difference between echo and print?
- Use echo’s multiple parameters instead of string concatenation.
echo "Hello", $sName , "Your are #1.";
- Set the maxvalue for your for-loops before and not in the loop.
// Bad for( $iCount=0; $iCount<count ($aArray); $iCount++ ){ // }// Good $iCountArr = count($aArray); for( $iCount=0; $iCount<$iCountArr; $iCount++ ){ // }
What is the difference between echo and print?
1. Speed
There is a difference between the two, but speed-wise it
should be irrelevant which one you use. echo is marginally faster
since
it doesn’t set a return value if you really want to get down to the
nitty gritty.
2. Expression
print() behaves like a function in that you can do:
$ret = print “Hello World”; And $ret will be 1. That means that print
can be used as part of a more complex expression where echo cannot. An
example from the PHP Manual:
$b ? print "true" : print "false";
print is also part of the precedence table which it needs to be if it
is
to be used within a complex expression. It is just about at the bottom
of the precedence list though. Only “,” AND, OR and XOR are lower.
Continue reading »
Top 25 Social Sites for Businesses
If your business relies solely on offline or even website advertising, you may not be maximizing the full potential. In fact, you can reach niche markets such as savvy techies or potential business partners via online networking on social sites. A social site is a online website where users can interact with each other, sharing information, links, or profiles with either their network of the entire user database.
You may have heard of the term “Web 2.0.” This refers to these social sites where there are now interactive environments. By leveraging these social sites, you can advertise to niche markets often for free. Make use of these websites and create an online presence for your business or organization. Not only will you see more website traffic to your site from these online social hangouts, but you will also build quality back-links to your company website and therefore increase your search results rankings.
Continue reading »
PHP Coding Convention
1. Coding conventions
Object Naming Conventions
Variable naming conventions
Variable data types
Variable scope prefixes
2. Class Coding Standard
3. Define function or class when coding
4. Define database and table of database
Continue reading »
How to design a web2.0 logo?

Ever wonder how these guys draw their Web 2.0 Logos? Sometimes its nice to learn from others, build up the basic skills and start your own creativity from there. In this Photoshop tutorial, I’m going to reveal you some of the nice Web 2.0 logos, how you can draw their logo exactly the same (well, not really 100% though) with Photoshop.
Continue reading »
20 Best Websites To Download Free E-Books
We understand that reading is the most simplest way for human to derive and constructing meaning in order to gain a particular knowledge from a source. This tendency has been digitized when books evolve into digital media equivalent – E-Books.
It would be nice if we’re able to download free e-book and take it with us. That’s why we’ve again crawled deep into the Internet to compile this list of 20 places to download free e-books for your use. Full list after jump.
Continue reading »
Useful PHP Classes and Components
PHP is a scripting language originally designed for producing dynamic web pages. It has evolved to include a command line interface capability and can be used in standalone graphical applications. Simplicity and extensibility are the main reasons why PHP became the favorite dynamic language of the Web. In the last decade, PHP has developed from a niche language for adding dynamic functionality to small websites to a powerful tool making strong inroads into large-scale Web systems.
Below I present useful PHP classes and components that you can use to test, develop, debug and deploy your PHP applications. Let me know if I missed anything or if you have something to add.
Continue reading »
Offshore PHP Development Center in Vietnam
Small and middle sized enterprises (SMEs) have tight budget and developing a web application may require huge amount which may be out of their pocket. Outsourcing has emerged as a result of increased competition in the market, globalization, online marketing, digitalization, advancement in technology.
PHP is a scripting language originally designed for producing dynamic web pages. It has evolved to include a command line interface capability and can be used in standalone graphical applications. PHP is good because you can store members and member details into databases, with the help of PHP you can call this information and create hundreds, thousands or even millions of dynamic pages in seconds.
Continue reading »
How to add Twitter updates to blog?
TwiBadge is a Wordpress plugin, in a widget format that resides on your Wordpress blog sidebar. It displays all your Tweets and replies, basically what you see on twitter.com/home. TwiBadge also comes with a follow button that allow any interested visitors to easily add themselves as followers.
Continue reading »



