While working on a task connected with updating ACL I found an interesting article and a patch there that adds ACL functionality to Zend_Gdata classes. As it might be inconvenient for some people (especially Windows users) to checkout specific revision and then patch it, I’m publishing here a patched version of ZF trunk rev. 24409 + ACL patch from rojakcoder.
Schauen Sie sich unsere neuesten Blogbeiträge an
iptables port forwarding with SNAT and DNAT
Assume we have a web server having node.js (or any other client-server software) installed behind a load balancer and teh web server has only internal IP address. We need to allow clients to connect to node.js. So we need to do port forwarding with iptables from load balancer’s 8000 to web server’s 8000. So the ideal model will look like on the figure below.
Fast price count down on javascript
If you need simple price count down for your web site it’s easy realized on javascript. We can use setInterval() function for this purpose. But if you need fast count down, e.g. decrease high price for 1 cent per step that time interval for setInterval() function will be too small. So we have two trouble with small time interval (less then 200 ms). First is…
phpdaemon installation, configuration and usage tips & tricks
If you own a website with too many AJAX requests like autocomplete or real-time features like auction bidding that require quick response and you also use Zend Framework or any other PHP heavy library/framework on your backend, then you end up with way too many HTTP requests to the backend each of them requires framework bootstrapping. You can launch any PHP profiler like xdebug to…
Using Zencoder with Zend Framework
Zencoder is an API-based online video and audio encoding service. Zencoder converts videos from your website, application, or video library into formats that are compatible with web playback, mobile phone, or any other device you need to support. Zencoder have friendly API and php library. We can use this library with Zend Framework after some modifications. Click here to download modified library.