• Visitors can check out the Forum FAQ by clicking this link. You have to register before you can post: click the REGISTER link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. View our Forum Privacy Policy.
  • Want to receive the latest contracting news and advice straight to your inbox? Sign up to the ContractorUK newsletter here. Every sign up will also be entered into a draw to WIN £100 Amazon vouchers!

Anyone done much with NodeJS and open APIs (github, google docs, etc)?

Collapse
X
  •  
  • Filter
  • Time
  • Show
Clear All
new posts

  • hungrybear
    replied
    Originally posted by darrylmg View Post
    Something I've never understood about NodeJS is if you build something that is great and you want to sell as a product, how do you protect it from being blatantly copied?
    I guess this is similar for all interpreted, not compiled languages like PHP, Python, JavaScript etc.
    There are plenty of commercial applications and packages built with these.

    You can use the obfuscation libraries for JavaScript, there are few.

    Leave a comment:


  • darrylmg
    replied
    Originally posted by hungrybear View Post
    Yes, NodeJS has gained quite a bit of server side development ground during last few years.
    Its runtime engine v8 has reached quite good performance, and its improvements are supported / maintained by Google.

    For me personally JavaScript as a language took a bit of time to adopt to, specially coming from OO app development world. But, with recent ES6 spec things are improving.

    It was just not build with OO concepts like inheritance or polymorphism in mind. Like mentioned above, you can always use TypeScript with transpiler.

    Another important bit is not to use NodeJS where it doesn't belong - computation heavy server side applications.
    Something I've never understood about NodeJS is if you build something that is great and you want to sell as a product, how do you protect it from being blatantly copied?
    I seem to remember I had the same thoughts about ASP many years ago.
    Does this limit the usefulness or is there some sort of obfuscation that can be applied?

    Sent from my SM-T280 using Tapatalk

    Leave a comment:


  • hungrybear
    replied
    Originally posted by d000hg View Post
    I want to knock up some little tools and I found a service to host NodeJS scripts for me (datafire.io) which suits me better than setting up a server specially.
    I've done some web-dev back in the day but hated it... however JS as a language was OK. I normally develop in C++, C#. Is there anything particularly complicated or to be scared about here or is it just a case of reading the API docs and maybe buying a book on NodeJS? It seems like a useful string to add to my bow as a predominantly server-based developer anyway so might be worth investing a bit of time?
    Yes, NodeJS has gained quite a bit of server side development ground during last few years.
    Its runtime engine v8 has reached quite good performance, and its improvements are supported / maintained by Google.

    For me personally JavaScript as a language took a bit of time to adopt to, specially coming from OO app development world. But, with recent ES6 spec things are improving.

    It was just not build with OO concepts like inheritance or polymorphism in mind. Like mentioned above, you can always use TypeScript with transpiler.

    Another important bit is not to use NodeJS where it doesn't belong - computation heavy server side applications.

    Leave a comment:


  • Freewill
    replied
    I'm a massive fan of NodeJS because its very easy to get up and running with, and it has an incredibly rich open-source ecosystem compared to C# and C++ (which I also develop with). It is also doesn't care whether you are using Mac/Windows/Linux.

    My advice would be to dive right in and start publishing your own little packages to npm. VSCode is the best editor to use as it has integration which provides intellisense for the built in Node APIs and other npm packages.

    You have a choice of using plain JavaScript or TypeScript. TypeScript is awesome but you may find it easier to start with plain JavaScript and then move to TypeScript as your projects get bigger and you get more comfortable with the tools. JavaScript has probably improved a fair bit since you last used it, so maybe read up on some of the new features/syntax.

    If you want to integrate with a range of APIs I have heard really good things about OneGraph https://www.onegraph.com/. Even if you don't use it, imitating the same approach of creating a GraphQL API which provides a single access point to different services should be an interesting project. I also expect there soon to be increased demand for server developers who have created GraphQL APIs.

    HTH

    Leave a comment:


  • Anyone done much with NodeJS and open APIs (github, google docs, etc)?

    I want to knock up some little tools and I found a service to host NodeJS scripts for me (datafire.io) which suits me better than setting up a server specially.
    I've done some web-dev back in the day but hated it... however JS as a language was OK. I normally develop in C++, C#. Is there anything particularly complicated or to be scared about here or is it just a case of reading the API docs and maybe buying a book on NodeJS? It seems like a useful string to add to my bow as a predominantly server-based developer anyway so might be worth investing a bit of time?

Working...
X