473,581 Members | 2,783 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

JavaScript GUI library idea

Hi,

I've been asking questions about library design over the last week and
would like to get feedback on my overall idea for a JavaScript GUI
library. I need a nice GUI library so there is a good chance I will
write this as I need new widgets. I haven't found anything like this
and I'm surprised/disapointed this doesn't already exist. My library
prototype works nicely. I think parts of these ideas are not commonly
used for JavaScript library development and before I dive in too deeply
any experienced advice might make my efforts a lot better.

While trying to develop a rich GUI for a web app backend I started
needing a large set of GUI widgets that behaved and were coded
similarly. Things like flyout menus, drop down menubars, tree menus,
adjustable table widths, spinners...all the things that are in Java
Swing or other GUI widget libraries. Yes I know all of these things
exist individually as JavaScripts but I would like to build a library
that uses a class hierarchy structure and inheritance to take advantage
of all the nice OOP ideas of encapsulation etc. Certainly this library
will be different than a desktop app GUI library since HTML, CSS and
the browser already provide a lot of what is needed (<ul>'s for menus,
<table> for tables, all sorts of font display stuff, some form
elements). In JavaScript we are adding functionality on top of what the
browser already gives us.

This could end up being a big library but if each class is in it's own
file and the class hierarchy is known then people could string together
only the pieces they need. I would like a develop a way to automate
this step. Something like compiling one JavaScript file with all you
need for your page from the big library.

For JavaScript inheritance I want to use these ideas
http://www.kevlindev.com/tutorials/j...t/inheritance/

I will use one namespace for everything. My library will not interfere
with other libraries.

No direct extending of Function or Array and breaking stuff like
Prototype.js does. Instead I will subclass these as necessary and
extend in the subclass. Directly extending Function or Array would not
go well with my namespace requirement.

No monolithic support script like Prototype.js that tries to turn
JavaScript into Ruby or Python or whatever. Just JavaScript.

All machinery CSS (the stuff that makes the items work eg. display:none
or display:block) inserted with JavaScript and the DOM into the tag's
style elements so that they have specificity 1,0,0,0. This way a user
of the library cannot override without using !important in their CSS
rules.

Separation of machinery CSS and the rest of the JavaScript with the
idea that every change to a DOM element's style attribute is and
"effect". So all the effects will be tucked away nicely in a single
Effects object. This one object will be the only place to look for
browser specific hacks. Hacks can be reused by composite effects.

A default set of CSS files for the pretty stuff that can be overridden
as desired by the library user in their own style sheets. This has
lowest possible specificity so these rules are easily overridden.

Two library interfaces. One advanced interface that allows access to
widget options through a single line of JavaScript per widget.

<head>
<script type="text/javascript" src="seriousWid gets.js"></script>
</head>
<body>
<ul id="myMenuBar" >
<li>item 1<li>
<li>item 2<li>
<ul>
<script>
var my_menu_bar = new
Serious.MenuBar (document.getEl ementById("myMe nuBar"),
{option1:value1 ,
option2:value2} );
</script>
</body>

A second interface, a completely non-obtrusive facade for those who
want to avoid JavaScript at all costs and have widgets that function in
standard ways. Appearance still easily overridden with CSS.

<head>
<script type="text/javascript" src="easyWidget s.js"></script>
</head>
<body>
<ul class="easyMenu Bar">
<li>item 1<li>
<li>item 2<li>
<ul>
</body>

Any thoughts, ideas, cautions or warnings appreciated.

Thanks,
Peter

Mar 25 '06 #1
21 6038
pe**********@gm ail.com wrote:
I've been asking questions about library design over the last week and
would like to get feedback on my overall idea for a JavaScript GUI
library. I need a nice GUI library so there is a good chance I will
write this as I need new widgets. I haven't found anything like this
and I'm surprised/disapointed this doesn't already exist. My library
prototype works nicely. I think parts of these ideas are not commonly
used for JavaScript library development and before I dive in too deeply
any experienced advice might make my efforts a lot better.
It does not work without client-side script support which is its major flaw.
While trying to develop a rich GUI for a web app backend I started
needing a large set of GUI widgets that behaved and were coded
similarly. Things like flyout menus, drop down menubars, tree menus,
adjustable table widths, spinners...all the things that are in Java
Swing or other GUI widget libraries.
XUL and HTA exist.
Yes I know all of these things exist individually as JavaScripts but I
would like to build a library that uses a class hierarchy structure and
inheritance to take advantage of all the nice OOP ideas of encapsulation
etc.
Unless .NET or SpiderMonkey 2.0 is a requirement, you can forget about
classes.

