QT is ok if you can code in c++ but kivy works in python and using qml a
powerful language to create your interface.
Cordova is great if you want a webpage in your phone.  I don't like how
slow it is.

On Fri, Jun 5, 2015 at 7:25 AM Gary Cowell <gary.cow...@gmail.com> wrote:

> This UI independence is the most important thing, actually (for me)
>
> There's the 'Visual Basic' way of coding, where each control component
> will contain the business logic for the thing that happens when you press
> the button. I see this so often.
>
> But better, is to have a module, or modules, that perform the business
> logic, interact with other web services, and have web2py call upon these
> module functions when UI interactions take place. In this way, you can
> build useful things using your business rules, from command line admin
> tools, to web apps using 'framework of the day', to desktop or mobile GUI
> apps in Kivy or anything else, and you're always leveraging your module
> code.
>
> Example, I was working on a tool to interact with Amazon Web Services,
> cloudformation stack creation etc. Originally I built the app using pyqt,
> but then I switched to pyside, not a huge change there, but still.   Then I
> built a new UI in kivy and deployed an android version. Finally the
> production version I built with web2py and it's there still.  I could have
> used django at that point, or turbogears, or whatever (although I most like
> web2py for web development in python).  Point is though, I didn't have to
> rewrite 80% of my code each time. Just the UI parts, and learning things
> like ajax reloading in web2py.
>
> This was developing the entire app on a new platform.
>
> If I'd started with web2py, and built and deployed the first version on
> that platform as you have done, then any mobile development would most
> likely have used web services exposed by my web2py app, and interacted with
> those.  Seeing you already have a web2py app running, exposing some
> services you want to access via mobile seems like the way to do it to me.
>
>
>
> On Tuesday, 2 June 2015 00:36:09 UTC+1, Encompass solutions wrote:
>
>> The best thing to do here is abstract your interface.  Web2py does a fine
>> job of it.
>> Most likely your wanting to make the app and then communicate over json
>> objects in post requests.
>> With Kivy you should be able to make something pretty interesting and you
>> can use the same skills you have learned in python there. And then QML is
>> pretty awesome stuff.  I used to work for Qt so I would know. :)
>> I haven't seen Kivy in production code yet, but you can be a first. :)
>>
>>
>> On Mon, Jun 1, 2015 at 9:04 PM eric cuver <amihaco...@gmail.com> wrote:
>>
> good question I am also interested in the answer
>>>
>>>
>>> Le lundi 1 juin 2015 16:19:56 UTC+2, Joe a écrit :
>>>>
>>>> I developed a web app with Web2py. It works great, I thing Web2py is
>>>> fantastic.
>>>>
>>>> I want to create a mobile app from my web app and I am not sure what is
>>>> the best approach.
>>>> Does anyone have any experience using Kivy? Does it work with Web2py?
>>>> Or, is there a alternative solution to Kivy?
>>>>
>>>  --
>>> Resources:
>>> - http://web2py.com
>>> - http://web2py.com/book (Documentation)
>>> - http://github.com/web2py/web2py (Source code)
>>> - https://code.google.com/p/web2py/issues/list (Report Issues)
>>> ---
>>> You received this message because you are subscribed to the Google
>>> Groups "web2py-users" group.
>>>
>> To unsubscribe from this group and stop receiving emails from it, send an
>>> email to web2py+un...@googlegroups.com.
>>
>>
>>> For more options, visit https://groups.google.com/d/optout.
>>>
>>  --
> Resources:
> - http://web2py.com
> - http://web2py.com/book (Documentation)
> - http://github.com/web2py/web2py (Source code)
> - https://code.google.com/p/web2py/issues/list (Report Issues)
> ---
> You received this message because you are subscribed to the Google Groups
> "web2py-users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to web2py+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
>

-- 
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
--- 
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to