On Feb 15, 2:30 pm, Jorge Vargas <[email protected]> wrote:
> On Sun, Feb 15, 2009 at 9:04 AM, Gustavo Narea <[email protected]> wrote:
>
> > On Sunday February 15, 2009 11:33:57 Michel Albert wrote:
> >> Thanks, this sounds interesting. However, my current app is running on
> >> TG1.0, so as I can see the "best" method would be to migrate towards
> >> TG2.0. But then, how does the roadmap look for TG2. Can it be
> >> considered stable enough for production use? As far I can see from the
> >> different posts on the web it's pretty much done, and a final release
> >> is imminent. Right?
>
> > It looks like I have to pay more attention to what I read ;-) I thought you
> > were using TG1, I am sorry.
>
> hehe :) tg2
>
> > Some people are already using it in production sites since some months ago,
> > and I'd say it's stable enough. That we're about to release the last beta 
> > is a
> > good demonstration.
>
> that will be me for example :) as for stable.
> Today is the last day of API changes, tomorrow hopefully we'll have
> the last beta, then a yet undetermined number of rc, and we hope to
> have final at most a week before pycon09 (mid march)
>
> > I'd recommend everybody start using it. I started using TG last year with 
> > TG1,
> > but then I tried TG2 and decided to make the switch immediately because of 
> > the
> > nice new features. I think you'll love it ;-)
>
> I also recommend, my story is a bit different but I have been using
> the "trunk" for at least 6 months now.
>
> > Cheers!
> > --
> > Gustavo Narea <http://gustavonarea.net/>.
>
> > Get rid of unethical constraints! Get freedomware:
> >http://www.getgnulinux.org/

Following Gustavo's message, I started to look into TG2, and it looks
very promising. I have started my application with TG 0.9 and ever
since, the project had to endure certain heavy migrations:

- SQLObject -> SQLAlchemy
- SQLAlchemy 0.3 -> SQLAlchemy 0.4

And then there's the heavy usage of custom widgets and CherryPy
filters. The filters are crucial to the application for some of the
requirements. I strongly beleive I can do all this with Middleware,
but I need to go back and do some studies about how this is done.

So for me, this means that there are three major migrations on the
doorstep yet again:

- SQLAlchemy 0.4 -> 0.5 (although this looks simpler than the 0.3 to
0.4 migration)
- "Old-Style" widgets -> ToscaWidgets
- CherryPy Filters -> WSGI Middleware

Looking at what needs to be done, I beleive I will quickstart a
"vanilla" TG2 project and migrate things step-by-step. And this task
will be huge for me (considering the data store has some 30+ DB tables
already migrating the model is daunting).

But from what I see, I will rip off some huge benefits from the
migration. Most of all, better RESTful support (using
RestController?). And this is something I need to implement quite
quickly. Also the caching that is promised by TG2 should solve some
shortcomings in my current app. I really can't wait to get the I-feel-
at-home-feeling (that I currently have for TG1) in TG2

Anyhow, I started to play with the Wiki20 tutorial, which immediately
didn't work :( First, it complained about a SecureController, then
when quickstarting it *with* username/password support, it worked, but
the promised "manager"/"managepass" account was not there. But I
beleive, these issues are already discussed elsewhere and this would
go way off topic so I'll just wait for a new release and test and test
and test :]

But so far, from what I've seen, TG2 looks *awesome*. I'll just need
to wrap my head around ToscaWidgets and WSGI to get my app working,
but that should not be too difficult :)
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"TurboGears" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/turbogears?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to