Category: zend framework
-
Getting started with REST using Zend Framework
Creating a REST server in ZendFramework can be simple as 3 lines of code. For the sake of simplicity, let’s suppose we’ll place all of our code logic in one file, the IndexController.php. The basic building block of each and every Zend Framework application. Code for creating a REST server looks like public function restAction()…
-
MySQL transactions in Zend framework
Hi! Today I’m going to explain a part of Zend framework DB functionality. Transactions in general are quite useful, like temporary tables, but in most of situations unnecessary. Because of that, I’m going to explain when and how to use them through Zend framework. What is transaction? A simple answer would be – a number…
-
SSL in Zend Framework
I had to implement SSL on login, cart and checkout pages. if you want to have SSL enabled for the login page of your application: First, enter the following code in your ssl.ini file. We will parse it later through the Bootstrap.php file. [php] ssl.modules.default.require_ssl = true //-> entire module requires SSL ssl.modules.default.Index.require_ssl = true…