Re: [web2py] Re: How to call other web2py applications from within a web2py application
Bruno : Thanks for your devoting. Bussiere Les nouvelles technologies offrent pleins de nouvelles possibilités, pleins de possibilités d'erreurs surtout en fait. insurance.aes256 : http://goo.gl/gHyAY On Sat, Mar 10, 2012 at 4:11 AM, Bruno Rocha rochacbr...@gmail.com wrote: I have a working website using two apps, hosted at different servers but using the same database/session. I will take it to remember the implementation in details and write a recipe in web2pyslices. On Fri, Mar 9, 2012 at 11:00 PM, Bruce Wade bruce.w...@gmail.com wrote: How about you provide an example, considering you sound like the expert at it :D On Fri, Mar 9, 2012 at 5:53 PM, Bruno Rocha rochacbr...@gmail.com wrote: **important: to share the same user/session information, you have to share the same auth.hmac_key -- Bruno Rocha [http://rochacbruno.com.br] -- -- Regards, Bruce Wade http://ca.linkedin.com/in/brucelwade http://www.wadecybertech.com http://www.warplydesigned.com http://www.fitnessfriendsfinder.com -- Bruno Rocha [http://rochacbruno.com.br]
[web2py] Re: How to call other web2py applications from within a web2py application
this doc is outdated is there anything news for making a website with more than one app ? regards Bussiere Le lundi 15 mars 2010 16:19:23 UTC+1, mdipierro a écrit : For now look at the following links that may help you: For an example of {{=LOAD(...)}} http://gluonframework.wordpress.com/2010/03/07/web2py-ajax-and-forms/ You can load an action from the same app or other apps. For ways an app can share data with another app: http://www.web2py.com/book/default/section/4/19 http://www.web2py.com/book/default/section/4/20 Hope this helps. Massimo On Mar 12, 7:26 am, Rahul rahul.dhak...@gmail.com wrote: Hi All, Massimo, I've been designing a web app using web2py. Web2py is really a very well designed framework. I am considering it along with Django for a medium sized web app development. How ever I would like to know, if I can code more applications for a single complex site (as we can do in Django) and link it to one single application.I am not using CAS as I have created my own authentication system. Here's an example to make it clear of what I want- *my site* |__ site pages along with main page |__ link to app1 ( a blog that is a separate web2py app) |__ link to a app2 (chat client) ( again a separate web2py app) |__ link to my database triggered app3 (again a separate web2py app) In short how do I modularise my web2py project to combine different applications into my original site web2py project. From the web I've seen a post from Yarko that mentions this {{=LOAD(...,application=' otherapp')}} but technically I could not find any documentation either in your online book or site. Can you please provide methods of how this is achievable without sacrificing simplicity. I have also heard about plugins but not really sure what they are and should I be really using those. Please suggest. Sincerely, Rahul D (India)
Re: [web2py] Re: How to call other web2py applications from within a web2py application
The first important thing when you want to create a multi-app site is to share the same session/auth and maybe share the same database, at least the same users database. with web2py you can easily use the same database to store users, and also you can store sessions on that database too, it is the first pass to keep state between applications. Another option is using CAS to centralize the users (but I personally like to use the one-db-session approach) Having users and its state on all applications now you have to decide if you will connect the apps using ajax, urls or API's, for the 3 cases web2py has a solution. {{=LOAD(URL(otherapp, controller, function), null, 'target') for use ajax coponents URL(otherapp, controller, function) to simply link the apps See RESTFUL and webservices on the book for the API's approach. There is one more important thing you can do: Put your apps general functions, classes and table definitions in modules, put the modules in web2py/site-packages so in any application you can do import something. Besides the initial work on setting up the same db and sessions for the users, I see that it is very simple to have a multi-app website. On Fri, Mar 9, 2012 at 7:54 PM, bussiere adrien bussi...@gmail.com wrote: this doc is outdated is there anything news for making a website with more than one app ? regards Bussiere Le lundi 15 mars 2010 16:19:23 UTC+1, mdipierro a écrit : For now look at the following links that may help you: For an example of {{=LOAD(...)}} http://gluonframework.**wordpress.com/2010/03/07/** web2py-ajax-and-forms/http://gluonframework.wordpress.com/2010/03/07/web2py-ajax-and-forms/ You can load an action from the same app or other apps. For ways an app can share data with another app: http://www.web2py.com/book/**default/section/4/19http://www.web2py.com/book/default/section/4/19 http://www.web2py.com/book/**default/section/4/20http://www.web2py.com/book/default/section/4/20 Hope this helps. Massimo On Mar 12, 7:26 am, Rahul rahul.dhak...@gmail.com wrote: Hi All, Massimo, I've been designing a web app using web2py. Web2py is really a very well designed framework. I am considering it along with Django for a medium sized web app development. How ever I would like to know, if I can code more applications for a single complex site (as we can do in Django) and link it to one single application.I am not using CAS as I have created my own authentication system. Here's an example to make it clear of what I want- *my site* |__ site pages along with main page |__ link to app1 ( a blog that is a separate web2py app) |__ link to a app2 (chat client) ( again a separate web2py app) |__ link to my database triggered app3 (again a separate web2py app) In short how do I modularise my web2py project to combine different applications into my original site web2py project. From the web I've seen a post from Yarko that mentions this {{=LOAD(...,application=' otherapp')}} but technically I could not find any documentation either in your online book or site. Can you please provide methods of how this is achievable without sacrificing simplicity. I have also heard about plugins but not really sure what they are and should I be really using those. Please suggest. Sincerely, Rahul D (India) -- Bruno Rocha [http://rochacbruno.com.br]
Re: [web2py] Re: How to call other web2py applications from within a web2py application
Is there an actual working example of how to create a single user/session database for all apps? http://web2py.com/book/default/chapter/04#Cooperation doesn't really provide much details on actually doing this. On Fri, Mar 9, 2012 at 3:13 PM, Bruno Rocha rochacbr...@gmail.com wrote: The first important thing when you want to create a multi-app site is to share the same session/auth and maybe share the same database, at least the same users database. with web2py you can easily use the same database to store users, and also you can store sessions on that database too, it is the first pass to keep state between applications. Another option is using CAS to centralize the users (but I personally like to use the one-db-session approach) Having users and its state on all applications now you have to decide if you will connect the apps using ajax, urls or API's, for the 3 cases web2py has a solution. {{=LOAD(URL(otherapp, controller, function), null, 'target') for use ajax coponents URL(otherapp, controller, function) to simply link the apps See RESTFUL and webservices on the book for the API's approach. There is one more important thing you can do: Put your apps general functions, classes and table definitions in modules, put the modules in web2py/site-packages so in any application you can do import something. Besides the initial work on setting up the same db and sessions for the users, I see that it is very simple to have a multi-app website. On Fri, Mar 9, 2012 at 7:54 PM, bussiere adrien bussi...@gmail.comwrote: this doc is outdated is there anything news for making a website with more than one app ? regards Bussiere Le lundi 15 mars 2010 16:19:23 UTC+1, mdipierro a écrit : For now look at the following links that may help you: For an example of {{=LOAD(...)}} http://gluonframework.**wordpress.com/2010/03/07/** web2py-ajax-and-forms/http://gluonframework.wordpress.com/2010/03/07/web2py-ajax-and-forms/ You can load an action from the same app or other apps. For ways an app can share data with another app: http://www.web2py.com/book/**default/section/4/19http://www.web2py.com/book/default/section/4/19 http://www.web2py.com/book/**default/section/4/20http://www.web2py.com/book/default/section/4/20 Hope this helps. Massimo On Mar 12, 7:26 am, Rahul rahul.dhak...@gmail.com wrote: Hi All, Massimo, I've been designing a web app using web2py. Web2py is really a very well designed framework. I am considering it along with Django for a medium sized web app development. How ever I would like to know, if I can code more applications for a single complex site (as we can do in Django) and link it to one single application.I am not using CAS as I have created my own authentication system. Here's an example to make it clear of what I want- *my site* |__ site pages along with main page |__ link to app1 ( a blog that is a separate web2py app) |__ link to a app2 (chat client) ( again a separate web2py app) |__ link to my database triggered app3 (again a separate web2py app) In short how do I modularise my web2py project to combine different applications into my original site web2py project. From the web I've seen a post from Yarko that mentions this {{=LOAD(...,application=' otherapp')}} but technically I could not find any documentation either in your online book or site. Can you please provide methods of how this is achievable without sacrificing simplicity. I have also heard about plugins but not really sure what they are and should I be really using those. Please suggest. Sincerely, Rahul D (India) -- Bruno Rocha [http://rochacbruno.com.br] -- -- Regards, Bruce Wade http://ca.linkedin.com/in/brucelwade http://www.wadecybertech.com http://www.warplydesigned.com http://www.fitnessfriendsfinder.com
Re: [web2py] Re: How to call other web2py applications from within a web2py application
Might not be a bad idea to have some code available that does sort of a single-signon between apps. I doubt I'll get around to it but we'll see.
Re: [web2py] Re: How to call other web2py applications from within a web2py application
On Friday, March 9, 2012 6:43:33 PM UTC-5, pbreit wrote: Might not be a bad idea to have some code available that does sort of a single-signon between apps. I doubt I'll get around to it but we'll see. The built-in CAS mechanism does that, no? http://web2py.com/books/default/chapter/29/9#Central-Authentication-Service
Re: [web2py] Re: How to call other web2py applications from within a web2py application
From a fresh install I created an application signon used the methods for sharing sessions but getting this error now when I go to the welcome app. Traceback (most recent call last): File /home/bruce/Development/web2py/gluon/main.py, line 510, in wsgibase session._try_store_in_db(request, response) File /home/bruce/Development/web2py/gluon/globals.py, line 561, in _try_store_in_db record_id = table.insert(**dd) File /home/bruce/Development/web2py/gluon/dal.py, line 6829, in insert return self._db._adapter.insert(self,self._listify(fields)) File /home/bruce/Development/web2py/gluon/dal.py, line 928, in insert raise e ProgrammingError: relation web2py_session_signon does not exist LINE 1: INSERT INTO web2py_session_signon(client_ip,session_data,loc... *I just need a very simple example of the following:* *1) One app that will be used to handle logins, permissions, sessions* *2) Another app that uses the first app to signin, and can use the auth.requires_. based on the members groups that are in the first apps database etc...* *If someone can give me that little bit of an example I can work from it.* On Fri, Mar 9, 2012 at 3:54 PM, Anthony abasta...@gmail.com wrote: On Friday, March 9, 2012 6:43:33 PM UTC-5, pbreit wrote: Might not be a bad idea to have some code available that does sort of a single-signon between apps. I doubt I'll get around to it but we'll see. The built-in CAS mechanism does that, no? http://web2py.com/books/default/chapter/29/9#Central-Authentication-Service -- -- Regards, Bruce Wade http://ca.linkedin.com/in/brucelwade http://www.wadecybertech.com http://www.warplydesigned.com http://www.fitnessfriendsfinder.com
Re: [web2py] Re: How to call other web2py applications from within a web2py application
Okay think I got it working. On Fri, Mar 9, 2012 at 4:01 PM, Bruce Wade bruce.w...@gmail.com wrote: From a fresh install I created an application signon used the methods for sharing sessions but getting this error now when I go to the welcome app. Traceback (most recent call last): File /home/bruce/Development/web2py/gluon/main.py, line 510, in wsgibase session._try_store_in_db(request, response) File /home/bruce/Development/web2py/gluon/globals.py, line 561, in _try_store_in_db record_id = table.insert(**dd) File /home/bruce/Development/web2py/gluon/dal.py, line 6829, in insert return self._db._adapter.insert(self,self._listify(fields)) File /home/bruce/Development/web2py/gluon/dal.py, line 928, in insert raise e ProgrammingError: relation web2py_session_signon does not exist LINE 1: INSERT INTO web2py_session_signon(client_ip,session_data,loc... *I just need a very simple example of the following:* *1) One app that will be used to handle logins, permissions, sessions* *2) Another app that uses the first app to signin, and can use the auth.requires_. based on the members groups that are in the first apps database etc...* *If someone can give me that little bit of an example I can work from it.* On Fri, Mar 9, 2012 at 3:54 PM, Anthony abasta...@gmail.com wrote: On Friday, March 9, 2012 6:43:33 PM UTC-5, pbreit wrote: Might not be a bad idea to have some code available that does sort of a single-signon between apps. I doubt I'll get around to it but we'll see. The built-in CAS mechanism does that, no? http://web2py.com/books/default/chapter/29/9#Central-Authentication-Service -- -- Regards, Bruce Wade http://ca.linkedin.com/in/brucelwade http://www.wadecybertech.com http://www.warplydesigned.com http://www.fitnessfriendsfinder.com -- -- Regards, Bruce Wade http://ca.linkedin.com/in/brucelwade http://www.wadecybertech.com http://www.warplydesigned.com http://www.fitnessfriendsfinder.com
Re: [web2py] Re: How to call other web2py applications from within a web2py application
IMHO. CAS is very complicated do deal with.. It is too much easy to use the same session-db for users. CAS would be a good idea when the applications are of different technologies. I implemented a web2py app which serves a CAS to web2py -- C#/asp application using CAS protocol. But to use onky within web2py apps it is very better to simply share the sessions and data. On Fri, Mar 9, 2012 at 8:54 PM, Anthony abasta...@gmail.com wrote: On Friday, March 9, 2012 6:43:33 PM UTC-5, pbreit wrote: Might not be a bad idea to have some code available that does sort of a single-signon between apps. I doubt I'll get around to it but we'll see. The built-in CAS mechanism does that, no? http://web2py.com/books/default/chapter/29/9#Central-Authentication-Service -- Bruno Rocha [http://rochacbruno.com.br]
Re: [web2py] Re: How to call other web2py applications from within a web2py application
I'm not really familiar with CAS but will check into it.
Re: [web2py] Re: How to call other web2py applications from within a web2py application
**important: to share the same user/session information, you have to share the same auth.hmac_key -- Bruno Rocha [http://rochacbruno.com.br]
Re: [web2py] Re: How to call other web2py applications from within a web2py application
How about you provide an example, considering you sound like the expert at it :D On Fri, Mar 9, 2012 at 5:53 PM, Bruno Rocha rochacbr...@gmail.com wrote: **important: to share the same user/session information, you have to share the same auth.hmac_key -- Bruno Rocha [http://rochacbruno.com.br] -- -- Regards, Bruce Wade http://ca.linkedin.com/in/brucelwade http://www.wadecybertech.com http://www.warplydesigned.com http://www.fitnessfriendsfinder.com
Re: [web2py] Re: How to call other web2py applications from within a web2py application
One thing to be aware of when storing sessions in the db rather than the filesystem is that the session is not locked during a request, so if the same user makes multiple requests that affect the session at the same time (e.g., multiple browser windows open or several Ajax requests from the same page), you could get a race condition. Probably not an issue in most cases, but something to be aware of. Anthony On Friday, March 9, 2012 7:12:40 PM UTC-5, rochacbruno wrote: IMHO. CAS is very complicated do deal with.. It is too much easy to use the same session-db for users. CAS would be a good idea when the applications are of different technologies. I implemented a web2py app which serves a CAS to web2py -- C#/asp application using CAS protocol. But to use onky within web2py apps it is very better to simply share the sessions and data. On Fri, Mar 9, 2012 at 8:54 PM, Anthony abasta...@gmail.com wrote: On Friday, March 9, 2012 6:43:33 PM UTC-5, pbreit wrote: Might not be a bad idea to have some code available that does sort of a single-signon between apps. I doubt I'll get around to it but we'll see. The built-in CAS mechanism does that, no? http://web2py.com/books/default/chapter/29/9#Central-Authentication-Service -- Bruno Rocha [http://rochacbruno.com.br]
Re: [web2py] Re: How to call other web2py applications from within a web2py application
I have a working website using two apps, hosted at different servers but using the same database/session. I will take it to remember the implementation in details and write a recipe in web2pyslices. On Fri, Mar 9, 2012 at 11:00 PM, Bruce Wade bruce.w...@gmail.com wrote: How about you provide an example, considering you sound like the expert at it :D On Fri, Mar 9, 2012 at 5:53 PM, Bruno Rocha rochacbr...@gmail.com wrote: **important: to share the same user/session information, you have to share the same auth.hmac_key -- Bruno Rocha [http://rochacbruno.com.br] -- -- Regards, Bruce Wade http://ca.linkedin.com/in/brucelwade http://www.wadecybertech.com http://www.warplydesigned.com http://www.fitnessfriendsfinder.com -- Bruno Rocha [http://rochacbruno.com.br]
[web2py] Re: How to call other web2py applications from within a web2py application
Hi All, I used this code like below in my view to call other application as this is something simplest I could find. a {{=LOAD (url='http://127.0.0.1:8000/wiki/index.html'}} It did the job. But it overrides my selected application template and if I try to access a url in the index.html page for wiki (as written above) it then takes control of the entire page overriding my calling application. I even selected the same template for wiki but with some weird results. So ultimately I coded the wiki in my current application itself (as i need to quickly build myself a solution) Ps: I am currently struggling with CRUD and creating tables for my db applications in HTML Views. Something I want accomplished using SQLTABLES .. One suggestion, two actually - 1- Can we have a polished table rendering widget in web2py widgets for the data rendered using SQLFORM. Also I found that I need a template from creating tabs in views so I can code more complex applications using these widgets. Can anyone let me know the trick to achieve this or any helpful links. ? 2- How do I print data to a printer in web2py? any library or documentation regarding the same? Also I need to show preview in PDF format for database cursor data. Can anyone help on this? I could not find any supporting information on it. Thanks, Rahul On Mar 17, 3:47 pm, Rahul rahul.dhak...@gmail.com wrote: These links are a good resource. But I'll need to figure out if I can get it working in my current application. Thanks for your wonderful support. I'll keep you all posted if I get success. Rahul. On Mar 15, 8:19 pm, mdipierro mdipie...@cs.depaul.edu wrote: For now look at the following links that may help you: For an example of {{=LOAD(...)}} http://gluonframework.wordpress.com/2010/03/07/web2py-ajax-and-forms/ You can load an action from the same app or other apps. For ways an app can share data with another app: http://www.web2py.com/book/default/section/4/19 http://www.web2py.com/book/default/section/4/20 Hope this helps. Massimo On Mar 12, 7:26 am, Rahul rahul.dhak...@gmail.com wrote: Hi All, Massimo, I've been designing a web app using web2py. Web2py is really a very well designed framework. I am considering it along with Django for a medium sized web app development. How ever I would like to know, if I can code more applications for a single complex site (as we can do in Django) and link it to one single application.I am not using CAS as I have created my own authentication system. Here's an example to make it clear of what I want- *my site* |__ site pages along with main page |__ link to app1 ( a blog that is a separate web2py app) |__ link to a app2 (chat client) ( again a separate web2py app) |__ link to my database triggered app3 (again a separate web2py app) In short how do I modularise my web2py project to combine different applications into my original site web2py project. From the web I've seen a post from Yarko that mentions this {{=LOAD(...,application=' otherapp')}} but technically I could not find any documentation either in your online book or site. Can you please provide methods of how this is achievable without sacrificing simplicity. I have also heard about plugins but not really sure what they are and should I be really using those. Please suggest. Sincerely, Rahul D (India) -- You received this message because you are subscribed to the Google Groups web2py-users group. To post to this group, send email to web...@googlegroups.com. To unsubscribe from this group, send email to web2py+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/web2py?hl=en.
[web2py] Re: How to call other web2py applications from within a web2py application
1) http://web2py.com/plugins/default/jqgrid 2) I suggest using reportlab+platypus On Mar 23, 2:23 am, Rahul rahul.dhak...@gmail.com wrote: Hi All, I used this code like below in my view to call other application as this is something simplest I could find. a {{=LOAD (url='http://127.0.0.1:8000/wiki/index.html'}} It did the job. But it overrides my selected application template and if I try to access a url in the index.html page for wiki (as written above) it then takes control of the entire page overriding my calling application. I even selected the same template for wiki but with some weird results. So ultimately I coded the wiki in my current application itself (as i need to quickly build myself a solution) Ps: I am currently struggling with CRUD and creating tables for my db applications in HTML Views. Something I want accomplished using SQLTABLES .. One suggestion, two actually - 1- Can we have a polished table rendering widget in web2py widgets for the data rendered using SQLFORM. Also I found that I need a template from creating tabs in views so I can code more complex applications using these widgets. Can anyone let me know the trick to achieve this or any helpful links. ? 2- How do I print data to a printer in web2py? any library or documentation regarding the same? Also I need to show preview in PDF format for database cursor data. Can anyone help on this? I could not find any supporting information on it. Thanks, Rahul On Mar 17, 3:47 pm, Rahul rahul.dhak...@gmail.com wrote: These links are a good resource. But I'll need to figure out if I can get it working in my current application. Thanks for your wonderful support. I'll keep you all posted if I get success. Rahul. On Mar 15, 8:19 pm, mdipierro mdipie...@cs.depaul.edu wrote: For now look at the following links that may help you: For an example of {{=LOAD(...)}} http://gluonframework.wordpress.com/2010/03/07/web2py-ajax-and-forms/ You can load an action from the same app or other apps. For ways an app can share data with another app: http://www.web2py.com/book/default/section/4/19 http://www.web2py.com/book/default/section/4/20 Hope this helps. Massimo On Mar 12, 7:26 am, Rahul rahul.dhak...@gmail.com wrote: Hi All, Massimo, I've been designing a web app using web2py. Web2py is really a very well designed framework. I am considering it along with Django for a medium sized web app development. How ever I would like to know, if I can code more applications for a single complex site (as we can do in Django) and link it to one single application.I am not using CAS as I have created my own authentication system. Here's an example to make it clear of what I want- *my site* |__ site pages along with main page |__ link to app1 ( a blog that is a separate web2py app) |__ link to a app2 (chat client) ( again a separate web2py app) |__ link to my database triggered app3 (again a separate web2py app) In short how do I modularise my web2py project to combine different applications into my original site web2py project. From the web I've seen a post from Yarko that mentions this {{=LOAD(...,application=' otherapp')}} but technically I could not find any documentation either in your online book or site. Can you please provide methods of how this is achievable without sacrificing simplicity. I have also heard about plugins but not really sure what they are and should I be really using those. Please suggest. Sincerely, Rahul D (India) -- You received this message because you are subscribed to the Google Groups web2py-users group. To post to this group, send email to web...@googlegroups.com. To unsubscribe from this group, send email to web2py+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/web2py?hl=en.
[web2py] Re: How to call other web2py applications from within a web2py application
These links are a good resource. But I'll need to figure out if I can get it working in my current application. Thanks for your wonderful support. I'll keep you all posted if I get success. Rahul. On Mar 15, 8:19 pm, mdipierro mdipie...@cs.depaul.edu wrote: For now look at the following links that may help you: For an example of {{=LOAD(...)}} http://gluonframework.wordpress.com/2010/03/07/web2py-ajax-and-forms/ You can load an action from the same app or other apps. For ways an app can share data with another app: http://www.web2py.com/book/default/section/4/19 http://www.web2py.com/book/default/section/4/20 Hope this helps. Massimo On Mar 12, 7:26 am, Rahul rahul.dhak...@gmail.com wrote: Hi All, Massimo, I've been designing a web app using web2py. Web2py is really a very well designed framework. I am considering it along with Django for a medium sized web app development. How ever I would like to know, if I can code more applications for a single complex site (as we can do in Django) and link it to one single application.I am not using CAS as I have created my own authentication system. Here's an example to make it clear of what I want- *my site* |__ site pages along with main page |__ link to app1 ( a blog that is a separate web2py app) |__ link to a app2 (chat client) ( again a separate web2py app) |__ link to my database triggered app3 (again a separate web2py app) In short how do I modularise my web2py project to combine different applications into my original site web2py project. From the web I've seen a post from Yarko that mentions this {{=LOAD(...,application=' otherapp')}} but technically I could not find any documentation either in your online book or site. Can you please provide methods of how this is achievable without sacrificing simplicity. I have also heard about plugins but not really sure what they are and should I be really using those. Please suggest. Sincerely, Rahul D (India) -- You received this message because you are subscribed to the Google Groups web2py-users group. To post to this group, send email to web...@googlegroups.com. To unsubscribe from this group, send email to web2py+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/web2py?hl=en.
[web2py] Re: How to call other web2py applications from within a web2py application
whooops forgot to link the slice I made http://www.web2pyslices.com/main/slices/take_slice/74 On Mar 13, 4:27 pm, mdipierro mdipie...@cs.depaul.edu wrote: The answer to your question is long. I will try write a blog post about it. On Mar 12, 6:26 am, Rahul rahul.dhak...@gmail.com wrote: Hi All, Massimo, I've been designing a web app using web2py. Web2py is really a very well designed framework. I am considering it along with Django for a medium sized web app development. How ever I would like to know, if I can code more applications for a single complex site (as we can do in Django) and link it to one single application.I am not using CAS as I have created my own authentication system. Here's an example to make it clear of what I want- *my site* |__ site pages along with main page |__ link to app1 ( a blog that is a separate web2py app) |__ link to a app2 (chat client) ( again a separate web2py app) |__ link to my database triggered app3 (again a separate web2py app) In short how do I modularise my web2py project to combine different applications into my original site web2py project. From the web I've seen a post from Yarko that mentions this {{=LOAD(...,application=' otherapp')}} but technically I could not find any documentation either in your online book or site. Can you please provide methods of how this is achievable without sacrificing simplicity. I have also heard about plugins but not really sure what they are and should I be really using those. Please suggest. Sincerely, Rahul D (India) -- You received this message because you are subscribed to the Google Groups web2py-users group. To post to this group, send email to web...@googlegroups.com. To unsubscribe from this group, send email to web2py+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/web2py?hl=en.
[web2py] Re: How to call other web2py applications from within a web2py application
Thanks Massimo and selecta. I hope I'll get the answers soon :-) Thank you, Rahul On Mar 13, 8:27 pm, mdipierro mdipie...@cs.depaul.edu wrote: The answer to your question is long. I will try write a blog post about it. On Mar 12, 6:26 am, Rahul rahul.dhak...@gmail.com wrote: Hi All, Massimo, I've been designing a web app using web2py. Web2py is really a very well designed framework. I am considering it along with Django for a medium sized web app development. How ever I would like to know, if I can code more applications for a single complex site (as we can do in Django) and link it to one single application.I am not using CAS as I have created my own authentication system. Here's an example to make it clear of what I want- *my site* |__ site pages along with main page |__ link to app1 ( a blog that is a separate web2py app) |__ link to a app2 (chat client) ( again a separate web2py app) |__ link to my database triggered app3 (again a separate web2py app) In short how do I modularise my web2py project to combine different applications into my original site web2py project. From the web I've seen a post from Yarko that mentions this {{=LOAD(...,application=' otherapp')}} but technically I could not find any documentation either in your online book or site. Can you please provide methods of how this is achievable without sacrificing simplicity. I have also heard about plugins but not really sure what they are and should I be really using those. Please suggest. Sincerely, Rahul D (India) -- You received this message because you are subscribed to the Google Groups web2py-users group. To post to this group, send email to web...@googlegroups.com. To unsubscribe from this group, send email to web2py+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/web2py?hl=en.
[web2py] Re: How to call other web2py applications from within a web2py application
For now look at the following links that may help you: For an example of {{=LOAD(...)}} http://gluonframework.wordpress.com/2010/03/07/web2py-ajax-and-forms/ You can load an action from the same app or other apps. For ways an app can share data with another app: http://www.web2py.com/book/default/section/4/19 http://www.web2py.com/book/default/section/4/20 Hope this helps. Massimo On Mar 12, 7:26 am, Rahul rahul.dhak...@gmail.com wrote: Hi All, Massimo, I've been designing a web app using web2py. Web2py is really a very well designed framework. I am considering it along with Django for a medium sized web app development. How ever I would like to know, if I can code more applications for a single complex site (as we can do in Django) and link it to one single application.I am not using CAS as I have created my own authentication system. Here's an example to make it clear of what I want- *my site* |__ site pages along with main page |__ link to app1 ( a blog that is a separate web2py app) |__ link to a app2 (chat client) ( again a separate web2py app) |__ link to my database triggered app3 (again a separate web2py app) In short how do I modularise my web2py project to combine different applications into my original site web2py project. From the web I've seen a post from Yarko that mentions this {{=LOAD(...,application=' otherapp')}} but technically I could not find any documentation either in your online book or site. Can you please provide methods of how this is achievable without sacrificing simplicity. I have also heard about plugins but not really sure what they are and should I be really using those. Please suggest. Sincerely, Rahul D (India) -- You received this message because you are subscribed to the Google Groups web2py-users group. To post to this group, send email to web...@googlegroups.com. To unsubscribe from this group, send email to web2py+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/web2py?hl=en.
[web2py] Re: How to call other web2py applications from within a web2py application
here is an example of a modular application design sorry there are no comments yet, I will add that soon but I am short on time 2day but you have questions feel free to ask even though the example does not explicitly answer you question all the components you need for you modular application design are in there already On Mar 12, 1:26 pm, Rahul rahul.dhak...@gmail.com wrote: Hi All, Massimo, I've been designing a web app using web2py. Web2py is really a very well designed framework. I am considering it along with Django for a medium sized web app development. How ever I would like to know, if I can code more applications for a single complex site (as we can do in Django) and link it to one single application.I am not using CAS as I have created my own authentication system. Here's an example to make it clear of what I want- *my site* |__ site pages along with main page |__ link to app1 ( a blog that is a separate web2py app) |__ link to a app2 (chat client) ( again a separate web2py app) |__ link to my database triggered app3 (again a separate web2py app) In short how do I modularise my web2py project to combine different applications into my original site web2py project. From the web I've seen a post from Yarko that mentions this {{=LOAD(...,application=' otherapp')}} but technically I could not find any documentation either in your online book or site. Can you please provide methods of how this is achievable without sacrificing simplicity. I have also heard about plugins but not really sure what they are and should I be really using those. Please suggest. Sincerely, Rahul D (India) -- You received this message because you are subscribed to the Google Groups web2py-users group. To post to this group, send email to web...@googlegroups.com. To unsubscribe from this group, send email to web2py+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/web2py?hl=en.
[web2py] Re: How to call other web2py applications from within a web2py application
The answer to your question is long. I will try write a blog post about it. On Mar 12, 6:26 am, Rahul rahul.dhak...@gmail.com wrote: Hi All, Massimo, I've been designing a web app using web2py. Web2py is really a very well designed framework. I am considering it along with Django for a medium sized web app development. How ever I would like to know, if I can code more applications for a single complex site (as we can do in Django) and link it to one single application.I am not using CAS as I have created my own authentication system. Here's an example to make it clear of what I want- *my site* |__ site pages along with main page |__ link to app1 ( a blog that is a separate web2py app) |__ link to a app2 (chat client) ( again a separate web2py app) |__ link to my database triggered app3 (again a separate web2py app) In short how do I modularise my web2py project to combine different applications into my original site web2py project. From the web I've seen a post from Yarko that mentions this {{=LOAD(...,application=' otherapp')}} but technically I could not find any documentation either in your online book or site. Can you please provide methods of how this is achievable without sacrificing simplicity. I have also heard about plugins but not really sure what they are and should I be really using those. Please suggest. Sincerely, Rahul D (India) -- You received this message because you are subscribed to the Google Groups web2py-users group. To post to this group, send email to web...@googlegroups.com. To unsubscribe from this group, send email to web2py+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/web2py?hl=en.