Re: Pyramid for Pylons Users guide finished

2012-06-13 Thread Mark Huang
This is awesome!  I wish this was available when I was learning authentication 
for pyramids. In the original documentation it wasn't very clear that making a 
call to remember would trigger the group finder callback function. This doc is 
very good and I highly recommend reading this over the main documentation !

Thank you for your efforts!

-- 
You received this message because you are subscribed to the Google Groups 
pylons-discuss group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/pylons-discuss/-/8I7VY_sFciYJ.
To post to this group, send email to pylons-discuss@googlegroups.com.
To unsubscribe from this group, send email to 
pylons-discuss+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/pylons-discuss?hl=en.



Re: Pyramid for Pylons Users guide finished

2012-06-13 Thread Guillermo Cruz
Awesome job Mike, thank you.


On 4 June 2012 02:06, Mike Orr sluggos...@gmail.com wrote:

 The Pyramid for Pylons Users guide is finally finished. It's in the
 Pyramid Cookbook:

 http://docs.pylonsproject.org/projects/pyramid_cookbook/en/latest/pylons/index.html

 Yaay, now I can finally start working on other things like that CMS
 article and WebHelpers

 --
 Mike Orr sluggos...@gmail.com

 --
 You received this message because you are subscribed to the Google Groups
 pylons-discuss group.
 To post to this group, send email to pylons-discuss@googlegroups.com.
 To unsubscribe from this group, send email to
 pylons-discuss+unsubscr...@googlegroups.com.
 For more options, visit this group at
 http://groups.google.com/group/pylons-discuss?hl=en.



-- 
You received this message because you are subscribed to the Google Groups 
pylons-discuss group.
To post to this group, send email to pylons-discuss@googlegroups.com.
To unsubscribe from this group, send email to 
pylons-discuss+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/pylons-discuss?hl=en.



Re: Pyramid for Pylons Users guide finished

2012-06-05 Thread Daniel Braniss
 On Mon, Jun 4, 2012 at 1:26 AM, Daniel Braniss da...@cs.huji.ac.il wrote:
  now with 3.1 I was trying to duplicate the past success and
  failed terribly
 
 3.1 of what? Python? If so, use 3.2 because one of the older versions
 of Python 3 is not recommended for web development (I forget if it was
 3.1 or 3.0). But if you want the easiest path to success, use 2.7 for
 now.

wups, too many 3.1's , I meant Pyramid, I'm still using Python 2.7.3

cheers,
danny



-- 
You received this message because you are subscribed to the Google Groups 
pylons-discuss group.
To post to this group, send email to pylons-discuss@googlegroups.com.
To unsubscribe from this group, send email to 
pylons-discuss+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/pylons-discuss?hl=en.



Pyramid for Pylons Users guide finished

2012-06-04 Thread Mike Orr
The Pyramid for Pylons Users guide is finally finished. It's in the
Pyramid Cookbook:
http://docs.pylonsproject.org/projects/pyramid_cookbook/en/latest/pylons/index.html

Yaay, now I can finally start working on other things like that CMS
article and WebHelpers

-- 
Mike Orr sluggos...@gmail.com

-- 
You received this message because you are subscribed to the Google Groups 
pylons-discuss group.
To post to this group, send email to pylons-discuss@googlegroups.com.
To unsubscribe from this group, send email to 
pylons-discuss+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/pylons-discuss?hl=en.



Re: Pyramid for Pylons Users guide finished

2012-06-04 Thread Daniel Braniss
great work!
but :-)
in the intro:
populate_PyramidApp is not found

you mix myvenv and venv

last time I tried to run the demo it couldn't find pony.

btw, when I started with pyramid, i got very much stuck, and your Akhet
paved the way! now with 3.1 I was trying to duplicate the past success and
failed terribly - I know that I am not your typical web developer, I am mainly
a system programer/OS and sysadmin, who after years of neglet decided to
try something new, and either the docs are too primitive, or to much above
my head :-)

