David A. Windham

what is a server? …Core Image and Ruby Cocoa!

I recently got an email with a simple question “what is a server?”.. so in the most simple terms a server is just another computer just like your desktop that is networked to the “web”. I like to call it your public computer vs your private computer..and your public computer (server) can store and retrieve (serve) all kinds of documents, images, media, and information. It is running an operating system that is a variant of unix. And essentially you can connect to the remote computer and create and move files. This is very simple when it comes to publishing html pages but can get very complex quickly when scripting languages are used to manipulate data in various methods using the hardware resources of your server. In fact, search engine robots (another day :)) index pages in a very simple manner in much the way that antique browsers did like the lynx browser below.
lynx browser
The trick to serving up web pages and web enabled applications is mainly done with Apache (or another server) and it’s modules which enable http request and various scripting languages. What you see is a product of your browser interpreting this text sometimes with the help of plugins like javascript and flash. The content of a site is served up in various ways. I can’t answer it all about the web in one post… this is a good place to start.. it was born on Christmas Day 1990…or if you would prefer the original files of the first internet browser…When someone says content management, user generated content or dynamic content.. they generally mean content that can be edited and stored in a database. In the most simple terms a database is like a big excel speadsheet hosted on your server, be it oracle, postgres, berkleydb or mysql… with tables and columns. That data can be called upon by various scripting languages to appear in page or application. Content management systems like typo, live journal, wordpress, joomla, drupal, moveabletype etc etc..
are just packages of scripts that give the average user ways to edit and manage this content with a simple user interface. The advantages of using these systems is that you can generate custom dynamic content tools quickly by modifying the files and having a community of developers and pre-written code. The web is an ever evolving and you want your public server to be able to change with your needs.. and you want to be able to change it easily without upgrading hosting or web development companies. In order for us computer guys to keep everything up to date.. you’ve got to keep a local machine up to date with the latest stable releases of scripting languages, frameworks and apps… these tools are what i recommend.. Textmate , Tinkertool , a Terminal, and Macports
tinker toolmac ports
…add these (CssEdit, CS3, Navicat, Cocoa Sql, Eclipse) and that’s about all i use.
And while plugins like Pulse and Aptana for Eclipse.. setting up workspaces is cake, but you’ll never really learn to configure on your own… and I knew aptana was up to something.. it’s now $99 and i’m sure pulse will follow.
pulse
jrails aptana
Today, i was working with Drupal 5.whatever to see if i could use it in with wildcard domains. I’ve noticed that several companies that need freelance work done are using it extensively so I picked up the most recent version and caught on to this concept quickly after looking over the packages… askimet (aka Automattic) is primarily fighting spam and looks like Acquia will be providing all kinds of $$ services for Drupal. It just comes down to personal preference and I still like wordpress because it’s familiar.. for most publishing projects add the multi-user version and BB Press with Google Apps / and or Basecamp and you’ve got something to work with? … and $7 million.. who knows what they’ll do with it.. I think they should give it away…but what do i know about venture capital?
In doing so..(upgrading my local version of Drupal) i ended up working on my php install for quite some time… it was about time to upgrade
phpphp two
and this is what i’ve found is a good way to do it..
it’s a prebuilt package..from Mark Liyanage
And..this is a great post from Red Artisian and they recently included the performance benchmarks of core imagecore image
And.. of note if you upgraded your rails to 2.0 sqlite3 is now the default database as this is standard in the leopard install
ps…I would like to thank santa clause for my new reads.
as3textmate
and I would also like to thank The Pragmatic Bookshelf for my updated versions.
pragmatic
which has certainly helped with this..
rails 2