On Saturday, June 18, 2016 at 5:47:42 AM UTC-7, Sriram Bhamidipati wrote: > > Hi > I am a newbie to web frameworks and finding myself frequently lost in > getting what I want to achieve. > I am using a sample application which I d/l'ed from github but still not > able to figure out routing and static content of a frame etc >
Have you worked through the examples at the beginning of the book? They are avery good way to start absorbing this: <URL:http://web2py.com/books/default/chapter/29/03/overview#Simple-examples> > Here is my requierement: > > A web interface to work with a couple of tables (preferably using > PostgreSQL or MySQL) and a workflow with a state machine to interact with > some network devices and a scheduler. > The Web interface will look at the inventory (DB table) to pick and start > a work flow using a scheduler. > It is certainly not a unique requirement and hence I need some readily > available open source web2py (or other?) code > Do I need any ansible kind of orchestration engines (for workflow) which > need to be integrated ? Or does web2py support the work flows? > > A state machine is frequently implemented with a table, and that's straight forward in web2py (Python and the DB engine are both elements of this). I think there is a PySlice example of a work-flow application, but I haven't looked at it. The scheduler has some workflow support, but I don't know how helpful that is if you don't need the scheduler's handling of tasks that take a long time. Making specific recommendations may not be helpful without know more about your application. Domain knowledge may trump framework knowledge. > The users of the system will be role based and need to be LDAP > authenticated. The work flow will be role-based and multi-role enabled. > That is, a state can only be modified by a specific role. > > Web2py supports both Role-Based activities and LDAP sign in (I've used a simple example of RBAC, but haven't done the LDAP). > thanks for your help. > -Sriram > PS: If someone cares to help (1-1), here is my email: > sriramb12ATgmailDOTcom > Good luck! This is a friendly community, there are some skilled contributors here, and web2py is pretty easy to learn. /dps -- 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 [email protected]. For more options, visit https://groups.google.com/d/optout.

