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
    1k Views

    Fo what it's worth - I have V3-beta1 working with Ubuntu 22 with and Nodejs V18.13.0

  • 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
    3 Posts
    4k Views

    @vatsal Specifically, the "hotswap" plugin (actually, it's built into core, but it should be a plugin) and the newrelic module both modify the application stack using the same method.

    It may be possible to have the hotswap plugin work properly with newrelic, but I haven't the time to check right now 😦

  • Learning Node.js

    General Discussion
    2 Votes
    13 Posts
    3k Views

    I'm trying to create some html with a variable that can be adjusted.

    <p>Bank Account:$</p> <p id="bankaccount">1000</p>

    Not sure how I would do this. I want the value of 1000 to appear beside of Bank Account:$. However since both are in separate p tags, I can't figure it out. I would also like to save the value to a javascript variable.

    EDIT* I figured to just create the entire string in Javascript. Easier to piece together.

  • 0 Votes
    3 Posts
    2k Views

    Had half a year to waste because it was too late to switch school level (I'm not even going to bother trying to translate this into weird USA school terms :P), I already knew quite a bit of MIPS (PSP hacking) by then, and wanted to try something else.

    Don't know why I chose JavaScript, just did. Started with w3schools (ikr), eventually just learned by doing, doing and more doing. Along the way of doing I of course read the occasional article, "guide", best practices, documentations etc. No books and courses though.