Sunday, August 18, 2013

First Commit

 

Hello people of the web,

    If you've found this in the sea of blogs then you're really bored and I can throw anything down your throat and your going to listen because, let's be honest, what else do you have to do right now? Work? Sleep? I don't think so.

    I'm going to start out by telling you what I'm doing as of right now. First off, Me and a couple of friends are making an android game and those sad sissy girls are scared of "The Command Line". So of course, I'm in charge of the server side stuff. I think the words "compile from source" would give them nightmares. Our game is done-"ish" all it needs is some online interactions. Thats where I come in. At first I was going to host it off of this old blade I have sitting around, PowerEdge 2850, but soon realized My app needs More "umph" Then 6Gbs of RAM and A house hold connection(Although 100/Mbs down and 80/Mbs up is nothing to scoff at).

    Thus my my search for a service that was scalable, fully-featured and had a free test environment. I honestly recommend Dot-Cloud and AWS(Amazon-Web-Services). We were on dot-cloud for a little bit but then they discontinued their free sandbox environment and we had to go. So that lead me to AWS. Easy to use even if you are scared of the CLI(Command-Line-Interface) and they have a free tier which is nice.

    After finding the platform I was going to build on, the next challenge is What the hell am I going to build this with? Remember, my partners and I are for the most part, Java/Android guy's and previously had little to no experience with any server side scripting. Except for me, my experience of server side scripting was bash scripts here and there since I wont touch a non-linux/unix machine, With little PHP and I quick run through of the ruby tutorial on code school. After doing some research I went with PHP. Very little learning curve and LOADS of Documentation along with plenty of posts on SO.

    Although functional, my php scripts were more functional then OOP scripts with the mind set that I was writing bash like scripts. They worked but what was a OOPer doing dipping his toes into that horrible world of functional programming? That's not where my strength is! That's not what I've been spending years mastering! What AM I DOING?!?! So I scraped it all and looked at it with a fresh pair of eyes.

   When Scrapping your project, you get a refreshing breath of air. Like you've been doing it wrong the whole time. I reevaluated my project needs and decided to do something daring and try something "bleeding edge". Instead of PHP why not node.js?

Lets take a look at what I need, Shall we?

  1. CRUD operations
  2. Maybe a website
  3. super expandable and light weight
Node.js marks all of those and I get to use something "NEW". Exciting right???

So my next couple of post will be what I use, How I set it up AND How to do it, Maybe. If I get around to it. :)

No comments:

Post a Comment