From: <mic...@ya...> - 2004-06-25 23:17:05
|
Hi guys! I want to share some experience... I am a happy user of the webware servlets, but now I working on a small business where I am not the programmer, designer, tester... I must work in a colaborative way. I will start to dig up into a template engine, I know psp and cheetah and I think it's ok, but, how say the cheetah docs, this is for emacs/vim users, I'm a vim user, but the designer are not, the designer don't know what is vim :) Does anyone are facing this? What about zpt? Sometimes ago I talk to Pedro Beck (do you still here?) about the ZPTKit, but that time I don't have time (and maybe knowledgement) to work with it :) Does a download page for the ZPTKit exist? I try ZPTPage but I think it will be useless without a way to implement the user-macro and fill-slot, I think the use macro should import and extend a Module and the fill-slot should replace some method... I have an example: I write a baseclass for a step by step form. All the forms must have a name like FormX (Form1, Form2, Form3). Each form points to the next and have links to the previous, I have a end button that are disable if the page isn't the last. I want to explain this to designer and the designer use the simpliest way to fill out the writeContent method (where resides the form items). Thanks for the attention! ===== -- Michel Thadeu Sabchuk Curitiba/PR ______________________________________________________________________ Yahoo! Mail - agora com 100MB de espaço, anti-spam e antivírus grátis! http://br.info.mail.yahoo.com/ |
From: Aaron H. <aaron@MetroNY.com> - 2004-06-26 17:41:30
|
look back in this list or the Cheetah list and there were some examples=20 of cheetah for the WYSIWYG designer. You can also lookup articles=20 concerning java's Velicity and WYSIWYG for some help. I've used cheetah under dreamweaver and it works pretty well - I just=20 had to add some creative comments so that dreamwaver saw HTML comments=20 around the cheetah directives. There was also some mention of using=20 <!-- to mark the start of cheetah code. If your designer comes from the PHP world, there is a python package=20 that uses the sames syntax as the phpBB templates. -Aaron Michel Thadeu wrote: >Hi guys! > >I want to share some experience... I am a happy user of the webware >servlets, but now I working on a small business where I am not the >programmer, designer, tester... I must work in a colaborative way. > >I will start to dig up into a template engine, I know psp and cheetah >and I think it's ok, but, how say the cheetah docs, this is for >emacs/vim users, I'm a vim user, but the designer are not, the designer >don't know what is vim :) > >Does anyone are facing this? What about zpt? Sometimes ago I talk to >Pedro Beck (do you still here?) about the ZPTKit, but that time I don't >have time (and maybe knowledgement) to work with it :) Does a download >page for the ZPTKit exist? > >I try ZPTPage but I think it will be useless without a way to implement >the user-macro and fill-slot, I think the use macro should import and >extend a Module and the fill-slot should replace some method... > >I have an example: I write a baseclass for a step by step form. All the >forms must have a name like FormX (Form1, Form2, Form3). Each form >points to the next and have links to the previous, I have a end button >that are disable if the page isn't the last. > >I want to explain this to designer and the designer use the simpliest >way to fill out the writeContent method (where resides the form items). > >Thanks for the attention! > >=3D=3D=3D=3D=3D >-- >Michel Thadeu Sabchuk >Curitiba/PR > >______________________________________________________________________ > >Yahoo! Mail - agora com 100MB de espa=E7o, anti-spam e antiv=EDrus gr=E1= tis! >http://br.info.mail.yahoo.com/ > > >------------------------------------------------------- >This SF.Net email sponsored by Black Hat Briefings & Training. >Attend Black Hat Briefings & Training, Las Vegas July 24-29 -=20 >digital self defense, top technical experts, no vendor pitches,=20 >unmatched networking opportunities. Visit www.blackhat.com >_______________________________________________ >Webware-discuss mailing list >Web...@li... >https://lists.sourceforge.net/lists/listinfo/webware-discuss > =20 > --=20 -Aaron http://www.MetroNY.com/ If the car industry behaved like the computer industry=20 over the last 30 years, a Rolls-Royce would cost $5,=20 get 300 miles per gallon, and blow up once a year=20 killing all passengers inside. |
From: CLIFFORD I. <cli...@di...> - 2004-06-26 21:58:16
|
At 01:41 PM 26/06/2004 -0400, Aaron Held wrote: >look back in this list or the Cheetah list and there were some examples of >cheetah for the WYSIWYG designer. You can also lookup articles concerning >java's Velicity and WYSIWYG for some help. > >I've used cheetah under dreamweaver and it works pretty well - I just had >to add some creative comments so that dreamwaver saw HTML comments around >the cheetah directives. There was also some mention of using <!-- to mark >the start of cheetah code. > >If your designer comes from the PHP world, there is a python package that >uses the sames syntax as the phpBB templates. I have read the Cheetah and Velocity docs, played with Cheetah but still am missing something. How does templating in general and Cheetah in particular make my life easier? I do not use PSP so its advantages over PSP mean nothing to me. With FormKit and WebWare servlets, it seems straightforward enough. Is adding Cheetah to the mix going to make a big difference in productivity? Regards, Clifford Ilkay Dinamis Corporation 3266 Yonge Street, Suite 1419 Toronto, Ontario Canada M4N 3P6 Tel: 416-410-3326 |
From: Greg M. <gmc...@gm...> - 2004-06-27 00:00:09
|
> I have read the Cheetah and Velocity docs, played with Cheetah but still am > missing something. How does templating in general and Cheetah in particular > make my life easier? I do not use PSP so its advantages over PSP mean > nothing to me. With FormKit and WebWare servlets, it seems straightforward > enough. Is adding Cheetah to the mix going to make a big difference in > productivity? Well, this depends on what you're doing, really. Cheetah may not, in fact, make your life easier at all. And using Cheetah does mean occasionally having to deal with some "fudges", like work-arounds for Webware form actions, for instance, which don't work de facto when you're using Cheetah. I recently had to deal with that. Cheetah adds quite an important component to my Python tookit, however, since it does enable me to effectively separate the view from the model, and make those two things very distinct. None of my business code has anything to do with display logic. And all of my templates are super easy to maintain since, basically, they're HTML with Cheetah's embedded directives. If ever I decide to use a different templating engine, or a different method for the view, then I can switch without ever worrying about my business code. Now if you're already doing this, and you don't mind writing HTML strings in separate .py servlets, then Cheetah may not do a lot for you. Also, if you're working in a situation where you don't have a distributed model of Web development -- designers in their departments, developers in theirs, -- but rather you have technical people who have no trouble with Python code, then again, no problem. But if you are getting XHTML files from designers who have generated them using, oh, Dreamweaver, and then you have to cut and paste sections of HTML into your .py servlets, well, you might find that using templates can be a very big productivity increase indeed, especially since the directives in Cheetah are mostly Python-based and not at all difficult to learn. Anyway, with anything there's at least some kind of learning curve and you may or may not think Cheetah is for you. For me it's been totally kick-ass, as has Webware, because I've finally found a middle ground that gives me most of the ease-of-use of PHP, without PHP's significant blah-factor, along with most of the needed advantages of Java and Java's take on MVC, without Java's best practices of editing four different XML files before you get to "Hello World". Anyway, that's my .02. Peace, Greg |
From: Aaron H. <aa...@me...> - 2004-06-30 14:17:23
|
> I have read the Cheetah and Velocity docs, played with Cheetah but > still am missing something. How does templating in general and Cheetah > in particular make my life easier? I do not use PSP so its advantages > over PSP mean nothing to me. With FormKit and WebWare servlets, it > seems straightforward enough. Is adding Cheetah to the mix going to > make a big difference in productivity? Its just a matter of seperating the look from the logic. Ask yourself how hard it would be to turn an HTML table into a list. Also I can give the template files to a designer who does not know python and they can use PSP or Cheetah syntax - which is much simpler and safer. -Aaron |