<URL:http://javascript.croc kford.com/inheritance.htm l>
Certainly this library will be different than a desktop app GUI library
since HTML, CSS and the browser already provide a lot of what is needed
(<ul>'s for menus, <table> for tables, all sorts of font display stuff,
some form elements).
You are misunderstandin g a Web browser as an application platform.
In JavaScript we are adding functionality on top of what the browser
already gives us.
Which is why graceful degradation is possible.
[...]
For JavaScript inheritance I want to use these ideas
http://www.kevlindev.com/tutorials/j...t/inheritance/
Factually wrong.
I will use one namespace for everything.
Unless .NET or SpiderMonkey 2.0 is a requirement, you can forget about
namespaces.
My library will not interfere with other libraries.
You cannot ensure that.
[...]
All machinery CSS (the stuff that makes the items work eg. display:none
or display:block) inserted with JavaScript and the DOM into the tag's
style elements so that they have specificity 1,0,0,0. This way a user
of the library cannot override without using !important in their CSS
rules.
[...]
<head>
<script type="text/javascript" src="seriousWid gets.js"></script>
</head>
<body>
<ul id="myMenuBar" >
<li>item 1<li>
<li>item 2<li>
<ul>
<script>
var my_menu_bar = new
Serious.MenuBar (document.getEl ementById("myMe nuBar"),
{option1:value1 ,
option2:value2} );
</script>
</body>
This feature, which does not allow for graceful degradation, is required
only for current IEeeks, and hopefully not for its future versions. CSS
can do the work in all other UAs, and allows for graceful degradation.
A second interface, a completely non-obtrusive facade for those who
want to avoid JavaScript at all costs and have widgets that function in
standard ways. Appearance still easily overridden with CSS.
Nonsense. Both birds can all be killed with one stone.
Any thoughts, ideas, cautions or warnings appreciated.


[x] done
PointedEars
Mar 25 '06 #2
PointedEars,

Thanks for the reply. I'm interested in a bit of expansion on the
things you mentioned.
Thomas 'PointedEars' Lahn wrote:
Peter Michaux wrote: It does not work without client-side script support which is its major flaw.
I'm requiring the user has a browser released in the last couple years
and have turned javascript on. Is that unreasonable for a javascript
library? Do you consider all of your scripts as "majorly flawed"?
Perhaps I missed your point.
XUL and HTA exist.
These look specific to Mozilla and IE, respectively. If that is true it
doesn't cut it for what I want to do.
<URL:http://javascript.croc kford.com/inheritance.htm l>
Thanks for the link.
For JavaScript inheritance I want to use these ideas
http://www.kevlindev.com/tutorials/j...t/inheritance/


Factually wrong.


Why is it factually wrong? I am very interested in justified criticisms
of this method.
Unless .NET or SpiderMonkey 2.0 is a requirement, you can forget about
namespaces.


I mean simulated namespaces like
http://blog.dreamprojections.com/arc...12/27/450.aspx
[...]
All machinery CSS (the stuff that makes the items work eg. display:none
or display:block) inserted with JavaScript and the DOM into the tag's
style elements so that they have specificity 1,0,0,0. This way a user
of the library cannot override without using !important in their CSS
rules.
[...]
<head>
<script type="text/javascript" src="seriousWid gets.js"></script>
</head>
<body>
<ul id="myMenuBar" >
<li>item 1<li>
<li>item 2<li>
<ul>
<script>
var my_menu_bar = new
Serious.MenuBar (document.getEl ementById("myMe nuBar"),
{option1:value1 ,
option2:value2} );
</script>
</body>


This feature, which does not allow for graceful degradation, is required
only for current IEeeks, and hopefully not for its future versions. CSS
can do the work in all other UAs, and allows for graceful degradation.


"IEeeks"? Don know that one.

Why does this code not allow for graceful degradation?
A second interface, a completely non-obtrusive facade for those who
want to avoid JavaScript at all costs and have widgets that function in
standard ways. Appearance still easily overridden with CSS.


Nonsense. Both birds can all be killed with one stone.


The reason for the two interfaces is efficiency. If a user will not use
the easyWidgets interface then there is no point in having the
javascript search through the html for tags with className including
"easyMenuBa r" etc.

Thanks,
Peter

