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.
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.
"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.
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
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.
This is advertising post
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:
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.
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.
Big advantages is that it really simplifies things on client and server side. Welcome reading...
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