anyways, i'll keep trying

danny


-- 
You received this message because you are subscribed to the Google Groups 
pylons-discuss group.
To post to this group, send email to pylons-discuss@googlegroups.com.
To unsubscribe from this group, send email to 
pylons-discuss+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/pylons-discuss?hl=en.



Re: Pyramid for Pylons Users guide finished

2012-06-04 Thread Ranjith
Awesome. Thanks a lot

On 4 June 2012 13:56, Daniel Braniss da...@cs.huji.ac.il wrote:

 great work!
 but :-)
 in the intro:
populate_PyramidApp is not found

you mix myvenv and venv

 last time I tried to run the demo it couldn't find pony.

 btw, when I started with pyramid, i got very much stuck, and your Akhet
 paved the way! now with 3.1 I was trying to duplicate the past success and
 failed terribly - I know that I am not your typical web developer, I am
 mainly
 a system programer/OS and sysadmin, who after years of neglet decided to
 try something new, and either the docs are too primitive, or to much above
 my head :-)

 anyways, i'll keep trying

 danny


 --
 You received this message because you are subscribed to the Google Groups
 pylons-discuss group.
 To post to this group, send email to pylons-discuss@googlegroups.com.
 To unsubscribe from this group, send email to
 pylons-discuss+unsubscr...@googlegroups.com.
 For more options, visit this group at
 http://groups.google.com/group/pylons-discuss?hl=en.



-- 
You received this message because you are subscribed to the Google Groups 
pylons-discuss group.
To post to this group, send email to pylons-discuss@googlegroups.com.
To unsubscribe from this group, send email to 
pylons-discuss+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/pylons-discuss?hl=en.



Re: Pyramid for Pylons Users guide finished

2012-06-04 Thread Mike Orr
On Mon, Jun 4, 2012 at 1:26 AM, Daniel Braniss da...@cs.huji.ac.il wrote:
 now with 3.1 I was trying to duplicate the past success and
 failed terribly

3.1 of what? Python? If so, use 3.2 because one of the older versions
of Python 3 is not recommended for web development (I forget if it was
3.1 or 3.0). But if you want the easiest path to success, use 2.7 for
now.

I'll look into the other issues you raised. My naming of the example
apps evolved over time. I finally decided that PyramidApp and
PylonsApp are the most self-documenting.

-- 
Mike Orr sluggos...@gmail.com

-- 
You received this message because you are subscribed to the Google Groups 
pylons-discuss group.
To post to this group, send email to pylons-discuss@googlegroups.com.
To unsubscribe from this group, send email to 
pylons-discuss+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/pylons-discuss?hl=en.



Re: Pyramid for Pylons Users guide finished

2012-06-04 Thread Mike Orr
On Mon, Jun 4, 2012 at 1:26 AM, Daniel Braniss da...@cs.huji.ac.il wrote:
 in the intro:
        populate_PyramidApp is not found

It looks like this has changed in a recent version of Pyramid to
'initialize_PyramidApp_db'.

-- 
Mike Orr sluggos...@gmail.com

-- 
You received this message because you are subscribed to the Google Groups 
pylons-discuss group.
To post to this group, send email to pylons-discuss@googlegroups.com.
To unsubscribe from this group, send email to 
pylons-discuss+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/pylons-discuss?hl=en.



Re: Pyramid for Pylons users guide

2011-01-20 Thread Jonathan Vanasco
i'm looking at porting some stuff over, and after reading the docs
have a few concerns:

- under pylons i have multiple db connections : read, write, log,
admin-write, etc.  each has different db permissions to ensure
security and tie in with clustering.  all the Pyramid examples I've
seen revolve around a single db connection.

- the docs talk about not using pylons globals.  would love an
overview of their counterparts or deprecations.  i'm quite worried
about g and some other .97 conventions that are abundant in my apps.



