From: Leif W <war...@us...> - 2005-11-15 04:45:07
|
> From: "A P" <the...@gm...> > Sent: 2005 November 14 Monday 18:19 > > Hi All , > > I have been playing with the latest 3.0 beta and am highly impressed ! > I would like to use DynAPI Objects to create a online IDE for basic > Page layout design... > I am sure there are some there but there are too complex for what I am > trying to do. > > My question is : Can I use the HTML* Widgets *outside* the > TemplateManager ? Hmm, I check in dynapi/src/ext/packages.js and don't see any dependencies. I double check in dynapi/examples/ and I don't see any dependencies, except for the "Image Frame" example. My wild guess is that they're independent. But try it and see! > I dont want to create a template . All I want is a layer on which I > can drag and drop the HTML* widgets on to it. > Basically I want to create a "pallette" of few HTML Widgets ( > textbox,dropdowns,buttons etc) > and then drag-drop them onto a "workspace" layer. > > Hence , there wont be any TemplateManager. Is this supported ? Can I > do this without using any template ? My next question is : is > drag&drop supported with these HTML* widgets ? Hmm, well, widgets are objects, create instances, tweak properties, ok. But to get back the source? Hmm. Since you're trying something new, make it a new widget built upon existing widgets. Your Pallette widget might be the interface, with buttons or menu options to create and destroy instances of other objects. And the workspace area is where you can combine elements, configure, and I am guessing that eventually you'll want to export things. > Otherwise I will have to create my own version of the HTML Widgets > using DynLayers...hate to start from there as there is such a good > library present. :-) > > What I am trying to achieve is a very basic HTML Page builder where a > user can drag a HTML widget on the workspace and edit the properties.. > This will be later used for code generation to generate the backend > code for any UI framework.. It sounds like an interesting idea! Try some things, one step at a time, and build upon that. If you get something satisfactory, share it. > thanks for any suggestions.. > Pat Subscribe to the list, so your posts do not get delayed by manual approval, which is also a risk for being mistaken as spam, as I quickly go through the lists every day and this is only the 2nd mail this year that was not subscribed and was in fact not spam, versus the several hundred spams. ;-) Leif |