>  I should have name it node-bunch-of-functions :)  
You exactly right! And really, in this case you can skip some phpjs 
fucntions from there,
especially aliases like explode/implode and, IMO, unefective bcmath port.
There is node-bigint for node.js that, i think, will better fit in node.js 
project.

Other functions, that are usefull, like ucfirst, is a good thing to combine 
in some node.js module :)

пятница, 1 июня 2012 г., 18:02:41 UTC+4 пользователь Alan Hoffmeister 
написал:
>
> That's ok, I had already separated some sticks and gasoline to help 
> people to burn me down because of this package... 
> Why everyone get scared when they read PHP in the name of the package? 
> I should have name it node-bunch-of-functions :) 
> There's no PHP inside this package, just similarly named functions. 
>
> Unoptimized? Of course it is.. Did you read somewhere in my e-mail 
> "production ready"? 
>
> Come on Arnout, you know that I'm not trying to make people write 
> javascript in the PHP way, for example, if you want to captalize the 
> first letter of a sentence you can write a function: 
>
> function ucfirst(str) { 
>   return str.charAt(0).toUpperCase() + str.substr(1); 
> } 
>
> Or you can require some package that already have this function and 
> use it, but not you, of course, because that damn function is named 
> exactly as a well known PHP function, so let's burn that repo down! 
>
> Mind note: *do not* use PHP inside the name of the packages. 
>
> -- 
> Att, 
> Alan Hoffmeister 
>
>
> 2012/6/1 Arnout Kazemier <[email protected]> 
> > 
> > the only idea I have is to get some torches and burn your repository 
> down because PHPJS has the most horrible un optimized piece of javascript 
> ever created. 
> > 
> > you are only limiting your ability to learn the language this way. If 
> you want PHP, write PHP.. if want learn js, write JS not phpJS. 
> > 
> > Just out of curiosity, what kind of "basic" functions where you missing? 
> > 
> > On Friday, June 1, 2012 at 3:17 PM, Alan Hoffmeister wrote: 
> > 
> > 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

Reply via email to