Learning nodejs

General Discussion
  • Where would be the best place to find information on node.js with a view to teaching myself how to code.?
    I really want to change a few things theme wise as well as add a few functionality items, it will need to be a basic newbie guide to get me started then hopefully I can progress to more detailed stuff eventually.

  • Where would be the best place to find information on node.js with a view to teaching myself how to code.?
    I really want to change a few things theme wise as well as add a few functionality items, it will need to be a basic newbie guide to get me started then hopefully I can progress to more detailed stuff eventually.

    http://nodejs.org

  • I don't feel like you need to know a lot of node.js to customize the looks/appearance. Not sure what your skill level is as a coder but I would imagine you'd have better luck learning CSS, Bootstrap, and jQuery

    Once you get a handle on these, then start looking into node.js which would be useful when writing plugins

  • Thanks for the info, I feel this is going to take some time:D

  • Thanks for the info, I feel this is going to take some time:D

    Nothing is overnight, especially something like this which really does require a bit more general knowledge and understanding compared to the plug and play cookie cutter forums out there.

    If you love the UI and concept behind NodeBB early is the best time to jump on board so you can learn and understand the new features as they roll out 🙂 Hey I run a bunch of vb forums and this is like a totally new experience for me. Put the time in and you'll get out of it what you're looking for.


Suggested Topics


  • 1 Votes
    3 Posts
    292 Views

    @julian said in Nodejs Version Managers:

    In my experience there are few reasons to use a version manager, except for development reasons (i.e. testing on older versions of Node, etc.)

    In production, I am increasingly in favour of compartmentalization via containers (or currently, simply separate servers). They can each maintain their own version of Node via the OS package manager, and that's that.

    Yep. I concur one hundred percent with the separate vm's for production approach. I don't think I'd utilize containers directly unless I owned the bare metal and needed to leverage that investment for additional duties. And then I'd use a better hypervisor and launch a Linux vm from there. 😜

    I sometimes muck about with different nodejs based stuff that wants different versions, requirements, and such and thought it might be nice to forgo spinning up vm's for the quick exploratatories....

    None of them seem to want to play nicely with FreeBSD these days though so the question seems rather moot for my use case.

    Thanks for your thoughts.

  • 0 Votes
    1 Posts
    493 Views

    Hi,guys, I'm new to node.js and I have met some difficult problems. Now, I 'm writing a native abstraction for node.js to combine with my cpp code, which are some re-encapsulated function about OpenCV's camera calibration algorithm. The thing is I don't know how to convert opecv datatype to v8 datatype, such as std::vector<cv::Mat>,
    std::vector<std::vector<cv::Point2f>.
    I do know how to convert single cv::Mat datatype and a vector<Point2f> datatype to v8 Object, I`ll attach those code in the end, please give me some suggestion about how to convert vector<Mat> and vector<vector<Point2f>> to v8 object.
    if(info.Length()!=1) return;
    char buffer = node::Buffer::Data(info[0]->ToObject());
    size_t size = node::Buffer::Length(info[0]->ToObject());
    std::vector<char> src(buffer, buffer + size);
    std::vector<uchar> dst = new std::vector<uchar>();
    //do some thing with it
    //return
    info.GetReturnValue().Set(
    Nan::NewBuffer((char)dst->data(), dst->size(), png_delete_callback, dst).ToLocalChecked()
    );
    //**This is how to convert a cv::Mat to v8 buffer*/

    v8::Localv8::Object obj = Nan::Newv8::Object();
    Nan::Set(obj, Nan::New("x").ToLocalChecked(), Nan::New(pts[i].x));
    Nan::Set(obj, Nan::New("y").ToLocalChecked(), Nan::New(pts[i].y));
    Nan::Set(arr, i, obj);
    //vector<Point2f> to jsArray

  • 0 Votes
    8 Posts
    3k Views

    Feedback: Two days later, I'm totally in love with VSCode. It's really awesome and it made my life a lot easier! Thanks guys!

  • 0 Votes
    7 Posts
    2k Views

    In general, we recommend MongoDB if you have a large community. Redis will work just fine, although the memory usage does scale up over time as everything is stored in-memory. Just something to consider.

  • A harsh lesson learned

    General Discussion
    2 Votes
    18 Posts
    6k Views

    @rod said:

    https://secure.backblaze.com/r/0020rr

    fyi, page seems to be broken. I can't download, keep getting js errors. Tried different browsers too. 😞