SitePoint Sponsor

User Tag List

Results 1 to 2 of 2

Hybrid View

  1. #1
    SitePoint Member wwl777's Avatar
    Join Date
    Aug 2011
    Posts
    17
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Using Node JS to rebuild my site

    Hi,

    I have a site on which the content is generated only with javascript. Problem is that this way the content isn't indexed by google and not visible when js is turned off. I was thinking of using Node.js to make the js code server side. I am new to it and don't know if it's possible to use it on my webhosting account. There seem to be alot of tuts going on how to install it locally, but how do you set it up on your webserver? Or maybe I would be better rebuilding it with php. I'm just looking for a way to present the content as static html.

    Thanks in advance

  2. #2
    Under Construction silver trophybronze trophy AussieJohn's Avatar
    Join Date
    Sep 2005
    Location
    Sydney, Australia
    Posts
    776
    Mentioned
    11 Post(s)
    Tagged
    0 Thread(s)
    Where/how you can install it greatly depends on the platform. If your webserver is a *nix flavour of some sort you should be able to install Node on it.
    If you have a managed hosting account on a shared server, you might need to simply send an email to the hosting provider, many will be happy to help out with custom software requirements.

    As for installing it at home, if you have Windows it's a bit harder, but not impossible (installing node on windows - Google Search).

    The method you're using to store/generate/manage your content, should be one that you're comfortable working with. Whether that be (Node) JS, PHP, Ruby, etc.

    Personally, PHP has generally been my preferred platform on the server; though, (slowly,) I too am beginning to experiment with Node
    var details = {
    . . web: "afterlight.com.au",
    . . photos: "jvdl.id.au",
    . . psa: "usethelatestversion.com"
    }


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •