JavascriptoidDebunking factoids about javascript on the serverhttp://javascriptoid.appspot.com2010-04-02 22:07:51.183271JavascriptoidRead and Writehttp://javascriptoid.appspot.com/blog/readandwrite2010-04-02 22:07:51.183271What differentiates JS on the server from the client is its ability to do stuff out of the sandboxed environment of the browser, like reading and writing files on your hard drive. Spooky? Fear not.Cookies and Sessionshttp://javascriptoid.appspot.com/blog/cookiesandsessions2010-03-30 14:47:02.766861If you want to persist data among different pages you can use cookies or sessions. Cookies are persisted on the client, while sessions on the server, so it really depends on what you are doing.
CURL and Twitter searchhttp://javascriptoid.appspot.com/blog/curlandtwittersearch2010-03-29 14:42:46.565508In this post we will be talking about getting data from other websites, something cURL has been doing for eons, but in server-side JS-speak it is called HTTP Client and here you will learn how to use it.Get and Posthttp://javascriptoid.appspot.com/blog/getandpost2010-03-26 23:00:17.304802We deal with forms a lot to capture data from the user and store it in our databases, sometimes we use GET, most of the time we use POST to pass that data to our server in order to handle it.FABE: The whole shebanghttp://javascriptoid.appspot.com/blog/thewholeshebang2010-03-22 21:12:36.727852It's been an interesting experience building this blog engine using Javascript on the server with V8 and V8CGI. It showed us that everything we do today with python, ruby or php can easily be done with our beloved javascript, so why not give it a try?FABE: Admin consolehttp://javascriptoid.appspot.com/blog/adminconsole2010-03-15 21:12:36.672722Final phase, the admin console, where we can list, edit and delete entries at will. This post is going to be a little longer than previous ones so don't get bored, pay attention.FABE: Feeding the readershttp://javascriptoid.appspot.com/blog/feedingthereaders2010-03-13 21:12:36.592111This part is really easy, as we have done it before, all we have to do is get the last 10 entries and inject them in a template based on an atom feed.FABE: Adding new entrieshttp://javascriptoid.appspot.com/blog/addingnewentries2010-03-12 21:12:36.507146For this step we are going to need an html editor so we can write articles prettily formatted. There are plenty of editors already in the wild, but some are such a pain to install and use that I decided to go with Yahoo Rich Text Editor, in the name of simplicity.FABE: Viewing blog entrieshttp://javascriptoid.appspot.com/blog/viewingblogentries2010-03-11 21:12:36.412009Now that we have our main window ready and our database tuned up, we need to show the articles when users click on their links. Here is how we are going to do that.FABE: Calling the data serverhttp://javascriptoid.appspot.com/blog/callingthedataserver2010-03-06 21:12:36.344891To get the real data from MySQL we will be using our good friend from a previous post, the dataserver.jss library which will handle all our data needs.