14May/130

Discover PHP bottlenecks with Xdebug or why my site is so slow

In this article you will learn about the possible use xdebug by system administrators of web-servers.

If you administer a web-server,  often face problems that ordinary users of the site called "slow" or "dead-slow" Of course, this is a very important issue that could have serious financial consequences for the website owner. This formulation is sufficient to begin the investigation.

Filed under: linux, php Continue reading
8May/130

Reading directory list – new PHP5 way

It has been long time for using opendir, readdir functions or even scandir for reading directory listing from the disk.  Even myself still using it when in need.

Its time to update your snipped library with new PHP5 object oriented code. This is definitely not a new new thing, but still I want to make an article on it to attract more users to use this feature.

Filed under: dev, php Continue reading
2Apr/130

Tinydeal – blacklisted, do not buy here

"The friend in need is friend indeed" which is so true what I am going to write about. In short, Tinydeal has bad client service and attitude.

Filed under: misc Continue reading
19Mar/130

Dynamicly load Google Maps v3

Quite often pages are overloaded with 3rd party APIs or widgets and page loading time becomes a bottleneck in user experience. In my project I need google maps support, but only if user selects one particular tab.

So how to load Google Maps V3 dynamicly, on button click or tab select

Filed under: dev, web Continue reading
5Mar/130

How to connect to rare databases in PHP (informix, oracle, db2)

Recently I took part in integration project and faced interesting problem. PHP application that I deploy must communicate with Informix database for data selecte. This php application aims to corporate market, so its not a extraordinary case. I see that it may require connecto to Oracle or DB2 in near future.

Yes, PHP itself has wide choose of database connectors, which is a good option to have native database support. The only problem is that most of them are used so rare that are usualy not compiled in all modern Linux destributos. For example in Ubuntu server 12.04 there are five most pupular php5-sybase php5-interbase php5-mssql php5-mysql php5-pgsql.

Thinking of it, I found one interesting solution.

Filed under: dev, php, tricks Continue reading
12Feb/130

PHP, HTML, CSS, JavaScript editor (IDE) – Codelobster PHP Edition

This is advertising post

Free PHP, HTML, CSS, JavaScript editor (IDE) - Codelobster PHP Edition
Filed under: dev, php Continue reading
25Jan/131

NoSQL Parody :)

While certainly not in the same class as Hilarious Video: Relational Database vs NoSQL Fanbois or NSFW: Hilarious Fault-Tolerance Cartoon, this parody does have some really good moments:

Filed under: cloud, fun 1 Comment
22Jan/130

Ubuntu 12.04 64bit – Office 2010 with Wine [SOLVED]

It works!!! It took me several hours to make it, but I do not regret time spent, I was so sick of running VirtualBox for MS Office.

Filed under: linux Continue reading
8Jan/130

Making any form AJAX – The easy way

Forms, forms, forms... This is essential part of the Web and probably main reason why servers-side technology like Perl, PHP appeared. But things didn't change much from the time I wrote my first Form handler using PHP3.0.18.

In this post I want to share some of my tricks of handling forms. Yes, it requires JavaScript enabled, which, truly speaking, is already a must have for 9.999% of sites for a long time.

Big advantages is that it really simplifies things on client and server side. Welcome reading...

Filed under: dev, php Continue reading
11Dec/121

Settings link in WordPress plugin

To be clear what I am talking about see the image below. It has nice Settings link which leads to plugin settings  from plugin list.

Why I think this is important? Usually plugin creates new submenu in Settings, but sometimes it uses different name and it is not easy to find one. In case 20+ plugins are installed, which is a real case, it is not easy to remember where all these settings are stored.

I consider Settings link  as a must have thing when developing plugin and its pretty easy to add it, see below

Filed under: dev, php Continue reading