Hi Bob, It seems that you have started you job for months, what do you have yet ? May be we can discuss details here. When i search "Tapestry eclipse plunge" in google, we can get lots of result and get some editor, but they are all not perfect, or even not avaiable, so, i think a editor which can improve Tapertry development progress is really needed
在 2011年1月27日 上午10:26,Bob Harner <bobhar...@gmail.com>写道: > Gavin, > > Your plans are quite ambitious and your efforts will be very much > appreciated by Tapestry users if you can accomplish even a few of your > goals. > > In terms of priorities, I agree with Mark's list. > > Also: I hope you'll use the Apache License 2.0 > > I started developing a more modest Tapestry-Eclipse plugin myself a > month ago. I haven't made enough progress yet to show anybody, but if > you happen to not start on yours for a month or two then please check > back with me to see if I have anything decent to give you as a > starting point. My approach also combines the editing of tml and java > source (and component message catalogs, too), but only as separate > editor "pages" (tabs at the bottom of the editor) rather than in a > fancy graphical drag-and-drop editor. > > 2011/1/26 Gavin Lei <gavingui2...@gmail.com>: > > Hi Mark, > > > > Thank you for your reply, that is what in my mind :-) > > > > As we know, Tapestry focus on components, each page is made up of many > > compoents. This development model like Visual Studio very much, if we > > develop C# asp.net application, each page is made up of a .aspx file and > a > > .cs file, and Visual Studio supply a editor for us to edit these two > files > > together, we can easily transfer between these two files, even we can not > > feel that they are two files. Page property view is also a necessary part > of > > this editor. This design model help me much when i was developing > > asp.netapplication. > > > > Tapestry focus on components too, i think Java open source community > should > > supply such a convinent development environment like Visual Studio for > > Tapestry, this will improve develop feeling, help us much. So i want to > > finish a editor for Tapestry > > > > 在 2011年1月27日 上午12:35,Mark <mark-li...@xeric.net>写道: > > > >> My two cents: > >> > >> - Project setup isn't a particularly big deal for me since I can do > >> this through Maven. If you do make the plugin create the project, > >> make sure it is flexible enough to handle projects that already exist > >> and isn't tied to a specific tapestry release. > >> > >> - Checkout the paid version of IDEA as it offers some nice code > >> completion features in the template. > >> > >> - Loom will let you switch back and forth between the .java and the > >> corresponding .tml file. > >> > >> - If you want to create something graphical, I'd take a look at how > >> the WebObjects editor use to work. You may be able to find a > >> screenshot somewhere. Basically at the bottom of the page, you had a > >> list of all the property objects that were available for the page. > >> You could click on one and see all of its properties and drill down > >> until you found what you were looking for. Then you could drag that > >> property and drop it on the editor where you wanted it to appear. I > >> found it to be very convenient even though it wasn't a full WYSIWYG > >> environment. > >> > >> Here are three things that would probably give the biggest > >> productivity gains in order of importance. > >> > >> 1. Switch between .tml and .java files (Loom does this already). It > >> would be nice if you could open both the .java and cooresponding .tml > >> side by side rather than just switching between them. > >> > >> 2. Autocomplete for tapestry built in components. So when you type > >> <t: it comes up with a list you can choose from and then completes it > >> with the required parameters listed. (There is a how to for setting > >> this up using the schema and the .jsp editor, but it didn't seem to > >> work for me last time I tried it.) > >> > >> 3. Autocomplete for custom components. I think there is a how to, to > >> create a schema to do this using the .jsp editor as well, but I didn't > >> have any luck with it during the brief time I played with it. > >> > >> 4. Autocomplete of properties from the .java page when editing the > >> .tml file. When it is setup correctly IDEA does a reasonable job of > >> this. > >> > >> 5. Some type of drag and drop to put properties from the .java file > >> into the .tml file. (Could be a GUI, but wouldn't have to be.) > >> > >> At least those are my thoughts on what would be the most useful > features. > >> > >> Mark > >> > >> 2011/1/26 Gavin Lei <gavingui2...@gmail.com>: > >> > Hi guys, > >> > > >> > I have been involved in Tapestry for years, usually build my project > in > >> > Eclipse. But I can not find fantastic Eclipse plugin for Taperstry. > Now, > >> if > >> > we use Tapestry 5 to build our web project, it is more convinent, but > i > >> > think there is a good editor for Taperstry 5, Tapestry will be much > more > >> > cool. > >> > > >> > So i want to build a Eclipse based editor for Tapestry 5, and build it > as > >> an > >> > Google Summer of Code 2011 project, below is my mainly idea, helping > for > >> > your ideas and feedback. If anyone has interest in it, please let me > >> know, > >> > Thank you :-) > >> > > >> > Features: > >> > > >> > 1.Tapestry project feature, such as import tapestry 5 libraries, > project > >> > wizards, add default Tapestry package structure and so on. > >> > In one word, once we create a Tapestry project, it is created with > >> > required package structure and web.xml content. > >> > > >> > 2.One tapestry page includes one Java class file and one HTML based > >> template > >> > file. It seems like Microsoft's asp.net in Visual Studio somewhere. > >> > We can edit the java class file and template file together. So, > this > >> > tool supply a convinent editor for tapestry page. It has design view > and > >> > source view. > >> > I. source view > >> > we can edit template file source in this view. and this view > >> supply > >> > property tips and keyword highlight functions. > >> > For example, there are attributes "testA" and "testB" in its > >> > cosspending Java class file. If you want to get the property value, > you > >> > should input "${prop:testA}" in template file,this view will > supply > >> auto > >> > complete function for you after you input "${prop:t}",you can select > >> "testA" > >> > or "testB". > >> > > >> > II.design view > >> > this view is a more powful HTML editor, we can build it on some > >> open > >> > souce Eclipse HTML editor. Besides,we can set component's property > value > >> in > >> > this view, add listener for components. > >> > For example, if we double click a form's submit button named > >> > "submitButton" in this view, it will add a function > >> > "onSuccessFromSubmitButton" in its cosspending Java class,this > function > >> is > >> > used to handler form submit action. > >> > > >> > 3.supply customization feature for Tapestry page editor. For example, > we > >> can > >> > setup different color for different Java web component in template > file. > >> > > >> > > >> > --------------------------------- > >> > Best Regards > >> > Gavin Lei (雷银) > >> > Email: gavingui2...@gmail.com > >> > > >> > >> --------------------------------------------------------------------- > >> To unsubscribe, e-mail: dev-unsubscr...@tapestry.apache.org > >> For additional commands, e-mail: dev-h...@tapestry.apache.org > >> > >> > > > > > > -- > > --------------------------------- > > Best Regards > > Gavin Lei (雷银) > > Email: gavingui2...@gmail.com > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: dev-unsubscr...@tapestry.apache.org > For additional commands, e-mail: dev-h...@tapestry.apache.org > > -- --------------------------------- Best Regards Gavin Lei (雷银) Email: gavingui2...@gmail.com