View Full Version : You have got to read this !...
pcbrainbuster
04-07-2007, 04:24 PM
Some bad words about DD in the last post -
http://www.webdeveloper.com/forum/showthread.php?t=144306
thetestingsite
04-07-2007, 04:28 PM
Wow, that last post is...just wow...:(
Not so sure about the stabbing ddadmin in the face, but it's common knowledge that most of the scripts here on DD are pretty badly written -- in fact even ddadmin knows it, he just hasn't got around to rewriting them yet.
How's about we have an organised rewrite-a-script week? Everyone pick a script per day, and rewrite it to be object-oriented (where applicable) and standards-compliant, and to work in as many different browsers with as many configurations as possible.
pcbrainbuster
04-07-2007, 04:36 PM
I could do it but it would probably be only working in IE (lol :), did you get it?)...
Just joking I'm sure I could do some some...
thetestingsite
04-07-2007, 04:37 PM
How's about we have an organised rewrite-a-script week? Everyone pick a script per day, and rewrite it to be object-oriented (where applicable) and standards-compliant, and to work in as many different browsers with as many configurations as possible.
That would be nice to do, I wouldn't mind working on that (when I get the time).
mburt
04-07-2007, 05:14 PM
Yeah... I know, I would too. I hate all of those context menu scripts for only IE. They annoy me.
pcbrainbuster
04-07-2007, 05:15 PM
How can a script annoy you ??? :confused:
techno_race
04-07-2007, 05:17 PM
:mad:
pcbrainbuster
04-07-2007, 05:19 PM
Who made you angry ?
techno_race
04-07-2007, 05:24 PM
ricp.
Then here's my entry for today: http://www.dynamicdrive.com/forums/showthread.php?p=85510. I've been meaning to submit this for ages, but never got around to doing a decent description for it :)
How can a script annoy you ???Quite easily, in much the way the majority of scripts on DD annoy ricp :) Once you get a sense for the elegance of code, you'll understand.
pcbrainbuster
04-07-2007, 07:20 PM
Well the only time I get anooyed by a script is when MINE don't work...
mburt
04-07-2007, 07:32 PM
...Were talking about how the code's written. Whether it's browser-specific, or uses ActiveX. Just different things that aren't standard, or aren't highly recommended.
I agree that not all the scripts here are ideal, but I think DD is great.
As far as the rewriting goes, I think it's a great idea.
mburt
04-07-2007, 08:09 PM
In fact:
http://www.dynamicdrive.com/forums/showthread.php?t=19432
Twey is recreating the max form length script.
Yeah, the idea is that you lot all pick a script to do as well :p
pcbrainbuster
04-07-2007, 09:59 PM
I might do it when I have time, for some reason i'm gonna make the script pad as good as I can make it...
djr33
04-07-2007, 10:56 PM
A lot of the scripts on DD are just-for-fun silly page effects. And some are cooler than that.
Really, there is a point to what was said, but insulting DD and by associating the forums is a bit much.
The forums and the site differ greatly in that the site is more for newbies, with lots of silly scripts and such, whereas the forums, though they have that too, are used for more advanced coding, etc.
I don't particularly like the site portion of DD, mostly because I'm not that into javascript in the first place. But if I wanted a script like that, that's where I would go, and I certainly won't be driven away from the forums because of the site, or anything.
pcbrainbuster
04-07-2007, 11:43 PM
Well, what I think is that the following web languages SHOULD be learnt by any one webmaster as they give a great balance of client and serve side performance -
HTML
CSS
JavaScript
PHP
Whats your viewpoint (everyone)?
I don't like PHP... it advocates reusing code a lot, and the way it intersperses the code in the HTML is detrimental to good design principles. That's not to say that good scripts can't be written with PHP, it's just that it tends to be harder, and PHP tends to set new programmers into bad habits. I recommend Python to newbies nowadays.
A good knowledge of HTML and CSS is vital, and Javascript, whilst optional, can be very useful.
pcbrainbuster
04-08-2007, 12:39 AM
Well, I didn't say that comments were needed but if you want to comment then you want to comment...
Once a wise man once said to me "Never Look At Two Fish In A Pond As Your Eyes Will Bleed"... And he told me what it ment !
boxxertrumps
04-08-2007, 12:46 AM
Never Look At Two Fish In A Pond As Your Eyes Will Bleed
What?
pcbrainbuster
04-08-2007, 12:49 AM
A wise man told me that with it's meaning, he was the best coder had ever seen as well (more better than Twey and mburt put together)!!!
djr33
04-08-2007, 01:02 AM
more better, eh?
mburt
04-08-2007, 01:03 AM
Yes thems' there coders' is more better then a wise man. (I'm pretending to be a hick)
pcbrainbuster
04-08-2007, 01:27 AM
It's ME !!! LOL :), I'm joking though don't take it seriously...
I was gettng board so I thought I'd make myself laugh...
Read djr33's reply, more better, eh :)...
mburt
04-08-2007, 01:33 AM
a wise man. (I'm pretending to be a hick)
Still, you. :p
tech_support
04-08-2007, 06:42 AM
How's about we have an organised rewrite-a-script week? Everyone pick a script per day, and rewrite it to be object-oriented (where applicable) and standards-compliant, and to work in as many different browsers with as many configurations as possible.
Cool idea.
Where shall we start? What scripts?
Doesn't really matter, just pick one. The more popular the better, I guess, but most of the really popular ones have already been rewritten by John. Make sure it's not one that's had its features incorporated into another, though, that would be fairly useless.
jscheuer1
04-08-2007, 03:14 PM
Yeah there is a lot of bad code out there, for example, those people over at webdeveloper.com don't know what there doing . . .
Just kidding folks. But, seriously, as bad as some of the code is here on DD, we have many, many happy 'customers'. DD is one of, if not the most popular of javascript destinations. DD's scripts are used on countless web pages.
Javascript code doesn't have to be perfect to work.
It does have to be understandable to the average non-javascript person in order to gain wide use.
DD is constantly working on improving the scripts offered in the libraries. As far as the second part goes, DD scripts are among the most accessible to non-coders on the web.
mburt
04-08-2007, 03:17 PM
Yeah there is a lot of bad code out there, for example, those people over at webdeveloper.com don't know what there doing . . .
Plus, they're partners with javascript.internet.com... which is HORRIBLE. Most or all of they're scripts are IE only, I can recall one of them using ActiveX to browser your computer. Horrible.
pcbrainbuster
04-08-2007, 04:46 PM
is xmlhttprequest or something the same as activex???
mburt
04-08-2007, 05:35 PM
No. xmlhttprequest is the ajax method call.
pcbrainbuster
04-08-2007, 05:35 PM
Ok...
XMLHttpRequest is a host object provided by most browsers that allows a script to make direct HTTP requests. IE's implementation uses ActiveX, which I presume is the source of your confusion.
pcbrainbuster
04-08-2007, 06:20 PM
I think I read the IE also supports XMLHttpRequest directly, though I also have seen it being used with ActiveX...
In IE7, there is a native window.XMLHttpRequest() constructor function, as seen in other browsers, yes. In IE6 and below, it's required to use an ActiveXObject("Microsoft.XMLHTTP").
pcbrainbuster
04-08-2007, 08:20 PM
OK I see...
tech_support
04-09-2007, 04:56 AM
Read: http://en.wikipedia.org/wiki/AJAX
Wikipedia is your friend
mburt
04-09-2007, 07:48 PM
Wikipedia is your friend
Damn, right... :)
Powered by vBulletin® Version 4.2.2 Copyright © 2021 vBulletin Solutions, Inc. All rights reserved.