DevSnips.com Code Snippet Repository
search:    


Navigation
  Home
About
Library
Contact
 
Snippet Library
  ColdFusion   338  
  ASP   201  
  PHP   101  
  HTML   11  
  JavaScript   77  
  XML   2  
  CSS   5  
  SQL   13  
  JSP   2  
  C#   1  
  ASP.NET   0  
  Submit a Code Snippet
 
Blog Archive
  September 2007
August 2007
July 2007
June 2007
May 2007
November 2006
October 2006
Search Archives
 
Random Affiliates
  BioMetric Base
ReviewMe!
PHP Arch
Uno-Code

Want to become an affiliate?
Read more...


Privacy Policy
© 2010

Blog Archive

 
Understand your server environment to maximize your programming skills and security

Throughout my years of programming, I've often seen two camps, the programmer and the server administrator. Often these two camps don't see eye to eye and difficulties can arise. This is mainly due to a lack of understanding between the two departments. The server administrator does not see the scope of completing the job for a demanding client, and the programmer does not see potential issues with misconfigured and poorly programmed applications being introduced to a server, where other services could be heavily impacted. I almost believe they focus on the opposite, and in reality, we as programmers, should be really viewing their priorities, since we all want to have secure applications in the end.

As a programmer, I see great benefit learning the environment where your application will reside. Over the last few years I've been heavily involved Linux server administration. My application have been mainly written to use the LAMP environment (Linux Apache Mysql Php). Because of this, I thought becoming fluent in Linux administration could help bridge the gap between myself and server administrators, since a majority of my clients use Linux servers.

While learning Linux administration, I began to have a better understanding of PHP-CLI (command line scripting) for increased power and control of my apps. Also, the ability to fully understand other services (FTP, mail, PAM, cron) have been increasingly useful for my coding practices.

I also believe that working with the server environment, I show a level of respect to server administrators and can offer suggestions to potential problems with PHP configuration and compliations, as well as Apache configurations to help increase security on my applications.

If you're interested in learning Linux, I would highly recommend creating a development environment. If a server is unavailable, look into virtualization software (ie: vmware) to create your first Linux environment. After creating the environment, begin focusing on your basic services.

Apache and Mysql configurations and administration will be your first hurdle. I would also recommend a distro that has easy package maintenance (I prefer source based distros). You'll want to look into different compile flags for PHP. Keep security conscience. Most administrators will have security in mind, so try to replicate your environment as hard as you can tweak it (SafeMode, Open_basedir, Mod_security, Suhosin, Mod_chroot, etc). Learn to work in this restricted environment. If you can produce working applications here, you'll be able to create robust applications in any LAMP environment.


Submitted on 05/22/07 at 11:31PM
Post Comment | Comments: 0
Bookmark to:
Add 'Understand your server environment to maximize your programming skills and security' to Del.icio.us Add 'Understand your server environment to maximize your programming skills and security' to digg Add 'Understand your server environment to maximize your programming skills and security' to FURL Add 'Understand your server environment to maximize your programming skills and security' to blinklist Add 'Understand your server environment to maximize your programming skills and security' to reddit Add 'Understand your server environment to maximize your programming skills and security' to Feed Me Links Add 'Understand your server environment to maximize your programming skills and security' to Technorati Add 'Understand your server environment to maximize your programming skills and security' to Yahoo My Web Add 'Understand your server environment to maximize your programming skills and security' to Newsvine Add 'Understand your server environment to maximize your programming skills and security' to Socializer Add 'Understand your server environment to maximize your programming skills and security' to Ma.gnolia Add 'Understand your server environment to maximize your programming skills and security' to Stumble Upon Add 'Understand your server environment to maximize your programming skills and security' to Google Bookmarks Add 'Understand your server environment to maximize your programming skills and security' to RawSugar Add 'Understand your server environment to maximize your programming skills and security' to Squidoo Add 'Understand your server environment to maximize your programming skills and security' to Spurl Add 'Understand your server environment to maximize your programming skills and security' to BlinkBits Add 'Understand your server environment to maximize your programming skills and security' to Netvouz Add 'Understand your server environment to maximize your programming skills and security' to Rojo Add 'Understand your server environment to maximize your programming skills and security' to Blogmarks Add 'Understand your server environment to maximize your programming skills and security' to Shadows Add 'Understand your server environment to maximize your programming skills and security' to Simpy Add 'Understand your server environment to maximize your programming skills and security' to Co.mments Add 'Understand your server environment to maximize your programming skills and security' to Scuttle

Go Back








Advertisements

Gate.com VPS Banner