Re: [ANN] ToscaWidgets 0.2 Release candidate available

2007-11-21 Thread Alberto Valverde

Mike Orr wrote:
 On Nov 19, 2007 5:36 AM, Alberto Valverde [EMAIL PROTECTED] wrote:
 Hi people,

 I've just registered and uploaded to PyPI (aka cheeseshop) the first
 release candidate of the first beta of ToscaWidgets and twForms.

 This means that the API is stable enough to safely build and distribute
 widgets with it.

 Furthermore, a little envy from Pylons' new Trove classifier, and
 Turbogears' old one, has pushed me to request one and it has been
 conceded ;).

 Environment :: Web Environment :: ToscaWidgets

 Widget eggs you make might want to add it to setup.py so their metadata
 can be pulled from PyPI and listed at toscawidgets.org (a là TG
 widgets). The PasteScript template inside TW already adds it if you
 create a widget skeleton with paster create --template toscawidgets.
 
 I thought that syntax made a standalone application. But what's a
 standalone ToscaWidgets application, since it doesn't have its own web
 framework? And how can you combine this with Pylons?  It looks like
 you'd have to create a TW application, copy what you want into the
 Pylons application, and then delete the TW application?

It's not a ToscaWidgets standalone application but a ToscaWidgets egg.
This egg can be the listed in the install_requires of any application
that needs it for easier deployment. It is really only useful to create
a widget egg if you plan to distribute it or want to reuse it easily in
multiple apps, for one-shot widgets you can just declare them inside a
module inside your app's package.

BTW, I've found PasteScript useful for much more than scaffolding
Pylons or TG applications (or widget eggs). In a former job we used it
extensively to script the installation, via a web control panel, of PHP
applications (among others).

Alberto


--~--~-~--~~~---~--~~
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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/pylons-discuss?hl=en
-~--~~~~--~~--~--~---



Re: [ANN] ToscaWidgets 0.2 Release candidate available

2007-11-21 Thread Mike Orr

On Nov 21, 2007 6:03 AM, Alberto Valverde [EMAIL PROTECTED] wrote:
 It's not a ToscaWidgets standalone application but a ToscaWidgets egg.
 This egg can be the listed in the install_requires of any application
 that needs it for easier deployment. It is really only useful to create
 a widget egg if you plan to distribute it or want to reuse it easily in
 multiple apps, for one-shot widgets you can just declare them inside a
 module inside your app's package.

 BTW, I've found PasteScript useful for much more than scaffolding
 Pylons or TG applications (or widget eggs). In a former job we used it
 extensively to script the installation, via a web control panel, of PHP
 applications (among others).

I thought the only legitimate use for paster create was to make a
WSGI application for paster serve.  So here it's just copying an
arbitrary egg skeleton to a directory?

-- 
Mike Orr [EMAIL PROTECTED]

--~--~-~--~~~---~--~~
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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/pylons-discuss?hl=en
-~--~~~~--~~--~--~---



Re: [ANN] ToscaWidgets 0.2 Release candidate available

2007-11-21 Thread Philip Jenvey


On Nov 21, 2007, at 10:39 AM, Mike Orr wrote:


 On Nov 21, 2007 6:03 AM, Alberto Valverde [EMAIL PROTECTED] wrote:
 It's not a ToscaWidgets standalone application but a ToscaWidgets  
 egg.
 This egg can be the listed in the install_requires of any  
 application
 that needs it for easier deployment. It is really only useful to  
 create
 a widget egg if you plan to distribute it or want to reuse it  
 easily in
 multiple apps, for one-shot widgets you can just declare them  
 inside a
 module inside your app's package.

 BTW, I've found PasteScript useful for much more than scaffolding
 Pylons or TG applications (or widget eggs). In a former job we  
 used it
 extensively to script the installation, via a web control panel,  
 of PHP
 applications (among others).

 I thought the only legitimate use for paster create was to make a
 WSGI application for paster serve.  So here it's just copying an
 arbitrary egg skeleton to a directory?


Sure, it could scaffold anything you want

In fact PasteScript comes with a 'basic_package' template which is  
geared towards a basic python application. I've been using it any  
time I need to create a normal Python project.

--
Philip Jenvey



--~--~-~--~~~---~--~~
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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/pylons-discuss?hl=en
-~--~~~~--~~--~--~---



Re: [ANN] ToscaWidgets 0.2 Release candidate available

2007-11-19 Thread Mike Orr

On Nov 19, 2007 5:36 AM, Alberto Valverde [EMAIL PROTECTED] wrote:

 Hi people,

 I've just registered and uploaded to PyPI (aka cheeseshop) the first
 release candidate of the first beta of ToscaWidgets and twForms.

 This means that the API is stable enough to safely build and distribute
 widgets with it.

 Furthermore, a little envy from Pylons' new Trove classifier, and
 Turbogears' old one, has pushed me to request one and it has been
 conceded ;).

 Environment :: Web Environment :: ToscaWidgets

 Widget eggs you make might want to add it to setup.py so their metadata
 can be pulled from PyPI and listed at toscawidgets.org (a là TG
 widgets). The PasteScript template inside TW already adds it if you
 create a widget skeleton with paster create --template toscawidgets.

I thought that syntax made a standalone application. But what's a
standalone ToscaWidgets application, since it doesn't have its own web
framework? And how can you combine this with Pylons?  It looks like
you'd have to create a TW application, copy what you want into the
Pylons application, and then delete the TW application?

-- 
Mike Orr [EMAIL PROTECTED]

--~--~-~--~~~---~--~~
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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/pylons-discuss?hl=en
-~--~~~~--~~--~--~---