Mar 25 '06 #3
pe**********@gm ail.com wrote:
Thomas 'PointedEars' Lahn wrote:
Peter Michaux wrote:
It does not work without client-side script support which is its major
flaw.
I'm requiring the user has a browser released in the last couple years
and have turned javascript on. Is that unreasonable for a javascript
library? Do you consider all of your scripts as "majorly flawed"?
Perhaps I missed your point.


Requiring a recent browser, and requiring it to have client-side script
support enabled are two different things. Especially with IEeek (see
below) and RadioActiveX (I think you get the idea). We really discussed
this ad nauseam here before. Search the archives about that, and search
them for UI library discussions. You are by far not the first person
(here) who thought of this, tried it and, inevitably, failed. Reading that
will probably help you investing your time in something that makes more
sense.
> For JavaScript inheritance I want to use these ideas
> http://www.kevlindev.com/tutorials/j...t/inheritance/


Factually wrong.


Why is it factually wrong? I am very interested in justified criticisms
of this method.


For example, there are no classes and no subclasses in the languages
supported by the execution environments you target. And the init()
approach, probably copied without minimum clue from the Prototype junk
code, is nonsense. The language already has constructors for that.
Unless .NET or SpiderMonkey 2.0 is a requirement, you can forget about
namespaces.


I mean simulated namespaces like
http://blog.dreamprojections.com/arc...12/27/450.aspx


As I said, those are not namespaces. Using a user-defined container
object for other user-defined objects is a better approach than declaring
everything global, that is for sure. But there is no guarantee that there
will be no interference with other, unknown libraries. The dynamic nature
of ECMAScript 1-3 implementations does not allow for such restrictions.
> [...]
> All machinery CSS (the stuff that makes the items work eg. display:none
> or display:block) inserted with JavaScript and the DOM into the tag's
> style elements so that they have specificity 1,0,0,0. This way a user
> of the library cannot override without using !important in their CSS
> rules.
> [...]
> <head>
> <script type="text/javascript" src="seriousWid gets.js"></script>
> </head>
> <body>
> <ul id="myMenuBar" >
> <li>item 1<li>
> <li>item 2<li>
> <ul>
> <script>
> var my_menu_bar = new
> Serious.MenuBar (document.getEl ementById("myMe nuBar"),
> {option1:value1 ,
> option2:value2} );
> </script>
> </body>


This feature, which does not allow for graceful degradation, is required
only for current IEeeks, and hopefully not for its future versions. CSS
can do the work in all other UAs, and allows for graceful degradation.


"IEeeks"? Don know that one.


IEs. User agents based on Microsoft Internet Explorer. Its layout engine
is this badly borken and its API is this flawed that some people, including
me, tend to think "Eeek" when talking about developing for it. And since
IE7 is not going to be released for Windows 2000 and earlier, it is
probably going to stay that way.
Why does this code not allow for graceful degradation?


Because there will be no menu without client-side script support.
Which can be easily avoided with a design approach that took more
consideration to develop.
> A second interface, a completely non-obtrusive facade for those who
> want to avoid JavaScript at all costs and have widgets that function in
> standard ways. Appearance still easily overridden with CSS.


Nonsense. Both birds can all be killed with one stone.


The reason for the two interfaces is efficiency. If a user will not
use the easyWidgets interface then there is no point in having the
javascript search through the html for tags with className including
"easyMenuBa r" etc.


Efficiency and maintenance considerations are the reason why this should be
done with one script version, if that. One version that uses client-side
scripting only if necessary in the first place. It has been done before.

And, reconsidering this, for more recent IE versions apparently it can
be done without client-side scripting, too. The most recent and most
convincing example posted here that I can remember is

<URL:http://www.cssplay.co. uk/menus/dd_valid.html>
HTH

PointedEars
Mar 25 '06 #4

Thomas 'PointedEars' Lahn wrote:
Requiring a recent browser, and requiring it to have client-side script
support enabled are two different things. Especially with IEeek (see
below) and RadioActiveX (I think you get the idea). We really discussed
this ad nauseam here before. Search the archives about that, and search
them for UI library discussions.
Unfortunately I did not have a fruitful search with those key words.

You are by far not the first person (here) who thought of this,
tried it and, inevitably, failed.
Failed due to developing for a moving target of browser support?

Reading that will probably help you investing your time in
something that makes more sense.
What would make more sense for a GUI widget library? Or do you think
JavaScript GUI widgets are a waste of time?

For JavaScript inheritance I want to use these ideas
http://www.kevlindev.com/tutorials/j...t/inheritance/

