CrazyEngineers
  • I'm currently working on a PHP project to create a web based code editor. It includes many PHP files. I'm now planning to convert them into python code to make it run on web.py( a minimalistic Python web framework). Web.py is almost straight forward python. I want to know how complex it would be to convert the files to Python application and make it work as expected. If possible can anyone give a few bare guidelines to follow to systematically do the process.
    Replies
Howdy guest!
Dear guest, you must be logged-in to participate on CrazyEngineers. We would love to have you as a member of our community. Consider creating an account or login.
Replies
  • xheavenlyx

    MemberApr 28, 2013

    Hi Siraj,

    Good decision moving to Python.

    You will need to breakdown your project. Start with the models. Make a list by hand and put them in your web.py framework. Then work towards the methods and functions.

    After that your views. Test your views by raw data output. i.e. Display nothing but the variables and some <br>.

    A Tip: I think you might be using Ajax calls for saving these files so user does not need to navigate into other window. This is done easily. Remember to specify the url for ajax calls.
    Are you sure? This action cannot be undone.
    Cancel
  • siraj.mussafirr

    MemberMay 2, 2013

    xheavenlyx
    Hi Siraj,

    Good decision moving to Python.

    You will need to breakdown your project. Start with the models. Make a list by hand and put them in your web.py framework. Then work towards the methods and functions.

    After that your views. Test your views by raw data output. i.e. Display nothing but the variables and some <br>.

    A Tip: I think you might be using Ajax calls for saving these files so user does not need to navigate into other window. This is done easily. Remember to specify the url for ajax calls.
    Thank you xheavenly.. I'll try my best.. The current application is not a PHP MVC. so i may not be able towork with your advice directly. I'll post here once i've done with it.. Thank you.. 😀
    Are you sure? This action cannot be undone.
    Cancel
Home Channels Search Login Register