RatingBurner - top of blogs by RSS numbers

Posted by hts | January 31, 2008 .

Rating Burner is a website which compiles a top of blogs around the internet and sorts them by the number of RSS subscribers. While this is a nice list, it seems highly inaccurate, right from the beginning. As you can see in the Top 10 RSS “whores” of the blogosphere I’ve compiled previously, TechCrunch is […]

Every rule of thumb in one place

Posted by hts | January 30, 2008 .

I have stumbled today upon a great site called RulesOfThumb.org
As the name says, it is a database of user-submitted “rules of thumb” - that is, the supposedly-best guidelines in every domain. Being submitted by users, you cannot 100% rely on the “rules” there, but at least it makes a funny read to browse through each […]

I’m back - new goals set

Posted by hts | January 30, 2008 .

I was very busy the last 2 weeks, I barely had time to get online. Anyway, I’m back now and I’ll try to post here as frequently as possible (read: once /day). Thing is, I got my hands dirty (as in “starting to get the insides”) with affiliate marketing as a new stream of internet […]

Use full paths in includes and requires [TotD]

Posted by hts | January 16, 2008 .

Problem
If you specify relative paths when you include a file, then you are wasting precious time. Doing so makes PHP resolve the OS path - that is, find the file, which is located relative to the file which requests it. This takes some time and slows down (well, not drastically, but if every bit matters, […]

Google PR update

Posted by hts | January 13, 2008 .

Hey, it seems google updated their datacenters. My blog got a PR 3 (unranked before, since it was new). I’m quite satisfied, because I really didn’t do any SEO for it, and, shame to me, I haven’t written too much lately - I’ve got loads of work to do for school - but, I try […]

Make Good Use of Predefined Functions [TotD]

Posted by hts | January 10, 2008 .

Some 1 and a half year ago, when I was a beginner with PHP (not that now I am a professional or something, but still - I’ve improved a lot :) ), I know only few of the useful predefined functions available in php and I used to build my own snippets/functions to accomplish what […]

Always define a local variable [TotD]

Posted by hts | January 7, 2008 .

Pursuing to achieve the name of “the easiest to learn and use programming language”, PHP indeed makes your life easier by doing some thing for you. For example, you do not have to declare / define each variable you’ll use in your script - PHP creates them on-the-fly. While this speeds up the development […]

Echo Is Faster Than Print [TotD]

Posted by hts | January 4, 2008 .

Here’s a quick one: use echo when you output content, since it is faster that print.
Why is that? print() is a function, in fact and therefore it takes more time to process it.
So unless you have to output formatted content (in which case you’d use sprintf(), for example), just use echo. It is faster […]

The 10 RSS Whores of the Blogosphere

Posted by hts | January 4, 2008 .

The following is a list with the blogs which have the most RSS subscribers on the blogosphere. If you add up the readers of these 10 blogs alone, they would inhabit a city bigger than Los Angeles.
Notes: click on the name of each blog to go to their homepage, click on the “chicklet” image to […]

Cache the Output of Your PHP scripts [TotD]

Posted by hts | January 3, 2008 .

This one’s a no-brainer. It is obvious that every time you run a php script, the interpreter has to compile it, then spit out the html output and deliver it to the requester. If you cache the html files and serve them directly, without recompiling them every time a visitor requests them, you`ll improve the […]

Next Page »