hosted by liquidweb


Go Back   Web Hosting Talk : Web Hosting Main Forums : Programming Discussion : Web Panel Coding
Reply

Programming Discussion Discussions related to web programming languages and other related issues. Topics may include configuration, optimization, practical usage and database connectivity.
Forum Jump

Web Panel Coding

Reply Post New Thread In Programming Discussion Subscription
 
Send news tip View All Posts Thread Tools Search this Thread Display Modes
  #1  
Old 03-17-2005, 10:39 PM
Bilco105 Bilco105 is offline
Web Hosting Master
 
Join Date: Oct 2002
Location: Manchester, UK
Posts: 1,164

Web Panel Coding


I am currently looking to start a project to build a VERY simple web panel. It will be able to start / stop a service. It will be able to reboot a server and it will be able to open a configuration file from a path and allow the user to edit it. What is the best programing language to code this project in? Im looking to it to run on Windows and Linux alike if possible. What are your ideas on this type of project? Thanks in advance.

__________________
Rob Greenwood
RedHat Certified, Unix Consultant
http://www.linkedin.com/in/bilco105

Reply With Quote


Sponsored Links
  #2  
Old 03-18-2005, 06:04 AM
itspot itspot is offline
Junior Guru Wannabe
 
Join Date: Oct 2004
Posts: 33
Your question contains the answer Im looking to it to run on Windows and Linux alike if possible - in this case the only platform among the currently existing, which satisfies your requirements, is JAVA.

__________________
Content Management Systems and websites to achieve your business goals

Reply With Quote
  #3  
Old 03-18-2005, 07:49 AM
brianoz brianoz is offline
Web Hosting Master
 
Join Date: Nov 2004
Location: Australia
Posts: 1,439
When you say you want it to run on both WIndows and LInux, do you mean as client or server? I assume you mean client not server. If you mean client, then of course the panel will run on both as it is browser based. If you mean server, these will be completely utterly different on the two server types, apart from some presentation code most of the code to actually do things won't be the same.

Java is probably going to be a dog to do this in, PHP runs on both and might be better for you. But if it's trivial enough it might be easier to write the Windows end in ASP/VB and the Linux end in PHP.

Reply With Quote
Sponsored Links
  #4  
Old 03-18-2005, 10:45 AM
itspot itspot is offline
Junior Guru Wannabe
 
Join Date: Oct 2004
Posts: 33
Yes, I completely forgot about PHP. I agree with brianoz: for such a simple task that could be the solution.

__________________
Content Management Systems and websites to achieve your business goals

Reply With Quote
  #5  
Old 03-18-2005, 08:56 PM
nulled nulled is offline
Newbie
 
Join Date: Jun 2004
Location: Federal Way, WA
Posts: 22
YEs PHP is recommended if you want it to run on both WIndows and LInux.

COnverting PHP from Linux to Windows is relatively easy mostly involving the paths on the server containing the files.

WIndows using \
Linux uses /

If you want to see the power of PHP and what it can do ... check out my PHP control panel in my signature below.

__________________
DigiPanel - Web Host Control Panel
http://digipanel.com
Offering Free Licenses to ISP's and Hosting Companies!

Reply With Quote
  #6  
Old 03-18-2005, 09:48 PM
krumms krumms is offline
Web Hosting Guru
 
Join Date: Feb 2003
Location: Brisbane, Australia
Posts: 270
Quote:
COnverting PHP from Linux to Windows is relatively easy mostly involving the paths on the server containing the files.

WIndows using \
Linux uses /
If you're writing applications with cross platform compatability in mind, you shouldn't be hard coding filesystem separators. Use DIRECTORY_SEPARATOR instead.

All that said and done, there's much more to porting applications than simply replacing filesystem separators. It's unusual to find Windows boxes running sendmail/postfix, proftpd and/or BIND for example, so you'll have to rewrite that functionality for Windows (even if it's behind an abstraction layer, you've still got to do the work). Even Apache on Win32 in a production environment isn't all that common.

If you're restricting yourself to only supporting the basics that are fairly well supported on both platforms (Apache, MySQL), you'll likely be fine but you're seriously restricting the number of people who will find your program interesting.

Some of this might be common sense, but hey - people should know by now that I like to rant.

Reply With Quote
Reply

Related posts from TheWhir.com
Title Type Date Posted
Video: cPanel and Attracta Talk About Integrating SEO Tools into the Hosting Control Panel Whir Tv 2012-08-31 14:10:47
Rackspace Details New Cloud Hosting Control Panel Features Web Hosting News 2012-08-03 16:03:35
WHIR TV: Video Demo of Atomia Web Hosting Control Panel Whir Tv 2012-08-02 09:22:05
Monday Demo: Parallels Plesk Panel Blog 2012-03-06 18:14:30
WHIR Demo: Parallels Plesk Panel Whir Tv 2012-03-06 18:07:47


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes
Postbit Selector

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump
Login:
Log in with your username and password
Username:
Password:



Forgot Password?
Advertisement:
Web Hosting News:



 

X

Welcome to WebHostingTalk.com

Create your username to jump into the discussion!

WebHostingTalk.com is the largest, most influentual web hosting community on the Internet. Join us by filling in the form below.


(4 digit year)

Already a member?