Slashdot videos: Now with more Slashdot!

View

Discuss

Share

We've improved Slashdot's video section; now you can view our video interviews, product close-ups and site visits with all the usual Slashdot options to comment, share, etc. No more walled garden! It's a work in progress -- we hope you'll check it out (Learn more about the recent updates).

First time accepted submitter Mensa Babe writes "Oliver Morgan, the original author of the JavaScript Toolkit, or just 'The Toolkit' as it is known in the JavaScript community, has just announced the release of the long awaited version 1.1.0, with better documentation and added function support. Quoting the project documentation: '[JavaScript] Toolkit offers a large number of integrated methods and utilities to help enrich the javascript object library. Javascript was built originally for browsers and as such lacks a large number of data utility methods with are seen in languages such as Python and Ruby. However times have changed and JavaScript is being used more and more in backend platforms. JS Toolkit aims to bridge that gap and provide everyone a modern developer needs to produce fast, secure and tidy code quick and easily.' The Toolkit fully supports ECMAScript 5 and runs on the most important virtual machines that we have today, including Node.JS, V8, Rhino, RingoJS, and many others. It continues to be actively developed."

Since when is this known as "The Toolkit"? The lack of github followers and general references across the internet makes this claim suspect. Its History file only goes back a few days, so I wonder how this could possibly be "long-awaited."

Isn't disliking someone for their stupidity or sloppiness personal by definition? I suppose "nothing personal" was just meant as code for "I don't wish he were dead", "I acknowledge he may have good traits", "I don't wish to be confrontational", or something similar.

Well, I'm glad I didn't waste any time installing it or reading the documentation. If I'd read more than the original e-mail from Slashdot, I could have saved myself the bother of downloading it, too.
Now to save myself some disk space, and delete the thing. -Eric

So, in the interest of making lemonade from lemons, the best of a bad situation, and avoiding cliches like the plague...
Are there any open source JavaScript toolkits that do what this was supposed to do?

Slashdot these days:1. your personal PR machine for whatever little open source project you have, with unrestricted hyperbole.2. copy and paste first paragraph of an article that might be interesting, and call it a submission - coming up with an interesting summary is for wimps

I admit I haven't heard of this before but a quick glance through the documentation reveals nothing that any CS student couldn't knock out with a couple days work. Compared to the excellent Underscore.js (http://documentcloud.github.com/underscore/) this comes out as a damp squib. Am I missing something?

Okay, I've done some moderate JavaScript programming in the course of programming many websites and I've used most of the popular libraries out there. But I've never even heard of this JavaScript toolkit. A quick trip to the home page shows that it's trying to be yet another attempt at a JavaScript standard library. And not a very good one, either. A few helper libraries. Pfft!

If you really want a JS library that does damn near everything under the sun, check out php.js [phpjs.org]. They have the vast majority of core

If you really want a JS library that does damn near everything under the sun, check out php.js [phpjs.org]. They have the vast majority of core PHP functions implemented in JavaScript.

Yeccccch.

Way back when (5+ years ago), I did just the opposite--I saw what a mess PHP had in lieu of certain features (abysmal date and XML handling), and ported a bunch of JS objects to it.

I still use my ported Date class anytime I have to mess with dates in PHP.

I think PEAR has one of its own now, but I still prefer mine, since it follows the ECMA standard. Oddly enough, this seems to be the reason PEAR rejected it (even though they gladly took and still use to this day my XML services stuff that nobody

I created the toolkit, I never spoke with this timothy and never asked for it to be published here? I'm not particularly happy with it being done either given that i've been working on it for several days and there is a load of issues which need fixing before I'd even want it considered let alone used in production.

So let me clarify.

- It's not based off any existing language or framework in particular. I'm taking what I find useful from the different ones available. The API is not set in stone yet there are still a number of large changes I still plan to make.

- I haven't and will never condone this as official in anyway. It's something I want to continue to use throughout MY projects and would find help/contribution helpful so i made it open-source. I have never come across Slashdot before - ever. And why on earth would I want to run a "PR campaign" for it anyway? I have much better things to do with my life.

- In short response to all your pointless negativity:1) It's not long awaited - perhaps by me but I've never thought anyone else really cared.2) It's never been known as "The Toolkit" I've never called it that so I don't know where the JS Community got the name from.3) It has a handful of PHP functions, most of functions came from Ruby and Underscore.JS.4) Every O-S project starts somewhere, U.JS had a humble beginning - so has mine. They are considerably different in their goals and current implementation. I strongly advise you know the difference before choosing or listening to the dismissive people in this thread.