Factually wrong.


Why is it factually wrong? I am very interested in justified criticisms
of this method.


For example, there are no classes and no subclasses in the languages
supported by the execution environments you target. And the init()
approach, probably copied without minimum clue from the Prototype junk
code, is nonsense. The language already has constructors for that.


I've tried the method on this page. It works nicely. It seems very
native JavaScript using prototype inheritance. I still don't understand
what you object to in this method.

Why does this code not allow for graceful degradation?


Because there will be no menu without client-side script support.


I'm developing for an environment with client-side script support. So
that shouldn't be a problem. I get the feeling that you think using
JavaScript is a bad idea.

Which can be easily avoided with a design approach that took more
consideration to develop.
You mean there is always an alternative to using JavaScript that should
be used instead for GUI widgets?

By design approach do you mean graphic design? If so I can see your
point for menus but not for all GUI widgets. I think that some widgets
just need JavaScript (eg. a slider). If you mean JavaScript code design
then I don't know what you mean.

And, reconsidering this, for more recent IE versions apparently it can
be done without client-side scripting, too. The most recent and most
convincing example posted here that I can remember is

<URL:http://www.cssplay.co. uk/menus/dd_valid.html>


Very interesting menu design. This seems to use a lot of comments in
the html document. Since I'll be using/requiring JavaScript anyway I
don't see the harm in using JavaScript to run the menus.
Peter

Mar 26 '06 #5
pe**********@gm ail.com said the following on 3/25/2006 8:30 PM:
Thomas 'PointedEars' Lahn wrote:
Requiring a recent browser, and requiring it to have client-side script
support enabled are two different things. Especially with IEeek (see
below) and RadioActiveX (I think you get the idea). We really discussed
this ad nauseam here before. Search the archives about that, and search
them for UI library discussions.
Unfortunately I did not have a fruitful search with those key words.


Welcome to comp.lang.javas cript and Thomas. :-X
You are by far not the first person (here) who thought of this,
tried it and, inevitably, failed.
Failed due to developing for a moving target of browser support?


Inevitable failure is always the result of scripting. It is, be default,
part of it's nature.
Reading that will probably help you investing your time in
something that makes more sense.
What would make more sense for a GUI widget library? Or do you think
JavaScript GUI widgets are a waste of time?


Thomas thinks that anything that wasn't his idea is a waste of time.
> For JavaScript inheritance I want to use these ideas
> http://www.kevlindev.com/tutorials/j...t/inheritance/
Factually wrong.
Why is it factually wrong? I am very interested in justified criticisms
of this method. For example, there are no classes and no subclasses in the languages
supported by the execution environments you target. And the init()
approach, probably copied without minimum clue from the Prototype junk
code, is nonsense. The language already has constructors for that.


I've tried the method on this page. It works nicely. It seems very
native JavaScript using prototype inheritance. I still don't understand
what you object to in this method.


He seems to be stuck on your use of the word "classes" in Javascript. It
doesn't have classes but you can come real close to emulating them.
Why does this code not allow for graceful degradation?

Because there will be no menu without client-side script support.


I'm developing for an environment with client-side script support. So
that shouldn't be a problem. I get the feeling that you think using
JavaScript is a bad idea.


Again, meet Thomas. His ideas are not to help people but to merely point
out any/all flaws in any idea that isn't his.
Which can be easily avoided with a design approach that took more
consideration to develop.
You mean there is always an alternative to using JavaScript that should
be used instead for GUI widgets?

By design approach do you mean graphic design? If so I can see your
point for menus but not for all GUI widgets. I think that some widgets
just need JavaScript (eg. a slider). If you mean JavaScript code design
then I don't know what you mean.

And, reconsidering this, for more recent IE versions apparently it can
be done without client-side scripting, too. The most recent and most
convincing example posted here that I can remember is

<URL:http://www.cssplay.co. uk/menus/dd_valid.html>


Very interesting menu design.


Yes indeed.
IE: Tools>Internet Options>Accessi bility>Ignore X 3

Menu looks nice then. But it's broken. So much for CSS degradation huh?

And Firefox? Disable CSS via any of the many add-ons and that page
becomes horrendous.

My point? Anything can be broken....
This seems to use a lot of comments in the html document.
Since I'll be using/requiring JavaScript anyway I don't see
the harm in using JavaScript to run the menus.


There isn't. Contrary to most people here's belief the trend on the web
is *towards* scripting, not away from it.

