Account Options

  1. Sign in
Google Groups Home
« Groups Home
Scaffold/Generator for new JavaScript Projects (newjs)
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  12 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Dr Nic  
View profile  
 More options Feb 17 2008, 1:35 am
Newsgroups: comp.lang.javascript
From: Dr Nic <drnicwilli...@gmail.com>
Date: Sat, 16 Feb 2008 22:35:27 -0800 (PST)
Local: Sun, Feb 17 2008 1:35 am
Subject: Scaffold/Generator for new JavaScript Projects (newjs)
ANN: JavaScript Project Generator
WWW: http://newjs.rubyforge.org

Generates a scaffold for a new JavaScript project, with in-built test
suite (using prototypejs's wonderful unittest.js).

See above url or blog post for the where's and why-for's.

Hope its helpful to people. Feedback welcome on project's Google
Group.

(blog post: http://drnicwilliams.com/2008/02/17/newjs-javascript-project-generator/)

Cheers
Nic


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Randy Webb  
View profile  
 More options Feb 17 2008, 2:10 am
Newsgroups: comp.lang.javascript
From: Randy Webb <HikksNotAtH...@aol.com>
Date: Sun, 17 Feb 2008 02:10:44 -0500
Local: Sun, Feb 17 2008 2:10 am
Subject: Re: Scaffold/Generator for new JavaScript Projects (newjs)
Dr Nic said the following on 2/17/2008 1:35 AM:

> ANN: JavaScript Project Generator
> WWW: http://newjs.rubyforge.org

> Generates a scaffold for a new JavaScript project, with in-built test
> suite (using prototypejs's wonderful unittest.js).

> See above url or blog post for the where's and why-for's.

> Hope its helpful to people. Feedback welcome on project's Google
> Group.

> (blog post: http://drnicwilliams.com/2008/02/17/newjs-javascript-project-generator/)

> Cheers
> Nic

Is that some kind of sick, perverted, warped joke?

--
Randy
Chance Favors The Prepared Mind
comp.lang.javascript FAQ - http://jibbering.com/faq/index.html
Javascript Best Practices - http://www.JavascriptToolbox.com/bestpractices/


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
David Mark  
View profile  
 More options Feb 17 2008, 2:20 am
Newsgroups: comp.lang.javascript
From: David Mark <dmark.cins...@gmail.com>
Date: Sat, 16 Feb 2008 23:20:16 -0800 (PST)
Local: Sun, Feb 17 2008 2:20 am
Subject: Re: Scaffold/Generator for new JavaScript Projects (newjs)
On Feb 17, 1:35 am, Dr Nic <drnicwilli...@gmail.com> wrote:

> ANN: JavaScript Project Generator
> WWW:http://newjs.rubyforge.org

HI Dr. Nic!

> Generates a scaffold for a new JavaScript project, with in-built test
> suite (using prototypejs's wonderful unittest.js).

Prototype wonderful?  That would seem a gross contradiction in terms.

> See above url or blog post for the where's and why-for's.

> Hope its helpful to people. Feedback welcome on project's Google
> Group.

How about feedback right here?  It stinks.

"Console is not defined" right off the bat in IE7.  Back to the
drawing board, doc.


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Dr Nic  
View profile  
 More options Feb 17 2008, 3:07 am
Newsgroups: comp.lang.javascript
From: Dr Nic <drnicwilli...@gmail.com>
Date: Sun, 17 Feb 2008 00:07:04 -0800 (PST)
Local: Sun, Feb 17 2008 3:07 am
Subject: Re: Scaffold/Generator for new JavaScript Projects (newjs)

> > Generates a scaffold for a new JavaScript project, with in-built test
> > suite (using prototypejs's wonderful unittest.js).

> Prototype wonderful?  That would seem a gross contradiction in terms.

unittest.js is wonderful.

> > See above url or blog post for the where's and why-for's.

> > Hope its helpful to people. Feedback welcome on project's Google
> > Group.

> How about feedback right here?  It stinks.

I find it handy to have project-related threads in their own space.
Especially if discussing it irritates ppl etc.

> "Console is not defined" right off the bat in IE7.  Back to the
> drawing board, doc.

Sorry about that - yet I can't find 'console' in any source file.
Can your IE debugger tell me where its spotting this?

Cheers
Nic


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Dr Nic  
View profile  
 More options Feb 17 2008, 3:18 am
Newsgroups: comp.lang.javascript
From: Dr Nic <drnicwilli...@gmail.com>
Date: Sun, 17 Feb 2008 00:18:44 -0800 (PST)
Local: Sun, Feb 17 2008 3:18 am
Subject: Re: Scaffold/Generator for new JavaScript Projects (newjs)

> How about feedback right here?  It stinks.

Assuming that its the included test framework that stinks rather than
the premise of having a generator to create an initial folder+file
structure for a project, the code base is on git so its easy to fork,
change the generators to use your own test framework etc.

If there's something specifically you want and can't figure out how to
modify the generators, let me know.

Nic


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
David Mark  
View profile  
 More options Feb 17 2008, 4:00 am
Newsgroups: comp.lang.javascript
From: David Mark <dmark.cins...@gmail.com>
Date: Sun, 17 Feb 2008 01:00:52 -0800 (PST)
Local: Sun, Feb 17 2008 4:00 am
Subject: Re: Scaffold/Generator for new JavaScript Projects (newjs)
On Feb 17, 3:07 am, Dr Nic <drnicwilli...@gmail.com> wrote:

> > > Generates a scaffold for a new JavaScript project, with in-built test
> > > suite (using prototypejs's wonderful unittest.js).

> > Prototype wonderful?  That would seem a gross contradiction in terms.

> unittest.js is wonderful.

Does it use Prototype?  If so, it is worthless for unit testing
anything but Prototype-based code.

> > > See above url or blog post for the where's and why-for's.

> > > Hope its helpful to people. Feedback welcome on project's Google
> > > Group.

> > How about feedback right here?  It stinks.

> I find it handy to have project-related threads in their own space.
> Especially if discussing it irritates ppl etc.

Nothing wrong with that, but you posted your intro here and I am not
sufficiently interested to seek out and join your project's group.

> > "Console is not defined" right off the bat in IE7.  Back to the
> > drawing board, doc.

> Sorry about that - yet I can't find 'console' in any source file.
> Can your IE debugger tell me where its spotting this?

Jeez doc.  You can't debug your own utility?  That doesn't bode well
for people who use it.

DrNic.PostReply = new function() {
  function requestContent( url, callback ) {
    // inserting via DOM fails in Safari 2.0, so brute force approach
                onLoadStr = (typeof callback == "undefined") ? "" : 'onload="' +
callback + '()"';
                console.log(onLoadStr);
                       ^^^^^^^

    document.write('<script ' + onLoadStr + 'type="text/javascript"
src="'+url+'"></script>');
  }

I recognize that code and comment.  It's the wonderful Prototype
loader.


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
David Mark  
View profile  
 More options Feb 17 2008, 4:03 am
Newsgroups: comp.lang.javascript
From: David Mark <dmark.cins...@gmail.com>
Date: Sun, 17 Feb 2008 01:03:44 -0800 (PST)
Local: Sun, Feb 17 2008 4:03 am
Subject: Re: Scaffold/Generator for new JavaScript Projects (newjs)
On Feb 17, 3:18 am, Dr Nic <drnicwilli...@gmail.com> wrote:

> > How about feedback right here?  It stinks.

> Assuming that its the included test framework that stinks rather than
> the premise of having a generator to create an initial folder+file

I didn't bother to read the premise.  The error alert popped up and I
closed the window.  Nobody is going to bother with a utility that
throws script errors in IE.

> structure for a project, the code base is on git so its easy to fork,

On git?

> change the generators to use your own test framework etc.

> If there's something specifically you want and can't figure out how to
> modify the generators, let me know.

I am still not sure what it is supposed to be, but best of luck with
it.

 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Dr Nic  
View profile  
 More options Feb 17 2008, 4:42 am
Newsgroups: comp.lang.javascript
From: Dr Nic <drnicwilli...@gmail.com>
Date: Sun, 17 Feb 2008 01:42:53 -0800 (PST)
Local: Sun, Feb 17 2008 4:42 am
Subject: Re: Scaffold/Generator for new JavaScript Projects (newjs)

> DrNic.PostReply = new function() {
>   function requestContent( url, callback ) {
>     // inserting via DOM fails in Safari 2.0, so brute force approach
>                 onLoadStr = (typeof callback == "undefined") ? "" : 'onload="' +
> callback + '()"';
>                 console.log(onLoadStr);
>                        ^^^^^^^

>     document.write('<script ' + onLoadStr + 'type="text/javascript"
> src="'+url+'"></script>');
>   }

> I recognize that code and comment.  It's the wonderful Prototype
> loader.

This code is from my blog - not code generated by newjs. Sorry, I
didn't know what
code you were looking at.

But yep, its currently broken (plus has unnecessary firefox
console.log references
in it). I'm  currently rewriting it under tests. The new version also
has no
dependency on another library. When I threw the original version
together, it did use prototypejs
but the console.log reference is for firefox debugging. Before I had
tests I had
to use debugging. The console.log shouldn't be there in production of
course :)

Re: git - its a source control system - http://git.or.cz/ originally
written by Linus Torvalds.

Re: newjs - sorry I've not explained very well what its purpose is. In
the past for Ruby development,
its awesome having a starting point for a new library, instead of a
blank folder and having to
copy+paste over useful files from other projects as a starting point.
I codified my preferred
starting point for a new project - READMEs, generators, folders,
helper tasks (e.g. Rakefile/Makefile).
That's what newjs is - a codification of a starting point.

Cheers
Nic


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
David Mark  
View profile  
 More options Feb 17 2008, 4:58 am
Newsgroups: comp.lang.javascript
From: David Mark <dmark.cins...@gmail.com>
Date: Sun, 17 Feb 2008 01:58:36 -0800 (PST)
Local: Sun, Feb 17 2008 4:58 am
Subject: Re: Scaffold/Generator for new JavaScript Projects (newjs)
On Feb 17, 4:42 am, Dr Nic <drnicwilli...@gmail.com> wrote:

I wasn't looking at any code.  I just clicked your supplied link and
got the error.

> But yep, its currently broken (plus has unnecessary firefox
> console.log references
> in it). I'm  currently rewriting it under tests. The new version also
> has no
> dependency on another library. When I threw the original version
> together, it did use prototypejs
> but the console.log reference is for firefox debugging. Before I had
> tests I had
> to use debugging. The console.log shouldn't be there in production of
> course :)

You might have waited to post the link until the site was ready for
production.

> Re: git - its a source control system -http://git.or.cz/originally
> written by Linus Torvalds.

Okay.  The name (acronym?) seems unfortunate.

> Re: newjs - sorry I've not explained very well what its purpose is. In
> the past for Ruby development,
> its awesome having a starting point for a new library, instead of a
> blank folder and having to
> copy+paste over useful files from other projects as a starting point.
> I codified my preferred
> starting point for a new project - READMEs, generators, folders,
> helper tasks (e.g. Rakefile/Makefile).
> That's what newjs is - a codification of a starting point.

Sounds like a Ruby group would be a better place to announce this
product.

 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Dr Nic  
View profile  
 More options Feb 17 2008, 5:15 am
Newsgroups: comp.lang.javascript
From: Dr Nic <drnicwilli...@gmail.com>
Date: Sun, 17 Feb 2008 02:15:08 -0800 (PST)
Local: Sun, Feb 17 2008 5:15 am
Subject: Re: Scaffold/Generator for new JavaScript Projects (newjs)
On Feb 17, 7:58 pm, David Mark <dmark.cins...@gmail.com> wrote:

My poor blog template has been suffering under various JavaScript
lipstick I've written over the years. This is one of the reasons I
wrote
newjs - so all the projects looked the same and were easier to
maintain.
Currently all my blog extensions are being rewritten so they are
easier to live with over time.

I agree it would have been good to have done this before posting about
a project that supposedly makes the lifecycle of JS projects easier.
I was excited to share, I guess.

> > Re: git - its a source control system -http://git.or.cz/originally
> > written by Linus Torvalds.

> Okay.  The name (acronym?) seems unfortunate.

Agreed.

> Sounds like a Ruby group would be a better place to announce this
> product.

The ideas come from working with Ruby dev; the project is for
JavaScript
development. It would be a 1000x more work to create all the support
infrastructure in JavaScript, and then require ppl run Rhino etc in
order to run the app.

I'm very sure its useful to other readers of comp.lang.js. Even ppl
not using prototypejs :)

Cheers
Nic


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Dr Nic  
View profile  
 More options Feb 17 2008, 5:24 am
Newsgroups: comp.lang.javascript
From: Dr Nic <drnicwilli...@gmail.com>
Date: Sun, 17 Feb 2008 02:24:23 -0800 (PST)
Local: Sun, Feb 17 2008 5:24 am
Subject: Re: Scaffold/Generator for new JavaScript Projects (newjs)
David - what test suite are you using?

 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
RobG  
View profile  
 More options Feb 17 2008, 6:54 am
Newsgroups: comp.lang.javascript
From: RobG <rg...@iinet.net.au>
Date: Sun, 17 Feb 2008 21:54:38 +1000
Local: Sun, Feb 17 2008 6:54 am
Subject: Re: Scaffold/Generator for new JavaScript Projects (newjs)

David Mark wrote:
> On Feb 17, 4:42 am, Dr Nic <drnicwilli...@gmail.com> wrote:
[...]
>> Re: git - its a source control system -http://git.or.cz/originally
>> written by Linus Torvalds.

> Okay.  The name (acronym?) seems unfortunate.

But completely in character - the original name for Linux was Freax.

   "Get it? Freaks with the requisite X"

Linus Torvalds, "Just for Fun", 2001

He has also said of git:

   "I'm an egotistical bastard, and I name all my projects
    after myself. First Linux, now git."

<URL: http://en.wikipedia.org/wiki/Git_(software) >

--
Rob
  "We shall not cease from exploration, and the end of all our
   exploring will be to arrive where we started and know the
   place for the first time." -- T. S. Eliot


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »