ofbiz-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Adrian Crum <adrian.c...@sandglass-software.com>
Subject Re: ApacheCon 2015
Date Thu, 16 Apr 2015 11:24:21 GMT
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

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 <
> adrian.crum@sandglass-software.com> 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

View raw message