On Jan 14, 10:53 pm, Mike Orr sluggos...@gmail.com wrote:
 Hi all, I'm starting an article on Pyramid for Pylons 1 users,
 focusing on the differences between the frameworks and how to do
 familiar things in Pyramid. It'll also cover add-on stuff like forms
 and auth, or at least list the alternatives available.

 I'm wondering if there are any particular questions people would like
 included. If so, please email them to me.

 --
 Mike Orr sluggos...@gmail.com

-- 
You received this message because you are subscribed to the Google Groups 
pylons-discuss group.
To post to this group, send email to pylons-discuss@googlegroups.com.
To unsubscribe from this group, send email to 
pylons-discuss+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/pylons-discuss?hl=en.



Re: Pyramid for Pylons users guide

2011-01-17 Thread james Neethling

On 15/01/2011 05:53, Mike Orr wrote:

Hi all, I'm starting an article on Pyramid for Pylons 1 users,
focusing on the differences between the frameworks and how to do
familiar things in Pyramid. It'll also cover add-on stuff like forms
and auth, or at least list the alternatives available.

I'm wondering if there are any particular questions people would like
included. If so, please email them to me.


Hi Mike,

This is a great idea and I look forward to reading it.

-Jim

--
You received this message because you are subscribed to the Google Groups 
pylons-discuss group.
To post to this group, send email to pylons-discuss@googlegroups.com.
To unsubscribe from this group, send email to 
pylons-discuss+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/pylons-discuss?hl=en.



Re: Pyramid for Pylons users guide

2011-01-15 Thread Eric Lemoine
On Sat, Jan 15, 2011 at 4:53 AM, Mike Orr sluggos...@gmail.com wrote:
 Hi all, I'm starting an article on Pyramid for Pylons 1 users,
 focusing on the differences between the frameworks and how to do
 familiar things in Pyramid. It'll also cover add-on stuff like forms
 and auth, or at least list the alternatives available.

 I'm wondering if there are any particular questions people would like
 included. If so, please email them to me.

Thanks a lot for that Mike.

I've been pluging in WSGI apps in Pylons controllers, as described
at 
http://pylonsbook.com/en/1.1/the-web-server-gateway-interface-wsgi.html#wsgi-in-pylons-controllers.
I'd be very interested to know if and how this can be done in a
Pyramid application.

Cheers,

-- 
Eric Lemoine

Camptocamp France SAS
Savoie Technolac, BP 352
73377 Le Bourget du Lac, Cedex

Tel : 00 33 4 79 44 44 96
Mail : eric.lemo...@camptocamp.com
http://www.camptocamp.com

-- 
You received this message because you are subscribed to the Google Groups 
pylons-discuss group.
To post to this group, send email to pylons-discuss@googlegroups.com.
To unsubscribe from this group, send email to 
pylons-discuss+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/pylons-discuss?hl=en.



Re: Pyramid for Pylons users guide

2011-01-15 Thread Gael Pasgrimaud
On Sat, Jan 15, 2011 at 3:12 PM, Eric Lemoine
eric.lemo...@camptocamp.com wrote:
 On Sat, Jan 15, 2011 at 4:53 AM, Mike Orr sluggos...@gmail.com wrote:
 Hi all, I'm starting an article on Pyramid for Pylons 1 users,
 focusing on the differences between the frameworks and how to do
 familiar things in Pyramid. It'll also cover add-on stuff like forms
 and auth, or at least list the alternatives available.

 I'm wondering if there are any particular questions people would like
 included. If so, please email them to me.

 Thanks a lot for that Mike.

 I've been pluging in WSGI apps in Pylons controllers, as described
 at 
 http://pylonsbook.com/en/1.1/the-web-server-gateway-interface-wsgi.html#wsgi-in-pylons-controllers.
 I'd be very interested to know if and how this can be done in a
 Pyramid application.


