Zend

Ajax, ZF2 action and json return

Hi! On the first project with Zend 2 I needed to incorporate Ajax. I made my view action, view script and in it added ajax that had set url to another action in the same controller. On the click of the button the data had to be sent via ajax and then new set of Read More

Admin area and module activation – Part 2

Hello! In the last article I showed you how we solved the problem of activating modules in admin area of our Zend web application. In Part 1 I presented the logic behind the activation, now let’s list our modules in admin area and change their states. For modules listing I’ve made a new model called Read More

Admin area and module activation – Part 1

Hello, I recently needed to make module activation in the admin area of our online booking system that we’re developing. Here is how I solved it. Our online booking system is based on Zend framework, and for now doesn’t deviate much from Zend’s project structure. Our modules are situated in application/modules folder. We’ve already made Read More