"Graceful Degradation" is one of those buzz terms people like to use in
order to argue against anything they don't agree with.

--
Randy
comp.lang.javas cript FAQ - http://jibbering.com/faq & newsgroup weekly
Javascript Best Practices - http://www.JavascriptToolbox.com/bestpractices/
Mar 26 '06 #6
pe**********@gm ail.com writes:
I'm developing for an environment with client-side script support.
That's the problem. In this group, the default assumption, unless
something else is said, is that the scripting is for web pages
for the internet. The internet as a whole is not an environment
where client-side script support can be assumed. The percentages
of people browsing without Javascript varies. TheCounter.com has
had numbers up to 9% late last year, but is currently at 3%.
So that shouldn't be a problem. I get the feeling that you think
using JavaScript is a bad idea.


Javascript is a great idea for *enhancing* pages, but if the page
*depends* on Javascript, then there are people who cannot use it at
all. Graceful degredation would ensure that these people can still
use the page, they just don't have the bells and whistles of
Javascript enhancements.

/L
--
Lasse Reichstein Nielsen - lr*@hotpop.com
DHTML Death Colors: <URL:http://www.infimum.dk/HTML/rasterTriangleD OM.html>
'Faith without judgement merely degrades the spirit divine.'
Mar 26 '06 #7
Lasse,

Thanks for the reply.

Lasse Reichstein Nielsen wrote:
pe**********@gm ail.com writes:
I'm developing for an environment with client-side script support.


That's the problem. In this group, the default assumption, unless
something else is said, is that the scripting is for web pages
for the internet. The internet as a whole is not an environment
where client-side script support can be assumed. The percentages
of people browsing without Javascript varies. TheCounter.com has
had numbers up to 9% late last year, but is currently at 3%.


I wonder what those 3% are doing on the web? I have a feeling that
anyone who wants to use my app with the dhtml widgets will have
JavaScript running in thier browser. Otherwise...

<noscript>
<strong>Turn on JavaScript.</strong>
</noscript>
So that shouldn't be a problem. I get the feeling that you think
using JavaScript is a bad idea.


Javascript is a great idea for *enhancing* pages, but if the page
*depends* on Javascript, then there are people who cannot use it at
all.


I understand this argument. Mission critcal pages like an ecommerce
store front probably shouldn't have JavaScript dependence.

Who cannot use JavaScript? Not to be an instigator but if this argument
is taken to an only slightly larger level we could argue that we should
not write <form>s with <button>, <select> etc tags because people
without an html browser will not be able to use the form. By writing
for the web we are making assumptions. As time goes by can't we make
more demanding assumptions as new techonology adoption improves? At
only 3%, I think we are at a point where we can assume JavaScript is on
for users of many types of web pages.

Better to make a rich GUI page depend on JavaScript or Flash? If the
JavaScript world doesn't think the answer is JavaScript then Flash will
take over. I think a rich GUI library is really needed for JavaScript.
I know that I need one. Otherwise I'm going to start writing Flash/Flex
apps or Java Swing desktop apps that talk to my web server with SOAP.

Peter

Mar 26 '06 #8
pe**********@gm ail.com writes:
PointedEars,

Factually wrong.


Why is it factually wrong? I am very interested in justified criticisms
of this method.


I think the page does a decent job of explaining what it does, but
what it does is a somewhat roundabout way of doing what it means to do :)

I see no need for the init function to begin with. If you want to
create a "subclass", you want the constructor function to call the
"superclass " constructor and you want the objects to inherit each
other. Introducing an "init" function that you can inherit is missing
the point that the constructor already is a function.

His fiddling with using a no-argument call to the constructor to
create a clone of the prototype object is just a hack. There are
easier ways to create clones of objects.

E.g.
----
function Person(first,la st){
this.first = first;
this.last = last;
}
Person.prototyp e.toString = function toString() {
return this.first + " " + this.last;
};

function Employee(first, last, id) {
this.superclass (this, first, last);
this.id = id;
}
Employee.protot ype = clone(Person.pr ototype);
Employee.protot ype.constructor = Employee;
Employee.protot ype.superclass = Person;
Employee.protot ype.toString = function toString() {
return this.id + ":" + this.super.toSt ring.call(this) ;
};

function Manager(first, last, id, department) {
this.superclass (first, last, id);
this.department = department;
}
Manager.prototy pe = clone(Employee. prototype);
Manager.prototy pe.constructor = Manager;
Manager.prototy pe.superclass = Employee;
Manager.prototy pe.toString = function toString() {
return this.super.toSt ring.call(this) + " manages " + this.department ;
};