Like this: http://docs.pylonsproject.org/projects/pyramid/dev/api/wsgi.html

Also since a view can return a Response object you can do that:

def my_wiew(request):
request.path_info_pop() # if needed
return request.get_response(wsgiapp)

I use it to serve mercurial's hgweb apps and it just work.

--
Gael

 Cheers,

 --
 Eric Lemoine

 Camptocamp France SAS
 Savoie Technolac, BP 352
 73377 Le Bourget du Lac, Cedex

 Tel : 00 33 4 79 44 44 96
 Mail : eric.lemo...@camptocamp.com
 http://www.camptocamp.com

 --
 You received this message because you are subscribed to the Google Groups 
 pylons-discuss group.
 To post to this group, send email to pylons-discuss@googlegroups.com.
 To unsubscribe from this group, send email to 
 pylons-discuss+unsubscr...@googlegroups.com.
 For more options, visit this group at 
 http://groups.google.com/group/pylons-discuss?hl=en.



-- 
You received this message because you are subscribed to the Google Groups 
pylons-discuss group.
To post to this group, send email to pylons-discuss@googlegroups.com.
To unsubscribe from this group, send email to 
pylons-discuss+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/pylons-discuss?hl=en.



Re: Pyramid for Pylons users guide

2011-01-15 Thread Eric Lemoine
On Saturday, January 15, 2011, Gael Pasgrimaud g...@gawel.org wrote:
 On Sat, Jan 15, 2011 at 3:12 PM, Eric Lemoine
 eric.lemo...@camptocamp.com wrote:
 On Sat, Jan 15, 2011 at 4:53 AM, Mike Orr sluggos...@gmail.com wrote:
 Hi all, I'm starting an article on Pyramid for Pylons 1 users,
 focusing on the differences between the frameworks and how to do
 familiar things in Pyramid. It'll also cover add-on stuff like forms
 and auth, or at least list the alternatives available.

 I'm wondering if there are any particular questions people would like
 included. If so, please email them to me.

 Thanks a lot for that Mike.

 I've been pluging in WSGI apps in Pylons controllers, as described
 at 
 http://pylonsbook.com/en/1.1/the-web-server-gateway-interface-wsgi.html#wsgi-in-pylons-controllers.
 I'd be very interested to know if and how this can be done in a
 Pyramid application.


 Like this: http://docs.pylonsproject.org/projects/pyramid/dev/api/wsgi.html

 Also since a view can return a Response object you can do that:

 def my_wiew(request):
     request.path_info_pop() # if needed
     return request.get_response(wsgiapp)

 I use it to serve mercurial's hgweb apps and it just work.


Nice. I'll give it a try. Thanks Gael.

-- 
Eric Lemoine

Camptocamp France SAS
Savoie Technolac, BP 352
73377 Le Bourget du Lac, Cedex

Tel : 00 33 4 79 44 44 96
Mail : eric.lemo...@camptocamp.com
http://www.camptocamp.com

-- 
You received this message because you are subscribed to the Google Groups 
pylons-discuss group.
To post to this group, send email to pylons-discuss@googlegroups.com.
To unsubscribe from this group, send email to 
pylons-discuss+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/pylons-discuss?hl=en.



Pyramid for Pylons users guide

2011-01-14 Thread Mike Orr
Hi all, I'm starting an article on Pyramid for Pylons 1 users,
focusing on the differences between the frameworks and how to do
familiar things in Pyramid. It'll also cover add-on stuff like forms
and auth, or at least list the alternatives available.

I'm wondering if there are any particular questions people would like
included. If so, please email them to me.

-- 
Mike Orr sluggos...@gmail.com

-- 
You received this message because you are subscribed to the Google Groups 
pylons-discuss group.
To post to this group, send email to pylons-discuss@googlegroups.com.
To unsubscribe from this group, send email to 
pylons-discuss+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/pylons-discuss?hl=en.