Re: [pylons-discuss] tutorial or open source projects that uses Pylons?
Thank you, Paul! I am running the wiki tutorial, based on this URL: http://docs.pylonsproject.org/projects/pyramid/en/latest/tutorials/wiki2/index.html. That seems to be based on 1.4.5, not as new as your link. I'd love to read your refreshed one. I am experimenting creating a users table in database, and have code to authenticate user and support ACL backed by the table. So far so good. On Tuesday, April 1, 2014 6:52:50 AM UTC-7, Mário Idival wrote: I created a tutorial (a schedule), uses a bit of SQLAlchemy, some comments are on en, but Python is universal:) SqlAlchemy + Jinja2 https://github.com/GruPy-RN/agenda_pyramid Mário Idival *Twitter *: *@marioigd* *Facebook*: *mario.idival* *User Linux : **#554446* Skype*: marioidival* 2014-04-01 8:11 GMT-03:00 Paul Everitt paulwe...@gmail.com javascript: : Here is a rewrite of the tutorial which goes into more depth, section-by-section: http://docs.pylonsproject.org/projects/pyramid/en/master/quick_tutorial/index.html It has a little more on authentication and authorization and is aimed at Jinja2. It might still be too light for your needs. I'd also like to do some rewriting and condensing on it at some point before, say, next Wednesday afternoon at 1PM. :) On question 3, I've seen other tutorials that do the table setup implicitly on first startup, or (as you mentioned) just tell you to execute some command-line tool. I'm not sure what people prefer. Doing it in the framework means you inherit some configuration. --Paul On Mar 30, 2014, at 8:02 PM, acces...@gmail.com javascript: wrote: Newbie to Pylons (in fact, fairly new to Python). Lots of programming experiences in Java, C++ and Objective-C though. Still learning Pylons and I found the wiki tutorial is excellent. However, there are a few areas that I am interested: 1. the wiki tutorial is a bit light on authentication and authorization. 2. I'd like to see how Jinja2 template system is being used. 3. database side: I am a little confused by the flow. Is it more typical to have a different tool or even just via SQL DDLs to create tables/indexes/relationship first, rather than using initializedb.py to create those tables? Could you please recommend some other tutorials or open source projects for me to study the above? Thanks! (PS: I picked Pylons over Django, because I always love to go to a bit low-level and believe in the long run it is better than doing everything under the constraint of a framework that is less customizable.) -- You received this message because you are subscribed to the Google Groups pylons-discuss group. To unsubscribe from this group and stop receiving emails from it, send an email to pylons-discus...@googlegroups.com javascript:. To post to this group, send email to pylons-...@googlegroups.comjavascript: . Visit this group at http://groups.google.com/group/pylons-discuss. For more options, visit https://groups.google.com/d/optout. -- You received this message because you are subscribed to the Google Groups pylons-discuss group. To unsubscribe from this group and stop receiving emails from it, send an email to pylons-discus...@googlegroups.com javascript:. To post to this group, send email to pylons-...@googlegroups.comjavascript: . Visit this group at http://groups.google.com/group/pylons-discuss. For more options, visit https://groups.google.com/d/optout. -- You received this message because you are subscribed to the Google Groups pylons-discuss group. To unsubscribe from this group and stop receiving emails from it, send an email to pylons-discuss+unsubscr...@googlegroups.com. To post to this group, send email to pylons-discuss@googlegroups.com. Visit this group at http://groups.google.com/group/pylons-discuss. For more options, visit https://groups.google.com/d/optout.
Re: [pylons-discuss] tutorial or open source projects that uses Pylons?
You may also want to have a look at kotti http://kotti.pylonsproject.org/ It uses Chameleon templates, sqlalchemy, traversal and has a very good implementation of authorization complete with local roles On Wed, Apr 2, 2014 at 6:00 AM, accessw...@gmail.com wrote: Thank you, Paul! I am running the wiki tutorial, based on this URL: http://docs.pylonsproject.org/projects/pyramid/en/latest/tutorials/wiki2/index.html. That seems to be based on 1.4.5, not as new as your link. I'd love to read your refreshed one. I am experimenting creating a users table in database, and have code to authenticate user and support ACL backed by the table. So far so good. On Tuesday, April 1, 2014 6:52:50 AM UTC-7, Mário Idival wrote: I created a tutorial (a schedule), uses a bit of SQLAlchemy, some comments are on en, but Python is universal:) SqlAlchemy + Jinja2 https://github.com/GruPy-RN/agenda_pyramid Mário Idival *Twitter *: *@marioigd* *Facebook*: *mario.idival* *User Linux : **#554446* Skype*: marioidival* 2014-04-01 8:11 GMT-03:00 Paul Everitt paulwe...@gmail.com: Here is a rewrite of the tutorial which goes into more depth, section-by-section: http://docs.pylonsproject.org/projects/pyramid/en/ master/quick_tutorial/index.html It has a little more on authentication and authorization and is aimed at Jinja2. It might still be too light for your needs. I'd also like to do some rewriting and condensing on it at some point before, say, next Wednesday afternoon at 1PM. :) On question 3, I've seen other tutorials that do the table setup implicitly on first startup, or (as you mentioned) just tell you to execute some command-line tool. I'm not sure what people prefer. Doing it in the framework means you inherit some configuration. --Paul On Mar 30, 2014, at 8:02 PM, acces...@gmail.com wrote: Newbie to Pylons (in fact, fairly new to Python). Lots of programming experiences in Java, C++ and Objective-C though. Still learning Pylons and I found the wiki tutorial is excellent. However, there are a few areas that I am interested: 1. the wiki tutorial is a bit light on authentication and authorization. 2. I'd like to see how Jinja2 template system is being used. 3. database side: I am a little confused by the flow. Is it more typical to have a different tool or even just via SQL DDLs to create tables/indexes/relationship first, rather than using initializedb.py to create those tables? Could you please recommend some other tutorials or open source projects for me to study the above? Thanks! (PS: I picked Pylons over Django, because I always love to go to a bit low-level and believe in the long run it is better than doing everything under the constraint of a framework that is less customizable.) -- You received this message because you are subscribed to the Google Groups pylons-discuss group. To unsubscribe from this group and stop receiving emails from it, send an email to pylons-discus...@googlegroups.com. To post to this group, send email to pylons-...@googlegroups.com. Visit this group at http://groups.google.com/group/pylons-discuss. For more options, visit https://groups.google.com/d/optout. -- You received this message because you are subscribed to the Google Groups pylons-discuss group. To unsubscribe from this group and stop receiving emails from it, send an email to pylons-discus...@googlegroups.com. To post to this group, send email to pylons-...@googlegroups.com. Visit this group at http://groups.google.com/group/pylons-discuss. For more options, visit https://groups.google.com/d/optout. -- You received this message because you are subscribed to the Google Groups pylons-discuss group. To unsubscribe from this group and stop receiving emails from it, send an email to pylons-discuss+unsubscr...@googlegroups.com. To post to this group, send email to pylons-discuss@googlegroups.com. Visit this group at http://groups.google.com/group/pylons-discuss. For more options, visit https://groups.google.com/d/optout. -- Best Regards, Christian Ledermann London - UK Mobile : +44 7899488511 *))){ If you save the living environment, the biodiversity that we have left, you will also automatically save the physical environment, too. But If you only save the physical environment, you will ultimately lose both. 1) Don’t drive species to extinction 2) Don’t destroy a habitat that species rely on. 3) Don’t change the climate in ways that will result in the above. }(((* -- You received this message because you are subscribed to the Google Groups pylons-discuss group. To unsubscribe from this group and stop receiving emails from it, send an email to pylons-discuss+unsubscr...@googlegroups.com. To post to this group, send email to pylons-discuss@googlegroups.com. Visit this group at http://groups.google.com/group/pylons-discuss. For more options, visit https://groups.google.com/d/optout.
Re: [pylons-discuss] tutorial or open source projects that uses Pylons?
Here is a rewrite of the tutorial which goes into more depth, section-by-section: http://docs.pylonsproject.org/projects/pyramid/en/master/quick_tutorial/index.html It has a little more on authentication and authorization and is aimed at Jinja2. It might still be too light for your needs. I'd also like to do some rewriting and condensing on it at some point before, say, next Wednesday afternoon at 1PM. :) On question 3, I've seen other tutorials that do the table setup implicitly on first startup, or (as you mentioned) just tell you to execute some command-line tool. I'm not sure what people prefer. Doing it in the framework means you inherit some configuration. --Paul On Mar 30, 2014, at 8:02 PM, accessw...@gmail.com wrote: Newbie to Pylons (in fact, fairly new to Python). Lots of programming experiences in Java, C++ and Objective-C though. Still learning Pylons and I found the wiki tutorial is excellent. However, there are a few areas that I am interested: 1. the wiki tutorial is a bit light on authentication and authorization. 2. I'd like to see how Jinja2 template system is being used. 3. database side: I am a little confused by the flow. Is it more typical to have a different tool or even just via SQL DDLs to create tables/indexes/relationship first, rather than using initializedb.py to create those tables? Could you please recommend some other tutorials or open source projects for me to study the above? Thanks! (PS: I picked Pylons over Django, because I always love to go to a bit low-level and believe in the long run it is better than doing everything under the constraint of a framework that is less customizable.) -- You received this message because you are subscribed to the Google Groups pylons-discuss group. To unsubscribe from this group and stop receiving emails from it, send an email to pylons-discuss+unsubscr...@googlegroups.com. To post to this group, send email to pylons-discuss@googlegroups.com. Visit this group at http://groups.google.com/group/pylons-discuss. For more options, visit https://groups.google.com/d/optout. -- You received this message because you are subscribed to the Google Groups pylons-discuss group. To unsubscribe from this group and stop receiving emails from it, send an email to pylons-discuss+unsubscr...@googlegroups.com. To post to this group, send email to pylons-discuss@googlegroups.com. Visit this group at http://groups.google.com/group/pylons-discuss. For more options, visit https://groups.google.com/d/optout.
Re: [pylons-discuss] tutorial or open source projects that uses Pylons?
I created a tutorial (a schedule), uses a bit of SQLAlchemy, some comments are on en, but Python is universal:) SqlAlchemy + Jinja2 https://github.com/GruPy-RN/agenda_pyramid Mário Idival *Twitter *: *@marioigd* *Facebook*: *mario.idival* *User Linux : **#554446* Skype*: marioidival* 2014-04-01 8:11 GMT-03:00 Paul Everitt paulwever...@gmail.com: Here is a rewrite of the tutorial which goes into more depth, section-by-section: http://docs.pylonsproject.org/projects/pyramid/en/master/quick_tutorial/index.html It has a little more on authentication and authorization and is aimed at Jinja2. It might still be too light for your needs. I'd also like to do some rewriting and condensing on it at some point before, say, next Wednesday afternoon at 1PM. :) On question 3, I've seen other tutorials that do the table setup implicitly on first startup, or (as you mentioned) just tell you to execute some command-line tool. I'm not sure what people prefer. Doing it in the framework means you inherit some configuration. --Paul On Mar 30, 2014, at 8:02 PM, accessw...@gmail.com wrote: Newbie to Pylons (in fact, fairly new to Python). Lots of programming experiences in Java, C++ and Objective-C though. Still learning Pylons and I found the wiki tutorial is excellent. However, there are a few areas that I am interested: 1. the wiki tutorial is a bit light on authentication and authorization. 2. I'd like to see how Jinja2 template system is being used. 3. database side: I am a little confused by the flow. Is it more typical to have a different tool or even just via SQL DDLs to create tables/indexes/relationship first, rather than using initializedb.py to create those tables? Could you please recommend some other tutorials or open source projects for me to study the above? Thanks! (PS: I picked Pylons over Django, because I always love to go to a bit low-level and believe in the long run it is better than doing everything under the constraint of a framework that is less customizable.) -- You received this message because you are subscribed to the Google Groups pylons-discuss group. To unsubscribe from this group and stop receiving emails from it, send an email to pylons-discuss+unsubscr...@googlegroups.com. To post to this group, send email to pylons-discuss@googlegroups.com. Visit this group at http://groups.google.com/group/pylons-discuss. For more options, visit https://groups.google.com/d/optout. -- You received this message because you are subscribed to the Google Groups pylons-discuss group. To unsubscribe from this group and stop receiving emails from it, send an email to pylons-discuss+unsubscr...@googlegroups.com. To post to this group, send email to pylons-discuss@googlegroups.com. Visit this group at http://groups.google.com/group/pylons-discuss. For more options, visit https://groups.google.com/d/optout. -- You received this message because you are subscribed to the Google Groups pylons-discuss group. To unsubscribe from this group and stop receiving emails from it, send an email to pylons-discuss+unsubscr...@googlegroups.com. To post to this group, send email to pylons-discuss@googlegroups.com. Visit this group at http://groups.google.com/group/pylons-discuss. For more options, visit https://groups.google.com/d/optout.