Page 1 of 1

Integrating custom php application with CMSMS

Posted: Fri Jul 31, 2009 2:41 am
by abishekvs
Hi All,

I have been working with CMSms for a month now, I guess its the best compared to many of the CMS applications available out there, I need clarification with regards to integrating custom web application into CMSMS.

I plan to use CMSMS as the templating engine to handle the Menu System and other page elements for my web application, my app is a collection of PHP forms and their respective code which handle the Gets and the Posts and other related logic.
What are my options other than using {embed url='/url_to_my_app'} or rewriting my application as a CMSms Module.

Any help or thoughts in this regards is appreciated.

Thanks and Regards
Abishek

Re: Integrating custom php application with CMSMS

Posted: Fri Jul 31, 2009 4:55 am
by JohnnyB
Try the Formbuilder module. you can probably do almost everything you need with it - *maybe* because I don't know your specific needs.  But, you can definetely use PHP directly in the templates but I suggest using the User Defined Tags feature. write your PHP in that and call the tag in the template or page needed.

http://wiki.cmsmadesimple.org/index.php ... fined_Tags
http://wiki.cmsmadesimple.org/index.php ... _tags_here

Re: Integrating custom php application with CMSMS

Posted: Fri Jul 31, 2009 6:11 am
by Connie
integrate your php-applications in UserDefinedTags and embed these tags in your CMSMS-Pages

I did this for a complex website-relaunch just now and it works really good

you can continue to use your applications in the matrix of the CMS

Re: Integrating custom php application with CMSMS

Posted: Sun Aug 02, 2009 6:06 am
by abishekvs
Thanks folks,

I am learning to use the FormBuilder, it wud be good if some one has some examples, i really don't seem to get a hang of it.
Yet to explore the UserDefinedTags, shortly I will.
Meanwhile here's how I've integrated my php app, firstly my app is made up of several php files, I created a module XYZ
and using the action.default.php like a switch board, all form posts hit this file and get routed to the appropriate php code/file
which is designated to handle that particular form, do let me know if you have better ideas.

Thanks and Regards
abishek

Re: Integrating custom php application with CMSMS

Posted: Sun Aug 02, 2009 6:29 am
by Dr.CSS