Icon View Thread

The following is the text of the current message along with any replies.
Messages 1 to 10 of 10 total
Thread Opinions Regarding Splitting up the WebCtrls unit ??
Thu, Feb 5 2015 9:18 AMPermanent Link

Tim Young [Elevate Software]

Elevate Software, Inc.

Avatar

Email timyoung@elevatesoft.com

A quick survey for everyone.  The WebCtrls unit is becoming a bit unwieldy,
and I'm considering splitting it up into multiple units such as WebEdits,
WebContainers, etc.

Any opinions ?

Thanks,

Tim Young
Elevate Software
www.elevatesoft.com
Thu, Feb 5 2015 11:33 AMPermanent Link

Mark Brooks

Slikware

Avatar

"Tim Young [Elevate Software]" wrote:

>>A quick survey for everyone.  The WebCtrls unit is becoming a bit unwieldy,
>>and I'm considering splitting it up into multiple units such as WebEdits,
>>WebContainers, etc.

+1
Thu, Feb 5 2015 1:26 PMPermanent Link

Chris Holland

SEC Solutions Ltd.

Avatar

Team Elevate Team Elevate

I think that is a good idea.


Chris Holland
[Team Elevate]

On 05/02/2015 14:18, Tim Young [Elevate Software] wrote:
> A quick survey for everyone.  The WebCtrls unit is becoming a bit
> unwieldy, and I'm considering splitting it up into multiple units such
> as WebEdits, WebContainers, etc.
>
> Any opinions ?
>
> Thanks,
>
> Tim Young
> Elevate Software
> www.elevatesoft.com
Thu, Feb 5 2015 4:11 PMPermanent Link

Steve Gill

Avatar

<< A quick survey for everyone.  The WebCtrls unit is becoming a bit unwieldy,
and I'm considering splitting it up into multiple units such as WebEdits,
WebContainers, etc. >>

Makes sense to me.

= Steve
Fri, Feb 6 2015 3:51 AMPermanent Link

Uli Becker

Tim,

> Any opinions ?

Good idea - I like to clean up things Smile

Uli
Fri, Feb 6 2015 3:55 AMPermanent Link

Matthew Jones

Tim Young [Elevate Software] wrote:

> A quick survey for everyone.  The WebCtrls unit is becoming a bit
> unwieldy, and I'm considering splitting it up into multiple units
> such as WebEdits, WebContainers, etc.

A good idea - I looked at printing to learn, and realised the files
were full of stuff. I would also suggest you take an example of a
complex component and put everything to do with it in a single unit, so
it can be a sort of reference of "how to do something". People can then
take your unit, rename it and the components, and not worry about
duplicating something else. (Of course for a new from-scratch component
you'd start with the simpler file, but this would be a good advanced
"tutorial").
Fri, Feb 6 2015 4:58 AMPermanent Link

Rick

On 06/02/15 01:18, Tim Young [Elevate Software] wrote:
> A quick survey for everyone.  The WebCtrls unit is becoming a bit
> unwieldy, and I'm considering splitting it up into multiple units such
> as WebEdits, WebContainers, etc.
>
> Any opinions ?
>

If smaller units means less included in the resultant run-time which
means better performance then sounds like a great idea!

--
Rick
Fri, Feb 6 2015 8:18 AMPermanent Link

Raul

Team Elevate Team Elevate

On 2/5/2015 9:18 AM, Tim Young [Elevate Software] wrote:
> A quick survey for everyone.  The WebCtrls unit is becoming a bit
> unwieldy, and I'm considering splitting it up into multiple units such
> as WebEdits, WebContainers, etc.
>
> Any opinions ?

If you can split it up such a way that if one might not need all the
units (depending on controls used in app) it won't even be included in
javascript.

Otherwise (or if compiler handles this anyway at code level) logical by
function splitting as proposed makes sense.

Raul

Fri, Feb 6 2015 9:35 AMPermanent Link

Tim Young [Elevate Software]

Elevate Software, Inc.

Avatar

Email timyoung@elevatesoft.com

Rick,

<< If smaller units means less included in the resultant run-time which
means better performance then sounds like a great idea! >>

No, it doesn't affect the resultant JS size.  Only the referenced code
affects that.

Thanks,

Tim Young
Elevate Software
www.elevatesoft.com
Fri, Feb 6 2015 9:36 AMPermanent Link

Tim Young [Elevate Software]

Elevate Software, Inc.

Avatar

Email timyoung@elevatesoft.com

Raul,

<< Otherwise (or if compiler handles this anyway at code level) logical by
function splitting as proposed makes sense. >>

The compiler handles this anyway.  It's more a matter of making it easier on
the developer looking for things and not having to wade though 10,000+ lines
of code. Smile

Thanks,

Tim Young
Elevate Software
www.elevatesoft.com


Image