Thanks Achio. On 7/16/06, achio_84 <[EMAIL PROTECTED]> wrote: > > Hi... First of all, congratulate for your archievement in developing > a Web-Base SVG Editor.... > I have a question to ask about the save/load feature in your > application cause I'm developing a drawing application which enable > the user to draw some basic shapes on the web page. > And I'm facing a problem regarding the save feature.... > How should I save the user drawing to the database? > I have defined a group (canvas) where all the user drawing are placed > in there. Is it I only need to save all the drawing in the canvas to > 1 field/row in the database table? Or I need to seperate the elements > and insert it to the table in different rows? That is "cirle" in 1 > row, "rectangle" in 1 row and so on? >
Ours is much simpler than you think. I save everything as one "text" field. Then when load I only use one statement "eval(..)". If local; then all I do is using input/output from a <textarea> element.It's up to user how to use it. I don't want to touch user file system.- Too sensitive and to avoid liability- "If they want it automatically they can can do themselves (at their server)". It's tiny.(3000 lines).- Just to share some fun with you- The source code for SVG editor is almost as big as our Zipprotocol source code. It includes SVG rendering engine. Hope it answer your question. Phi. Hope to learn something from you... > Thanks. > > Regards, > achio. > > --- In [email protected] <svg-developers%40yahoogroups.com>, > "minhducthandan" > > <[EMAIL PROTECTED]> wrote: > > > > Hi All ! ! ! > > > > As soon as Friday or earlier I will upload a 100% Web-Base SVG > Editor > > with the following features: > > - Load/Save locally or at our server. > > - Support all basic shapes. > > - Support all gradient. > > - Support transformation( Scale, Skew, Rotation . . .). > > - All are: Point, Click and Drag. > > - Except for Server code to log-in, load and save; They all are in > > JavaScript and intentionally let open. > > - 100% WYSIWYG. > > - IE and FF(Windows+Linux) > > > > Limitations: > > - We have not support text -Yet- Will be available soon. > > - We do not support <img> tag. > > - So many times I have indicate there are the "ceiling" number of > > elements that a particular browser can handle well (It also caused > > some feel offended). By that as the rule of thumb; it only work on > > SVGs of about 100K or less. > > - Because the editor need to exam the content of images then > > therefore it only with ZipProtocol.(You may can explore to see if it > > works on other players?- Theoretically it should work with minor > > changes but the "ceiling" will be to low - I think??). > > > > Cheers > > > > Phi > > > > > > > > > > Phi - Tran > > Hugely increase your speed, saving your band-width with ZipProtocol > > plus crystal clear SVG Rendering image at > > HTTP://oneplusplus.com > > > > > -- Phi - Tran Hugely inrease your speed, saving your band-width with ZipProtocol plus crystal clear SVG Rendering image at HTTP://oneplusplus.com [Non-text portions of this message have been removed] ------------------------ Yahoo! Groups Sponsor --------------------~--> Great things are happening at Yahoo! Groups. See the new email design. http://us.click.yahoo.com/TISQkA/hOaOAA/yQLSAA/1U_rlB/TM --------------------------------------------------------------------~-> ----- To unsubscribe send a message to: [EMAIL PROTECTED] -or- visit http://groups.yahoo.com/group/svg-developers and click "edit my membership" ---- Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/svg-developers/ <*> To unsubscribe from this group, send an email to: [EMAIL PROTECTED] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/

