Our code is ridden with (not shared) best practices. Best regards,
Pierre Smits *ORRTIZ.COM <http://www.orrtiz.com>* Services & Solutions for Cloud- Based Manufacturing, Professional Services and Retail & Trade http://www.orrtiz.com On Thu, Apr 16, 2015 at 1:24 PM, Adrian Crum < [email protected]> wrote: > True, there are widget elements that allow you to use HTML-specific > artifacts, but those were created as a workaround. > > I don't agree that "no one is practicing this." There have been efforts in > the past where FreeMarker templates were replaced with widgets. Also, there > are many instances in the project where widgets are used to produce PDF and > CSV files - so someone practiced "generic layout only" to create those > files. > > Throughout my presentation, I used examples from the current trunk to > demonstrate how NOT to do things. So, I don't believe that the current > trunk is a good representation of best practices. > > > Adrian Crum > Sandglass Software > www.sandglass-software.com > > On 4/16/2015 12:13 PM, Taher Alkhateeb wrote: > >> Hi Adrian, >> >> I have a comment on your presentation. You have stated below slide 10 the >> following: >> >> "A common mistake new developers make is assuming these XML screen >> definitions will only output HTML – so they embed markup and JavaScript in >> the XML. That should never be done! These XML files describe a generic >> layout only." >> >> However, the tag <platform-specific><html><html-template >> location="..."></html></platform-specific> exists in thousands of >> locations >> all over the framework, core applications and specialpurpose. So it seems >> like the intention you mentioned above is not really applicable in OFBiz. >> >> I am wondering if this statement is realistic or applicable given that it >> seems no one is really practicing this and using OFBiz as an HTML platform >> more than anything else. I would appreciate hearing your thoughts on that. >> >> Cheers, >> >> Taher Alkhateeb >> >> On Thu, Apr 16, 2015 at 1:41 PM, Adrian Crum < >> [email protected]> wrote: >> >> Here is the slideshow from my presentation at ApacheCon: >>> >>> http://www.sandglass-software.com/products/sandglass/ >>> documents/2015_ApacheCon_Reduced.pdf >>> >>> -- >>> Adrian Crum >>> Sandglass Software >>> www.sandglass-software.com >>> >>> >>
