Very good for someone starting with node
http://www.nodebeginner.org/
--
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 t
Thanks Jeff,
I will try that when i get home.
--
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 emai
Hi guys,
I'm creating this post just for give tips to beginners like me, so here
is my first tip(*but please, send tips made for humans to humans, not a
boring manual or something like that*):
*If you want to learn about asynchronous error handling in javascript, i
think it was very good ex
How can i do that? Create a html file and put ".ejs" in the end of the file?
Em sexta-feira, 4 de janeiro de 2013 02h22min40s UTC-3, Jeff Schwartz
escreveu:
>
> Configure ejs as html in webstorm. It works for me.
--
Job Board: http://jobs.nodejs.org/
Posting guidelines:
https://github.com/joye
I try to google it(i always try before post here), but all i found was this:
http://youtrack.jetbrains.com/issue/WEB-814
I think that they will put this in the future? Anyone here that use
webstorm can confirm this?
--
Job Board: http://jobs.nodejs.org/
Posting guidelines:
https://github.com/
There is any plugin for ejs file in webStorm?? I downloaded the webstorm
but it doesn't recognizing els file.
--
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
Webstorm?? I didn´t know, thanks for this tip guys.
--
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
; button
> Enter ejs as the extension
> select text/javascript as the mime
>
> Hope that helps
>
> Jason
>
>
>
> On Monday, December 31, 2012 1:41:59 PM UTC-5, Rodrigo Fonseca wrote:
>>
>> Ok, i've asked because i hate textMate, i really wan
hey guys,
i just finished or almost, and i didn't need to use any other module, and
i discovered some thing that maybe be useful to some people, here:
LayoutController.layout = function(obj)
{
var fs = require('fs');
*var html = fs.readFileSync('./app/views/'+ obj.__action+'/'+obj.fileName);*
o
Ok, i've asked because i hate textMate, i really want to use netbeans, but
i will try to use with eclipse.
--
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 Go
I'm trying to use netbeans, but when i try to put a "ejs" file, the
netbeans doesn't recognize it, so i'm using textMate, but i really i want
to use the netbeans. I'm on Mac, there is any other editor?
--
Job Board: http://jobs.nodejs.org/
Posting guidelines:
https://github.com/joyent/node/wi
Ok, i just posted in there, thanks again.
--
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
*You haven't mentioned CSS before, and you haven't shown us the HTML
content, so it's a little hard to know what's going on. However, I should
point out that you are responding to *every* request to your server with
the contents of the HTML file. So if your CSS URL is also pointing to the
same
No, the server is* created once*, and the (anonymous) function that was
passed to createServer is called each time a request is handled. That
function sends back the contents of the file that was read earlier.
Ok, it´s created once, but, if there is another server that was created? I
have to
Thanks Martin,
I will read the tutorials.
cheers.
--
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, se
I've to create a server just to read a file??? I'm getting trouble with
this, because always when i call a URL i create a server, because i put
this inside of s function:
http.createServer(function(request, response) { response.writeHeader(200, {
"Content-Type": "text/html"}); response.write(htm
e('fs');
> var html = fs.readFileSync('./index.html');
>
> http.createServer(function(request, response) {
> response.writeHeader(200, {"Content-Type": "text/html"});
> response.write(html);
> response.end();
>
Pedro,
Yes, it's done during app initialization, how can i do this?? I´m
begginer with node, can you explain more details about it?
Mark,
Ii want to do what Pedro said.
cheers.
>
--
Job Board: http://jobs.nodejs.org/
Posting guidelines:
https://github.com/joyent/node/wiki/Mailing-List
Hey guys,
I'm doing a app 100% MVC with locomotive, i have one layout file that
load another files just to put the content, it's a small app, but very good
app... So, i want to know, the best way to load a html file, i google it
and found this solution:
var http = require('http'),
fs = r
at 08:54, Rodrigo Fonseca wrote:
>
> > I'm using Text Mate, i try to use netbeans, but the files that end with:
> "html.ejs" were deconfigured, so i'm using text mate. So Xcode compile the
> node?? What this means?? That i don't need to use the Terminal to sim
Ok Tim, thanks.
--
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 nodejs@googlegroups.com
To
I'm doing a little app that can grow up very fast, the question is, is
smart and safe to do this app in 100% node?? I'm using a framework called
locomotive.
--
Job Board: http://jobs.nodejs.org/
Posting guidelines:
https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines
You recei
I'm using Text Mate, i try to use netbeans, but the files that end with:
"html.ejs" were deconfigured, so i'm using text mate. So Xcode compile the
node?? What this means?? That i don't need to use the Terminal to simulate
a server?
--
Job Board: http://jobs.nodejs.org/
Posting guidelines:
ht
This didn´t get inside of my mind... How Node and Xcode work together??? I
just google it and nothing explained that... I can use Xcode to write
javascript??
--
Job Board: http://jobs.nodejs.org/
Posting guidelines:
https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines
You recei
24 matches
Mail list logo