I want to create one application and it should work on both desktop (without internet connection) and in the web. The applications should be the same (I mean UI and code) and wo
I suggest you use web2py. You can create webapps that work offline, and you can package them for any platform.