function clone(prototype ) {
function dummy(){};
dummy.prototype = prototype;
var clone = new dummy();
clone.super = prototype;
return clone;
}
----

You could even make an "extend" function for doing most of this work:
---
/**
* Makes constructor extend superclass by inheriting
* from superclass.prot otype and extending its own
* prototype with "superclass " referring to superclass
* and "super" referring to "superclass.pro totype".
*/
function extend(construc tor, superclass) {
function dummy(){};
dummy.prototype = superclass.prot otype;
var prototype = new dummy();
prototype.const ructor = constructor;
prototype.super class = superclass;
prototype.super = superclass.prot otype;
constructor.pro totype = prototype;
return constructor;
}

function Person(first, last) {
this.first = first;
this.last = last;
}
Person.prototyp e.toString = function toString() {
return this.first + " " + this.last;
};
function Employee(first, last, id) {
this.superclass (first, last);
this.id = id;
}
extend(Employee , Person);
Employee.protot ype.toString = function toString() {
return this.id + ":" + this.super.toSt ring.call(this) ;
};
----
I'm also not convinced that trying to program class-based in a
prototype-based language is the best way to work. There are
plenty of people trying to build class scaffoldings around
Javascript, but learning to program prototype based is probably
better in the long run.

/L
--
Lasse Reichstein Nielsen - lr*@hotpop.com
DHTML Death Colors: <URL:http://www.infimum.dk/HTML/rasterTriangleD OM.html>
'Faith without judgement merely degrades the spirit divine.'
Mar 26 '06 #9
Lasse,

Thank you for your reply. Very interesting. I will study this in more
detail.
I'm also not convinced that trying to program class-based in a prototype-based language is the best way to work.


This sounds very reasonable. How is one to learn and develop intution
about the best way to work in a prototype based language? I find the
idea very foreign even though I've been playing with JavaScript for
months. I'm sure this problem plagues many people used to Java, C++,
Ruby, etc when they start learning JavaScript. This problem probably
causes a lot of bad JavaScript being written.

What would this example of people, employee and manager look like in a
more prototype inheritance way?

Thanks,
Peter

Mar 26 '06 #10

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
2385
by: sagar | last post by:
Hello friends, I am developing a AJAX based IM application. For this is need a Javascript Library to built iframe/div based dragable windows in a page. I will need multiple windows (for chat, offline users, online users) in the same page. Can some one suggest a Javascript library which can be used for my project.
1
1923
by: leifwessman | last post by:
Google Analytics are using a encrypted JavaScript library to send and read 1st party cookies using. The JS library can be found here http://www.google-analytics.com/urchin.js Is there a free JS library available somewhere that mimics this behaviour? I would be very interested in how Google Analytics does the magic... More info here:...
17
121655
by: kartheek | last post by:
hi friends, can any one out here help me by giving me the code to connect to an MSACCESS database using javascript.
61
3050
by: shapper | last post by:
Hello, I would like to use a javascript library to simplify my coding process. I know a few: JQuery, Dojo, Yahoo UI, ... Which one do you advice me to use? Thanks, Miguel
12
8915
by: pantagruel | last post by:
Hi, I'm thinking of making a WScript based JavaScript library, I can think of some specific non-browser specific scripting examples that should probably make it in, like Crockford's little JavaScripter, can anyone think of anything else. Is anyone familiar with anything similar already done. Things that I am thinking that to provide are:
1
1574
by: Lobo | last post by:
I'm wondering how expensive and (in)efficient is to use Collection type javascript library functions (similar to using Blocks), instead of repeating the 'for' iterator over and over across a large application. I'm afraid that instantiating javascript Functions to act as Blocks in these cases might require many more internal javascript...
3
2332
by: SagarDoke | last post by:
i am using ext js - javascript library. i wrote a program using ext class. when i was executing it, it was giving error, that ext class is not found. then how can i set the path of ext class. or there is any other way to implement this js file?
24
2176
by: Aaron Gray | last post by:
From what I have been looking at for Javascript library development, browsers that support Javascript 1.5/ECMAScript 3/JScript 5.5 looks like the base level to pitch at. Anyone add anything ? Aaron
0
7804
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language...
0
8156
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. ...
0
8310
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that...
1
7910
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For...
0
8180
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the...
1
5681
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes...
0
3809
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in...
0
3832
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
1144
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.