|
|
|
|
![]() ![]() |
Oct 30 2004, 03:26 PM
Post
#11
|
|
|
Premium Member Group: [HOSTED] Posts: 336 Joined: 22-September 04 Member No.: 798 |
well, you sure as hell should keep in mind that some people have javascript disabled, which isn't as stupid as some might think.
so if your site depends on javascript, it sucks hehe. i use javascript for my login system (i calculate in md5 hash of my password before i post my form. like that, someone sniffing the network won't be able to get my password...), but only because i'm the only one who is supposed to log in anyway and i have javascript enabled, so that's no problem. dhtml.. nonono! |
|
|
|
Oct 30 2004, 06:41 PM
Post
#12
|
|
|
death Group: Members Posts: 268 Joined: 8-September 04 Member No.: 384 |
well i think that js has some good side and also a professional side like a client form validation before server side validation, it helps for some instances. and much more, i thought it's useless and evil but it's quite interesting
|
|
|
|
Oct 30 2004, 09:48 PM
Post
#13
|
|
|
Premium Member Group: [HOSTED] Posts: 224 Joined: 13-October 04 From: Belgium Member No.: 1,160 |
It has good ways of implementation and good concepts are possible with it, but the language itself is just a screwup. They should make a new client side language like it, and do it right this time.
|
|
|
|
Oct 30 2004, 11:19 PM
Post
#14
|
|
|
Premium Member Group: [HOSTED] Posts: 336 Joined: 22-September 04 Member No.: 798 |
hmz, what's so bad about javascript,, the languague?
|
|
|
|
Oct 31 2004, 09:22 AM
Post
#15
|
|
|
Premium Member Group: [HOSTED] Posts: 224 Joined: 13-October 04 From: Belgium Member No.: 1,160 |
|
|
|
|
Oct 31 2004, 02:19 PM
Post
#16
|
|
|
Premium Member Group: [HOSTED] Posts: 336 Joined: 22-September 04 Member No.: 798 |
sure, i knew all that. but why make another language. javascript itself is pretty good. it's the browsers and the users that make it sucky.
you could compare it to dynamite, which was invented to do good, and does the job very well, but people use it for the wrong purposes. most incompatibilities are because of the dom structure anyway, not because of javascript |
|
|
|
Oct 31 2004, 02:34 PM
Post
#17
|
|
|
Premium Member Group: [HOSTED] Posts: 224 Joined: 13-October 04 From: Belgium Member No.: 1,160 |
Well, there should be a standardised language designed and documented in such a way that it can almost not be extended further, that it provides in all basic needs, so that it needn't be extended further. The DOM structure should be rebuilt as well, true, learning from the mistakes that were revealed with this. But most importantly, two major things :
Faulty webpages shouldn't render. At all. Browsers should stick to the standards. If you create a language that provides in most basic DOM access needs, and all browsers use those standards, (even should they extend it further), then users using those standards alone will have webpages that Work. Nowadays, things aren't as easy as that. And those two statements I stated, are universal. Not just concearning clientside scripting, but also concearning CSS, HTML, SGML, etc.. If only W3C had the authority to penalise all browsers that didn't support the standards correctly. |
|
|
|
Oct 31 2004, 04:32 PM
Post
#18
|
|
|
death Group: Members Posts: 268 Joined: 8-September 04 Member No.: 384 |
you've forgot to mention about ECMAScript
it is the standard javascript version |
|
|
|
Nov 3 2004, 10:32 AM
Post
#19
|
|
|
Advanced Member Group: Members Posts: 160 Joined: 27-October 04 Member No.: 1,260 |
Plain HTML result is general no problem to most users but a little Javascript to add info like guide on a topic (click and expand will explaination, click again to hide it) will help to help users with slow connections (no need to reload the whole page again).
Like all other programs, if it is use wisely, it will be handy. Please bear in mind to use only small and basic/simple method scripts. Don't use more than 2 or 3 types of Javascript function in one page. Please comment, thanks people! |
|
|
|
Nov 3 2004, 12:05 PM
Post
#20
|
|
|
Premium Member Group: [HOSTED] Posts: 224 Joined: 13-October 04 From: Belgium Member No.: 1,160 |
That's where things go wrong, avalon, because alot of those kinds of scripts work in IE, for example, but fail in Opera or Mozilla / Firefox / ...
This is where you should be using CSS rather than JavaScript anyway. CSS alows for far more dynamic adjustments. Keeps things clean & easy & simple, whereas, if you look a JavaScript code..... it's all but clean, easy or simple. Not compared to CSS anyway. IE does have alot of difficulities with CSS, but I'd rather use a compliancy patch for IE (IE7) to fix IE, rather than JavaScript scripts to do that. |
|
|
|
![]() ![]() |
Similar Topics
| Topics | Topics | |
|---|---|---|
|
|
|
|
Lo-Fi Version | Time is now: 22nd November 2008 - 09:57 PM |