10/25/13

Node.js

i’ve been learning about Node.js, which is basically Javascript on the server. You can write an entire website, including the web server itself with Node.js. This little file implements a web server and write out “Hello World”!

var http = require("http");

http.createServer(function(request, response) {
response.writeHead(200, {"Content-Type": "text/plain"});
response.write("Hello World");
response.end();
}).listen(8888);

After you’ve installed Node.js (see here for download: http://nodejs.org/download/ or you can use your favorite package manager) you run this file, open your broswer to http://yoursite.com:8888 and you’ll see the message. Pretty simple, huh?

04/16/12

The Server is Moved!

The server has been moved and we’re on the latest and greatest version of CentOS, Apahe, php, MySQL and everything. Being my own technical support department, I only have me to thank for the smooth move, and being too humble, I won’t. 😉

Technology is a wonderful thing when it works the way you expect, isn’t it?

04/15/12

Server Move

After suffering with an outdated CentOS 4 system on my VPS for over a year, I finally got my hosting service to give me a new, updated Plesk container that has the latest and greatest software. As a consequence, this site may be off line for a time this weekend into Monday as it’s moved and the DNS catches up with the new IP address. I moved my main site, JoeParente.com today and this site will follow shortly thereafter. Please bear with us while we make these necessary changes!

03/27/12

Progress/OpenEdge Databases with CodeIgniter

I’ve been searching for a php MVC framework for my current position that can deal with Progress databases for a few years now. I’ve tried Zend Framework, CakePHP, and others, but finally I found CodeIgniter, which with a very minor modification, seems to work quite well and I’ve used it for several projects since discovering it a few weeks ago. The only change I had to make in the base code was this: Continue reading

03/27/12

Articles on Technology

I’m considering posting some articles on the solutions I’ve found to specific problems my my field, computer technology. They’ll be articles about php, WordPress(the software you’re reading this on), Linux, Apache, Windows, and many other things. Maybe I’ll have more to say about that stuff, since the world seems to want to go on it’s merry way into the hopper no matter what people do to try to warn others about what’s really happening.

I might even manage to post more stuff, since it’ll be a resource I can use in the future, instead of having to re-google things over and over again.

So they’ll be a new category, “Technology” being created in a few moments, and some new posts in that category.