George
06-15-2002, 06:11 PM
What languages are Control Panels written in (no, I don't mean English)? TIA
![]() | View Full Version : Control Panel Languages George 06-15-2002, 06:11 PM What languages are Control Panels written in (no, I don't mean English)? TIA ZeonHost 06-15-2002, 07:14 PM I know H-Sphere is written in Java and uses native Perl scripts to perform modifications on Linux (not sure about Windows). Tazzman 06-15-2002, 09:38 PM C is also used as the backend of some control panels... iseletsk 06-15-2002, 11:39 PM Originally posted by ZeonHost I know H-Sphere is written in Java and uses native Perl scripts to perform modifications on Linux (not sure about Windows). H-Sphere is written in java/freemarker (html based template language) for the main server, perl/shell scripts for unix servers & c++/asp for windows servers. There are also some components that are done in C/C++ on unix as well, usually for performance benefits. George 06-15-2002, 11:41 PM thank you for all the replies Zalbag 06-16-2002, 04:48 AM How exactly would you program a control panel, for the web, in C/C++? chrisb 06-16-2002, 04:54 AM Originally posted by iseletsk H-Sphere is written in java/freemarker (html based template language) for the main server, perl/shell scripts for unix servers & c++/asp for windows servers. There are also some components that are done in C/C++ on unix as well, usually for performance benefits. Does a user have to have a java-capable browser, in order to use H-Sphere or any part of it? CPanel is written in perl I believe. And I wouldn't be too surprised if some of the coding came from WebMin. I see some similarities, though, of course, I've never seen CPanel's perl code. ckpeter 06-16-2002, 10:48 AM No. H-sphere uses server-side java, so the clients do not have to be java capable. This is just like when you visit a site coded in server-side java, you don't need a java VM. (Look for pages ended in jsp). Of course, specific functionality of H-sphere may depend on java (maybe a file manager, I don't know). Peter ckpeter 06-16-2002, 10:50 AM Originally posted by Zalbag How exactly would you program a control panel, for the web, in C/C++? You usually program it in some kind of server-side scripting language, such as php or perl, then from those scripts you call external components that are written in C/C++. Of course, you can have the whole control panel written in C/C++, including the web interface. But I don't think C/C++ is the most productive language when it comes to CGI scripting and HTML formatting. Peter MaB 06-17-2002, 09:13 AM SimpleCP is pure perl using a MySQL driven database to keep all its information. ToastyX 06-17-2002, 03:08 PM Originally posted by Zalbag How exactly would you program a control panel, for the web, in C/C++? A compiled C program can execute as a CGI script. jbuckle 06-17-2002, 03:21 PM In general windows CP's use com. Usualy wirtten in c++ or VB. Im writting mine in VB and the com is run as an admin. :-) |