CodeCharge Studio
search Register Login  

Web Reporting

Visually create Web Reports in PHP, ASP, .NET, Java, Perl and ColdFusion.
CodeCharge.com

YesSoftware Forums -> CodeCharge Studio -> Wishes

 {JavaScript} form object similar to {header} form object

Print topic Send  topic

Author Message
dataobjx


Posts: 181
Posted: 04/15/2004, 9:27 AM

It goes without saying that one can plug JavaScript into each page.

But what I think would be beneficial is a CCS object [to encapsulate javascript] - much like the {header} but that the CCS IDE places between the <head>{javascript1}</head> sections.

The CCS IDE places the {header} tags after the </head> section, this 'form object' would place itself between the <head></head> tags.

In that way, one could create various self encapsulated "JavaScript Includes" - making it possible to keep all or the majority of the JavaScript encapsulated in one place rather than on every form.
_________________
www.DataObjx.net
www.mydigitalapps.com
View profile  Send private message
Philip
Posted: 07/01/2004, 6:12 AM

Yes!
Great idea.
Seems simple to implement and it keeps the code clean and easy to handle in a team environment.
For that matter, if YesSoftware could implement a JS IDE that would be wonderful. There's none out there thatI'maware of.
greg
Posted: 10/06/2004, 8:55 AM

You can just write your JS code in a file and add a line at the top of
you HTML file:

<script language="JavaScript" type="text/javascript"
src="mycode.js"></script>

very easy :)

Greg

dataobjx wrote:

> It goes without saying that one can plug JavaScript into each page.
>
> But what I think would be beneficial is a CCS object [to encapsulate
> javascript] - much like the {header} but that the CCS IDE places between the
> <head>{javascript1}</head> sections.
>
> The CCS IDE places the {header} tags after the </head> section, this 'form
> object' would place itself between the <head></head> tags.
>
> In that way, one could create various self encapsulated "JavaScript Includes" -
> making it possible to keep all or the majority of the JavaScript encapsulated
> in one place rather than on every form.
> _________________
> www.dataobjx.net
> Provider of Database Driven Applications
> ---------------------------------------
> Sent from YesSoftware forum
> http://forums.codecharge.com/
>
dataobjx


Posts: 181
Posted: 10/06/2004, 9:35 AM

Greg, I agree. You can do it that way.

However, when one creates such a file, one tends to stick everything or many things into the one file and this causes unnecessary overhead when one only wants to utilize a single function.

The way I propose, would allow you to create a library of individual JavaScript "Includes" or applets that you could plug in one or more as necessary.

The .js file is simply too bulky a method.
_________________
www.DataObjx.net
www.mydigitalapps.com
View profile  Send private message
greg
Posted: 10/06/2004, 9:41 AM

That's an interesting plugin to develop! A perfect opportunity to
practice what one can learn in the CCS Developer Magazine ;)

Greg

dataobjx wrote:

> Greg, I agree. You can do it that way.
>
> However, when one creates such a file, one tends to stick everything or many
> things into the one file and this causes unnecessary overhead when one only
> wants to utilize a single function.
>
> The way I propose, would allow you to create a library of individual JavaScript
> "Includes" or applets that you could plug in one or more as necessary.
>
> The .js file is simply too bulky a method.

Add new topic Subscribe to topic   


These are Community Forums for users to exchange information.
If you would like to obtain technical product help please visit http://support.yessoftware.com.

Web Database

Join thousands of Web developers who build Web applications with minimal coding.
CodeCharge.com

Home   |    Search   |    Members   |    Register   |    Login


Powered by UltraApps Forum created with CodeCharge Studio
Copyright © 2003-2004 by UltraApps.com  and YesSoftware, Inc.