And a final thanks to those of you who kindly took the time out of your day to come send me hate-mail.

Haha I can't believe how spiteful this place is. I don't understand why it's so impossible for you guys to just ignore something you think should be ignored. Or do you have to make sure that everyone who wants to make up their own mind should ignore it too.

Just incase you haven't got it already... I had a need for an ECMA5 targeted toolkit for my Node.JS development that provided all the useful goodness Ruby, Python and PHP had been given over the years which JS had never really had a need for (living mainl

Yeah, you sorta got screwed over by the submitter. I give you credit for actually posting in response. The odd function %3 , is pretty messed up though. Open source is like that though, all your mistakes are public and recorded for all time. Unless your were on mind altering chemicals, that is somewhat unforgivable grade school math concept misunderstanding.

Every O-S project starts somewhere, U.JS had a humble beginning - so has mine. They are considerably different in their goals and current implementation. I strongly advise you know the difference before choosing or listening to the dismissive people in this thread.

You think an "odd number" means "divisible by 3", which means you have a less-than-middle-school education in math. That's not a "humble beginning". You're simply not qualified for the task you've undertaken. For fuck's sake, you didn't even

Woah settle down cowboy. It's his project for his own work. If that is the worst bug you can find in his project then he's doing much better then a lot of code I've come across, even in major java frameworks.

What makes someone 'qualified' to write code for themselves? Does he need to drown in student debt? Spend years studying just to get there? Everyone started somewhere so get off your high horse and let the guy make his own mistakes.

Nah, it's a typo, I bet you. 2 and 3 are right next to each other on the keyboard? And if someone for their own framework wants a function for that, why not? Of course it's kinda pointless, but to to make this about mathematics.... wow:D

I was sad to discover that some code I'd recently written was perfectly readable and maintainable. I thought to myself "If people can easily understand and maintain this code, they'll think I'm some kind of n00b."

Thanks to judicious use of libraries like jquery and prototype.js, I'm happy to report that my code is both impossible to understand, difficult to extend, and an absolute nightmare to maintain. That's right, I'm now officially a "rock star" level programmer.

"The Toolkit" as us rock stars call it, now offers me the perfect opportunity to do away with those nasty simple library functions I've collected over the years. Things like string manipulation, for example, that were handled quickly and efficiently by a few simple easy-to-understand functions are now garbled up in yet another over-sized and bug ridden JS library.

My pages take longer to load and run slower than ever before! This is enterprise level code I'm pushing out here folks.

Here's a few hints to help you achieve the same level of greatness:

1) RAM is cheap, use as much as you can.

2) Forget about performance, if your code is too slow, upgrade. Computers get faster every year.

3) Arrays are for idiots who can't code. Import a collections framework for even the simplest of tasks. Need 10 integers to be manipulated by one function and then discarded? You can't go wrong with a thread safe hash table!

4) Load the library that has the function you want, even if you've already loaded a library with similar functionality. Like jquery's trim() function better than underscore.js? Import them both! Never mind that you only needed to use one function from each library or that any first-year CS student could write them in 10 minutes, you're a rock star. You use what you want.

5) Don't be afraid to re-invent the wheel. Other people are idiots, so assume that whatever you can hack together is automatically better. This especially applies to date and time functions.

So fellow rock stars (and future rock stars) ignore all of the negative comments in this discussion about "The Toolkit". Just because these n00b's can't comprehend its awesomeness dos not mean that it's not the perfect hammer for driving screws.