jaja, ok, by the way I mented phpjs ;-)
Yes, isolation is and aim to achieve, but it could sort out the big
quantity of functions that nodejs is coming to get.
Really I have in my mind the way that Java does. That's right, it use
namespaces, and we do so!! modules are like namespaces.
Grettings: Seiji
El 01/06/12 21:31, Alan Hoffmeister escribió:
+1 to the idea.
Btw, don't mention PHP or you will get in troubles here...
--
Att,
Alan Hoffmeister
2012/6/1 Angel Java Lopez<[email protected]>:
Interesting... but....
A key property of a require is the "isolation" of its product, something
like namespaces in other languages/technologies.
So myrequire.abs is clearly different from yourrequire.abs
Paraphrasing David Hilbert (about Cantor)
"No one shall expel us from the paradise that require(...) has created for
us"
http://www.brainyquote.com/quotes/authors/d/david_hilbert.html
On Fri, Jun 1, 2012 at 2:26 PM, Seiji Sam Lee<[email protected]> wrote:
Due the great expectation around node.js, libs and functions grow up
without control.
Nowadays we have a lot of "requires" and we need to memorize a lot of
names (fs, path, vm, ...); with time, we'll spend more and more time reading
documentation :-(
My proposal is incorporate the mechanism of "register" the module, for
example, phpjs library could register the function "isset" into "utils", and
"abs" function into "math"
So we could have libraries well sorted !!
El 01/06/12 15:17, Alan Hoffmeister escribió:
Hello there!
I had just ported php.js (http://phpjs.org) for Node.js.
My motivation was to available new functions that could help programmers
to accomplish simple tasks and yup, I came from PHP and I was really missing
some basic functions :)
A list of functions is available at http://phpjs.org, install guide and
usage, here: https://github.com/cranic/node-phpjs.
Have an idea? Shout it out! :)
--
Att,
Alan Hoffmeister
--
Job Board: http://jobs.nodejs.org/
Posting guidelines:
https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines
You received this message because you are subscribed to the Google
Groups "nodejs" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/nodejs?hl=en?hl=en
--
Job Board: http://jobs.nodejs.org/
Posting guidelines:
https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines
You received this message because you are subscribed to the Google
Groups "nodejs" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/nodejs?hl=en?hl=en
--
Job Board: http://jobs.nodejs.org/
Posting guidelines:
https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines
You received this message because you are subscribed to the Google
Groups "nodejs" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/nodejs?hl=en?hl=en
--
Job Board: http://jobs.nodejs.org/
Posting guidelines:
https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines
You received this message because you are subscribed to the Google
Groups "nodejs" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/nodejs?hl=en?hl=en