Click here to Skip to main content
15,919,931 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi,

I'm coding a PHP project. The project, by its very nature, is expected to run for a long time & thereby will go through a series of major & minor modifications. Like MVC architecture, I want to disintegrate UI elements & business logic separate in the project so that the maintenance becomes easier. At the same time, I don't want to follow object oriented approach. Can anybody guide me how to achieve this separation of UI & logic in a non object oriented environment?

Thanks in advance.
Posted

1 solution

You can make separate files fir Business logic and put them in a separate folder and on UI you can include those files
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900