Porting Zendframework to concrete5

Permalink 1 user found helpful
I have developed a web portal/e-commerce solution in Zendframework 10 now I want to port my code into concrete5, is it possible to port my code in concrete5 without changing my logic design and directory structure? (my application is module based)

 
andrew replied on at Permalink Reply
andrew
concrete5 is a stand-alone application that uses bits of the Zend Framework; it isn't a module for the Zend Framework. However, you can drop concrete5 as a CMS into parts of an existing application. For example, let's say you have an application and you wanthttp://yourdomain.com/about/ to be powered by the CMS. You can add a directory named "about" to your existing application, and add index.php to that directory with this in it:

define('DIR_BASE', '/path/to/concrete5_root');
define('CONFIG_FILE', '/path/to/concrete5_root/config/site.php');
define('ENABLE_CMS_FOR_PATH', '/about');
require('/path/to/concrete5_root/concrete/dispatcher.php');


Then you can continue working with this in other directories and they will all map to "/about", "/whatever" in your concrete5 site.
tofeeq replied on at Permalink Reply
Adndrew,
thanks for your reply, Actually I want to server concret5 as my presentation layer so it would be responsible to edit frontend design of my application by defining blocks or regions in my pre-built application so it will be serving at backend to edit layouts and templates of my existing application, is that possible?