XML is difficult language to program in. There are no interactive XML
debuggers as there are for Java. There are thousands of lines of actual procedural programs written in XML inside of Ofbiz. So how is this not a risk for choosing Ofbiz? Preferably members of the community that do no have consulting companies formed around the product can voice their opinion. Thanks. -------------------------------------------------------- Hunter Peress e: [hidden email] w: www.mixonic.com p: 888-464-9664 ext. 134 or p: 415-375-8258 ext. 134 |
Mini-lang (or simple methods) have the <log> element which is useful for
debugging. Most of the time you will have an idea where a problem is occurring, so sprinkling the code with a few <log> elements will help track down the problem. Once you get used to the process, it's actually a lot faster than stepping through code in a debugger. -Adrian Hunter Peress wrote: > XML is difficult language to program in. There are no interactive XML > debuggers as there are for Java. There are thousands of lines of actual > procedural programs written in XML inside of Ofbiz. So how is this not a > risk for choosing Ofbiz? Preferably members of the community that do no > have consulting companies formed around the product can voice their > opinion. > > > > Thanks. > > > > > > > > -------------------------------------------------------- > > Hunter Peress > > e: [hidden email] > > w: www.mixonic.com > > p: 888-464-9664 ext. 134 or > p: 415-375-8258 ext. 134 > > > > |
In reply to this post by Hunter Peress-7
I too had concerns about amount of XML being used in Ofbiz. One of the reasons like you mentioned below, but other reasons were difficult to maintain, too much configuration, lots of file switching, understanding XML elements from respective XSDs etc. It made it (atleast for me) extremely difficult to come up to speed - remembering all the config files and their purposes etc - lack of documentation at the time didnt help either.
That said, its probably one of the very few (if not the one) frameworks based on java available out there, there is hardly any choice for Java developers in that respect. PHP on the other hand has a few "ofbiz" like frameworks/packages available. My 2 cents.
|
In reply to this post by Hunter Peress-7
there is interactive debuggers for the construct of xml.
they read the xsd and allow you build xml files pretty fast. the hard part as in any language is understanding the language. the Mini language uses the xml construct so xml is not the language. Hunter Peress sent the following on 7/30/2008 5:00 PM: > XML is difficult language to program in. There are no interactive XML > debuggers as there are for Java. There are thousands of lines of actual > procedural programs written in XML inside of Ofbiz. So how is this not a > risk for choosing Ofbiz? Preferably members of the community that do no > have consulting companies formed around the product can voice their > opinion. > > > > Thanks. > > > > > > > > -------------------------------------------------------- > > Hunter Peress > > e: [hidden email] > > w: www.mixonic.com > > p: 888-464-9664 ext. 134 or > p: 415-375-8258 ext. 134 > > > > |
In reply to this post by Hunter Peress-7
I have no problem dealing with XMLs inside Ofbiz tho more annotations would
be most helpful. Ian On Thu, Jul 31, 2008 at 8:00 AM, Hunter Peress <[hidden email]> wrote: > XML is difficult language to program in. There are no interactive XML > debuggers as there are for Java. There are thousands of lines of actual > procedural programs written in XML inside of Ofbiz. So how is this not a > risk for choosing Ofbiz? Preferably members of the community that do no > have consulting companies formed around the product can voice their > opinion. > > > > Thanks. |
https://issues.apache.org/jira/browse/OFBIZ-1387
for some history. ian tabangay sent the following on 7/30/2008 10:35 PM: > I have no problem dealing with XMLs inside Ofbiz tho more annotations would > be most helpful. > > Ian > > On Thu, Jul 31, 2008 at 8:00 AM, Hunter Peress <[hidden email]> wrote: > >> XML is difficult language to program in. There are no interactive XML >> debuggers as there are for Java. There are thousands of lines of actual >> procedural programs written in XML inside of Ofbiz. So how is this not a >> risk for choosing Ofbiz? Preferably members of the community that do no >> have consulting companies formed around the product can voice their >> opinion. >> >> >> >> Thanks. > |
In reply to this post by Hunter Peress-7
When searching for a bug I do find it helpful to be able to be able to
step through the code, but in terms of actually writing code I don't think you are more likely to create bugs while using minilang than you are with java and as Adrian mentioned you can use the log element to track values. Quite often I purposely roll the transaction back (<transaction-rollback/>) at the end of a simple method that I want to test so that I can run it over and over without any data being persisted. While doing this I can add and remove code and logs without having to stop the server, rebuild and restart it again. Regards Scott 2008/7/31 Hunter Peress <[hidden email]>: > XML is difficult language to program in. There are no interactive XML > debuggers as there are for Java. There are thousands of lines of actual > procedural programs written in XML inside of Ofbiz. So how is this not a > risk for choosing Ofbiz? Preferably members of the community that do no > have consulting companies formed around the product can voice their > opinion. > > > > Thanks. > > > > > > > > -------------------------------------------------------- > > Hunter Peress > > e: [hidden email] > > w: www.mixonic.com > > p: 888-464-9664 ext. 134 or > p: 415-375-8258 ext. 134 > > > > |
Administrator
|
Hi Scott,
From: "Scott Gray" <[hidden email]> > When searching for a bug I do find it helpful to be able to be able to > step through the code, but in terms of actually writing code I don't > think you are more likely to create bugs while using minilang than you > are with java and as Adrian mentioned you can use the log element to > track values. Hunter : also Minilang comes with a *complete* auto-completion documentation. Of course you will need an auto-completion capable XML editor, most of them are now. > Quite often I purposely roll the transaction back > (<transaction-rollback/>) at the end of a simple method that I want > to test so that I can run it over and over without any data being > persisted. While doing this I can add and remove code and logs > without having to stop the server, rebuild and restart it again. Interesting creative tip Scott, thanks to share Jacques > Regards > Scott > > 2008/7/31 Hunter Peress <[hidden email]>: >> XML is difficult language to program in. There are no interactive XML >> debuggers as there are for Java. There are thousands of lines of actual >> procedural programs written in XML inside of Ofbiz. So how is this not a >> risk for choosing Ofbiz? Preferably members of the community that do no >> have consulting companies formed around the product can voice their >> opinion. >> >> >> >> Thanks. >> >> >> >> >> >> >> >> -------------------------------------------------------- >> >> Hunter Peress >> >> e: [hidden email] >> >> w: www.mixonic.com >> >> p: 888-464-9664 ext. 134 or >> p: 415-375-8258 ext. 134 >> >> >> >> > |
In reply to this post by Hunter Peress-7
My opinion for this is : when you start work in a new language it seems
difficult, but once you get into it ....It becomes easy. Its really a good language which needs less efforts to learn. It really helps a new developers to understand it when they start work in OFBiz. I completely agree to one thing this needs a bit of understanding with xsds, that makes it easier. -- Thanks & Regards Pranay Pandey Hunter Peress wrote: > XML is difficult language to program in. There are no interactive XML > debuggers as there are for Java. There are thousands of lines of actual > procedural programs written in XML inside of Ofbiz. So how is this not a > risk for choosing Ofbiz? Preferably members of the community that do no > have consulting companies formed around the product can voice their > opinion. > > > > Thanks. > > > > > > > > -------------------------------------------------------- > > Hunter Peress > > e: [hidden email] > > w: www.mixonic.com > > p: 888-464-9664 ext. 134 or > p: 415-375-8258 ext. 134 > > > > > |
The more important thing for a developer is that OFBiz provide flexibility
to write down code either in Java Or Mini Lang. In my opinion Simple Method is very easy if you have a good command on XSD's. So if you don't know about XSD's then again its not a big deal. Here is the document on XSD's that takes only 2 hours to get a good idea on the concept behind it. http://www.w3schools.com/Schema/default.asp On Thu, Jul 31, 2008 at 12:10 PM, Pranay Pandey < [hidden email]> wrote: > My opinion for this is : when you start work in a new language it seems > difficult, but once you get into it ....It becomes easy. > > Its really a good language which needs less efforts to learn. It really > helps a new developers to understand it when they start work in OFBiz. > I completely agree to one thing this needs a bit of understanding with > xsds, that makes it easier. > > -- > Thanks & Regards > > Pranay Pandey > > > > > Hunter Peress wrote: > >> XML is difficult language to program in. There are no interactive XML >> debuggers as there are for Java. There are thousands of lines of actual >> procedural programs written in XML inside of Ofbiz. So how is this not a >> risk for choosing Ofbiz? Preferably members of the community that do no >> have consulting companies formed around the product can voice their >> opinion. >> >> >> Thanks. >> >> >> >> >> -------------------------------------------------------- >> >> Hunter Peress >> >> e: [hidden email] >> >> w: www.mixonic.com >> >> p: 888-464-9664 ext. 134 or p: 415-375-8258 ext. 134 >> >> >> >> >> > > > > > -- Ashish Vijaywargiya Indore (M.P), India http://en.wikipedia.org/wiki/Indore |
Free forum by Nabble | Edit this page |