From: Stefan M. <ste...@po...> - 2004-11-03 08:31:45
|
I guess it's a good thing we can mess about with our baby's genetics = than ;) Here at work we also use the SynEdit package, I like how it works and = there's a very active community around it. But then again, there's nothing wrong with the JEDI project...=20 Cheers, Stefan -----Oorspronkelijk bericht----- Van: ext...@li... = [mailto:ext...@li...] Namens Pavel = Vrecion Verzonden: dinsdag 2 november 2004 13:01 Aan: Ext...@li... Onderwerp: [Extgraph-developer] RE: XML framework I hope that mixing will bring the best, but there is famous saying (from = Oscar Wild I think). When one woman said to him that she is pretty and he is clever, so we = together can have pretty and clever children, he replied that opposite = outcome i.e. ugly and dull children is also possible. So I will try my best to have nice and clever child, feature rich, = simple, fast and well documented and supported XML framework. Syntax hilighting is based on TJvHLEditor which is part of JCL/JVCL = project lead by JEDI see http://www.delphi-jedi.org. There is another good option SynEdit, which is on also one of sf = projects. >-- P=F9vodn=ED zpr=E1va -- >Subject: RE: [Extgraph-developer] (no subject) >From: "Stefan Melis" <ste...@po...> >To: <Ext...@li...> >Date: Tue, 2 Nov 2004 12:08:41 +0100 > > >Pavel, > >I think that if you can combine the best of both worlds this must lead to >the best solution. >We might not need all the features XMLPartner offers us now but we=20 >might need them later. Implementing it now would be far more easy than=20 >when there's a jungle of code surrounding it. >As I am not up-to-date with XML, xsl, xpath and really anything=20 >surrounding XML, I would like to trust you in making the right=20 >decision, as you seem to know a hell of a lot more about it than I. > >One other thing, I saw in the (xgraph) demo app that you use a=20 >Syntax-highlighter, which one are you using for this? > >Cheers, >Stefan > >-----Oorspronkelijk bericht----- >Van: ext...@li...=20 >[mailto:ext...@li...] >Namens Pavel Vrecion >Verzonden: dinsdag 2 november 2004 11:31 >Aan: Ext...@li... >Onderwerp: [Extgraph-developer] (no subject) > >I took a look at TurboPower XML Partner which is Pascal implementation of >XML DOM (Document Object Model) and other XML related technologes like SAX >(event based) parser, xpath and xsl processing .... >Question is is to switch to it. >I would like to summarize pros and cons, but before I must describe=20 >current status a little. >In current version XML processing is based on my library which I call = XObjects. >Intention of XObjects is to create easy to use XML framework aimed=20 >especially at database and xml processing. >From implemntation recommendations from w3c.org it differs in following areas. >Condtradictory to usual DOM it works with fewer objects. Typical=20 >example is XML element and attribute. Usually these are implemented as=20 >different objects, I use only one for both XML node which has type=20 >flag. Advantages of this approach is that there is less to explain,=20 >programmer can work, learn >and understand fewer objects and processing of XML data is more = straightforward. > For example you need to store incomming XML data into database.=20 >Typically sometimes are data stored in elements and/or attributes.=20 >Using usual DOM implementation you must find if requiered are stored in = >element or attribute and then use DOM object accordingly. Using=20 >XObjects you just do not care while both are the same and you work with = Node.Name and Node.Value. >Another added value is data type. XML can be typed and XObjects takes=20 >care about typecastings and conersions. You can use for example=20 >Node.AsString, AsNumber, AsBoolean, AsDate .... Sometimes decimal=20 >deilimiter is point, sometimes comma. In datetime types there is = jungle. >Another valuable trick is that during parsing element names are not=20 >stored in String value, but it is refernce to sorted StringList. It=20 >means that redundant >in memory strings are automatically removed, and taska like finding all element >with given name is much faster, while binary search and direct=20 >addressing is used instead of repeated sequence searches. > >I compared performace of XObjects and XMLPartner on large xml files=20 >(2MB >+) and I found expected results. While XObjects parsing time is longer, >it consumes less memory. In both cases, memory and time is about 30%.=20 >I have also found that TurboPower made DOM extensions very similar to = mine. >For example they have option to create Attribute and Element string = lists. > >I have discussed advantages of XObjects , now I will make commented=20 >list of XML Partner TurboPower solution. >- XML Partner has broader support of character encoding, especially=20 >they suport more UTF versions. It seams that there is not sufficient=20 >support of >national character sets, which is neither in XObjects, but is in=20 >OpenXML, which is yet another pascal XML DOM implementation. >- SAX like event based parser, in XObjects misiing >- faster, but more memory consuming, parsing >- validation against DTD, good error handling >- XPath implementation, feature that is in XObjects in development >- buffered streams, this feature enables processing of data larger than available >memory, missing in XObjects >- XSLT processing and transformations to HTML, XML, text and RTF, very good >feature that can enhance processing capabalities in the future >- very good documentation 500+ pages manual and winhelp, XObjects has=20 >almost none >- broader support and probably stability, while XML Partner has been=20 >used longer and in far more installations. > >This leads me to an idea to use extended XML Partner and switch to it=20 >from XObjects. Features probably can enhanced so, that we can have the=20 >best from >both worlds. It would probably also mean to became a developer of XML Partner >to ensure, that new added features will be present in future releases. > > >_______________________________________________________________________ >__ > >Uspora az 30 % na POVINNEM RUCENI! Mimoradne ceny pro auta starsi 10 = let! >Pojisteni pripojneho vozidla zdarma. 800 100 777 > >http://adsweb.tiscali.cz/csob.html > > > > > >------------------------------------------------------- >This SF.Net email is sponsored by: >Sybase ASE Linux Express Edition - download now for FREE LinuxWorld=20 >Reader's Choice Award Winner for best database on Linux. >http://ads.osdn.com/?ad_idU88&alloc_id=12065&op=CCk >_______________________________________________ >Extgraph-developer mailing list >Ext...@li... >https://lists.sourceforge.net/lists/listinfo/extgraph-developer > > > > > >------------------------------------------------------- >This SF.Net email is sponsored by: >Sybase ASE Linux Express Edition - download now for FREE LinuxWorld=20 >Reader's Choice Award Winner for best database on Linux. >http://ads.osdn.com/?ad_idU88&alloc_id=12065&op=3Dclick >_______________________________________________ >Extgraph-developer mailing list >Ext...@li... >https://lists.sourceforge.net/lists/listinfo/extgraph-developer _________________________________________________________________________= Uspora az 30 % na POVINNEM RUCENI! Mimoradne ceny pro auta starsi 10 = let! Pojisteni pripojneho vozidla zdarma. 800 100 777 http://adsweb.tiscali.cz/csob.html ------------------------------------------------------- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld = Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_idU88&alloc_id=12065&op=CCk _______________________________________________ Extgraph-developer mailing list Ext...@li... https://lists.sourceforge.net/lists/listinfo/extgraph-developer |