Dev Shed Lounge
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsOtherDev Shed Lounge

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
Get inside! Sample the range of functionality easily built with JMSL Library for Time Series Data Analysis, Heat Maps, Portfolio Optimization, Monte Carlo Simulation, Stock Price Charting and more. Download Now!
  #1  
Old January 2nd, 2003, 10:10 PM
jpenn's Avatar
jpenn jpenn is offline
Contributing User
Dev Shed Frequenter (2500 - 2999 posts)
 
Join Date: Jun 2002
Location: Washington, DC
Posts: 2,693 jpenn User rank is Sergeant (500 - 2000 Reputation Level)jpenn User rank is Sergeant (500 - 2000 Reputation Level)jpenn User rank is Sergeant (500 - 2000 Reputation Level)jpenn User rank is Sergeant (500 - 2000 Reputation Level)jpenn User rank is Sergeant (500 - 2000 Reputation Level) 
Time spent in forums: 5 h 41 m 10 sec
Reputation Power: 16
Arrow Hey - what do you guys think about this

I just had an idea spring up in my head. I can build a standalone client side GUI application for configuring Apache and PHP (the configuration files) and provide help topics for all the specific values. I would build it using Mozilla and the related technologies. So, I can take the base mozilla tree and strip it down of all the browser code and all uneeded code and rebuild the source, wrap my XUL code around the engine and package it as an executable installer for windows and a zipped source for unix.

Using the above, I can write an article on how I did the application and others can use the article for a starting point in creating thier own standalone GUI applications using mozilla.

Hows that sound? Give me some feedback - or some other possibles for small standalone administration applications that may be helpful to users...
__________________
~ Joe Penn

Reply With Quote
  #2  
Old January 2nd, 2003, 10:26 PM
AlCapone's Avatar
AlCapone AlCapone is offline
Mobbing Gangster
Dev Shed Demi-God (4500 - 4999 posts)
 
Join Date: Sep 2001
Location: "Best City" 2002 and 2003- Melbourne, Australia
Posts: 4,913 AlCapone User rank is Sergeant (500 - 2000 Reputation Level)AlCapone User rank is Sergeant (500 - 2000 Reputation Level)AlCapone User rank is Sergeant (500 - 2000 Reputation Level)AlCapone User rank is Sergeant (500 - 2000 Reputation Level)AlCapone User rank is Sergeant (500 - 2000 Reputation Level) 
Time spent in forums: 5 h 36 m 31 sec
Reputation Power: 17
Send a message via ICQ to AlCapone Send a message via AIM to AlCapone Send a message via Yahoo to AlCapone
Erm, sounds like a good thing to do for yourself to learn mozilla stuff further, but I really doubt it will be of any use to anyone else. Simply because when you install php and apache, they intergate so nicely you don't even have to edit anything (besides may be AddType, but even newbies can do that)
__________________
And you know I mean that.

Reply With Quote
  #3  
Old January 3rd, 2003, 01:01 AM
rycamor rycamor is offline
Gödelian monster
Dev Shed Regular (2000 - 2499 posts)
 
Join Date: Jul 1999
Location: Pembroke Pines, Florida, USA
Posts: 2,300 rycamor User rank is Sergeant Major (2000 - 5000 Reputation Level)rycamor User rank is Sergeant Major (2000 - 5000 Reputation Level)rycamor User rank is Sergeant Major (2000 - 5000 Reputation Level)rycamor User rank is Sergeant Major (2000 - 5000 Reputation Level)rycamor User rank is Sergeant Major (2000 - 5000 Reputation Level)rycamor User rank is Sergeant Major (2000 - 5000 Reputation Level) 
Time spent in forums: 3 Days 3 h 2 m 4 sec
Reputation Power: 43
Actually, I think it would be kind of cool.
Quote:
because when you install php and apache, they intergate so nicely you don't even have to edit anything

That's true, if you are happy with the default install. There are those of us who enjoy tweaking things, and I do get tired ot SSH-ing to my server, navigating to /usr/local/lib/php.ini or /etc/apache/php.ini, firing up vi or pico, editing, and then running 'apachectl restart'.

Also, remember that the php.ini file is an INI file. Thus, this program could be expanded to work on any INI file. PHP itself has functions for using INI files, and I find it very convenient to use them to configure some of my larger applications. Thus, you could use Joe's application as a generic client for your users to configure PHP apps that you distribute.

So, I say do it, but also think about making it a more generic "configuration management" library, instead of just an Apache/PHP configuration system.

OK stop twisting my arm. I'll do it with you
__________________
The real n-tier system:

FreeBSD -> PostgreSQL -> [any_language] -> Apache -> Mozilla/XUL

Amazon wishlist -- rycamor (at) gmail.com

Reply With Quote
  #4  
Old January 3rd, 2003, 01:36 AM
jpenn's Avatar
jpenn jpenn is offline
Contributing User
Dev Shed Frequenter (2500 - 2999 posts)
 
Join Date: Jun 2002
Location: Washington, DC
Posts: 2,693 jpenn User rank is Sergeant (500 - 2000 Reputation Level)jpenn User rank is Sergeant (500 - 2000 Reputation Level)jpenn User rank is Sergeant (500 - 2000 Reputation Level)jpenn User rank is Sergeant (500 - 2000 Reputation Level)jpenn User rank is Sergeant (500 - 2000 Reputation Level) 
Time spent in forums: 5 h 41 m 10 sec
Reputation Power: 16
Quote:
OK stop twisting my arm. I'll do it with you

Lol... (twisting my rycamor voodoo doll's arm)

lets do the PostgreSQL GUI Admin. Like phpMyAdmin, only a GUI'ized desktop standalone version - that would be awesome.

<stateOfConfusion>
Is GUI'ized even a word
</stateOfConfusion>


Reply With Quote
  #5  
Old January 3rd, 2003, 01:43 AM
AlCapone's Avatar
AlCapone AlCapone is offline
Mobbing Gangster
Dev Shed Demi-God (4500 - 4999 posts)
 
Join Date: Sep 2001
Location: "Best City" 2002 and 2003- Melbourne, Australia
Posts: 4,913 AlCapone User rank is Sergeant (500 - 2000 Reputation Level)AlCapone User rank is Sergeant (500 - 2000 Reputation Level)AlCapone User rank is Sergeant (500 - 2000 Reputation Level)AlCapone User rank is Sergeant (500 - 2000 Reputation Level)AlCapone User rank is Sergeant (500 - 2000 Reputation Level) 
Time spent in forums: 5 h 36 m 31 sec
Reputation Power: 17
Send a message via ICQ to AlCapone Send a message via AIM to AlCapone Send a message via Yahoo to AlCapone
*sigh* I'm still sceptical. Those who can tune apache and php for best performance under their conditions don't need such app. Those who don't know how to config either one of those, most of the times can't be bothered with another app...

There're about 10 things I change in php.ini from default install. As for apache - ****loads of chagnes, but they differ from server to server. There's just now way you can create one app for take care of all cases.

Reply With Quote
  #6  
Old January 3rd, 2003, 02:02 AM
jpenn's Avatar
jpenn jpenn is offline
Contributing User
Dev Shed Frequenter (2500 - 2999 posts)
 
Join Date: Jun 2002
Location: Washington, DC
Posts: 2,693 jpenn User rank is Sergeant (500 - 2000 Reputation Level)jpenn User rank is Sergeant (500 - 2000 Reputation Level)jpenn User rank is Sergeant (500 - 2000 Reputation Level)jpenn User rank is Sergeant (500 - 2000 Reputation Level)jpenn User rank is Sergeant (500 - 2000 Reputation Level) 
Time spent in forums: 5 h 41 m 10 sec
Reputation Power: 16
Well, whole idea behind it would be to answer alot of questions (and I mean alot of questions) that users have for specific settings. We all see questions asked over and over about certain settings in the config ini file (using php as example); what setting changes this, what setting changes that. Now, using such an application we can present the user with an administration center where each setting can be easily changed and provide help keys (or explanations) integrated into the app for each of the settings in a pop-up gui window; showing normal settings and examples of custom settings. The app can also be plugged to roll back settings to the default values.

I think I can strip down moz enough to where the application core would only weigh in at a couple megs max (if that) - the overlays and documentation wouldn't weigh much at all.

Speaking of stripping down moz - I will try to strip a release and create a core this weekend; keep it on hand for other apps also - maybe post a link to the core in the XUL forum...

Reply With Quote
  #7  
Old January 3rd, 2003, 03:02 AM
MJEggertson MJEggertson is offline
Contributing User
Dev Shed Novice (500 - 999 posts)
 
Join Date: Jan 2002
Location: Seattle WA
Posts: 863 MJEggertson User rank is Corporal (100 - 500 Reputation Level)MJEggertson User rank is Corporal (100 - 500 Reputation Level)MJEggertson User rank is Corporal (100 - 500 Reputation Level)MJEggertson User rank is Corporal (100 - 500 Reputation Level) 
Time spent in forums: 22 sec
Reputation Power: 8
I wouldn't be interested in the use of the application, I don't run any real servers myself (except localhost test ones). But I'd love to get my feet wet learning how to program Mozilla.

I've gotten fairly deep into Explorer, and I'd love to do the same for a...less Microsoftish browser since it would lend my app's much more portability.

Reply With Quote
  #8  
Old January 3rd, 2003, 08:14 AM
dcaillouet's Avatar
dcaillouet dcaillouet is offline
Big Endian
Dev Shed Beginner (1000 - 1499 posts)
 
Join Date: May 2001
Location: Fly-over country
Posts: 1,173 dcaillouet User rank is Sergeant (500 - 2000 Reputation Level)dcaillouet User rank is Sergeant (500 - 2000 Reputation Level)dcaillouet User rank is Sergeant (500 - 2000 Reputation Level)dcaillouet User rank is Sergeant (500 - 2000 Reputation Level)dcaillouet User rank is Sergeant (500 - 2000 Reputation Level) 
Time spent in forums: 16 h 29 m 5 sec
Reputation Power: 24
If I was going to create a configuration / managment tool for Apache, I would take a look at the products from Covalent. They have an online demo which will let you look at all the screens to setup and monitor Apache. While it may not be possible to incorporate all the features of this product, I thought looking at it might give you some ideas.

Reply With Quote
  #9  
Old January 3rd, 2003, 08:31 AM
rod k rod k is offline
Apprentice Deity
Dev Shed Loyal (3000 - 3499 posts)
 
Join Date: Jul 1999
Location: Niagara Falls (On the wrong side of the gorge)
Posts: 3,237 rod k User rank is Private First Class (20 - 50 Reputation Level)rod k User rank is Private First Class (20 - 50 Reputation Level) 
Time spent in forums: 4 m 8 sec
Reputation Power: 13
Send a message via AIM to rod k
Interesting idea. It would be a great project in XUL masturbation (no offense) but I have to agree with Al. The practical application is limited. "REAL" servers running *nix aren't likely to have a GUI running anyway.

What would be more interesting to see would be an app which could do this remotely (speaking to a deamon on the server perhaps?)

I could also see the benefit of having this edit configuration directives that are available via .htaccess for shared servers. Of course, THIS could be done via a web interface.
__________________
FSBO (For Sale By Owner) Realty

Reply With Quote
  #10  
Old January 3rd, 2003, 10:54 AM
jpenn's Avatar
jpenn jpenn is offline
Contributing User
Dev Shed Frequenter (2500 - 2999 posts)
 
Join Date: Jun 2002
Location: Washington, DC
Posts: 2,693 jpenn User rank is Sergeant (500 - 2000 Reputation Level)jpenn User rank is Sergeant (500 - 2000 Reputation Level)jpenn User rank is Sergeant (500 - 2000 Reputation Level)jpenn User rank is Sergeant (500 - 2000 Reputation Level)jpenn User rank is Sergeant (500 - 2000 Reputation Level) 
Time spent in forums: 5 h 41 m 10 sec
Reputation Power: 16
Ok - what about a GUI'ized (there I go with that word again) standalone for DB administration - like phpmyadmin, only a double duty one that works for both PostgreSQL and MySQL that can be plugged for multiple database servers. Does that sound like a good one? Is that a little overkill, or does it sound like it could be a winning application? Let me know, the mind is open for some quality feedback from you guys.....

Reply With Quote
  #11  
Old January 3rd, 2003, 11:44 AM
rycamor rycamor is offline
Gödelian monster
Dev Shed Regular (2000 - 2499 posts)
 
Join Date: Jul 1999
Location: Pembroke Pines, Florida, USA
Posts: 2,300 rycamor User rank is Sergeant Major (2000 - 5000 Reputation Level)rycamor User rank is Sergeant Major (2000 - 5000 Reputation Level)rycamor User rank is Sergeant Major (2000 - 5000 Reputation Level)rycamor User rank is Sergeant Major (2000 - 5000 Reputation Level)rycamor User rank is Sergeant Major (2000 - 5000 Reputation Level)rycamor User rank is Sergeant Major (2000 - 5000 Reputation Level) 
Time spent in forums: 3 Days 3 h 2 m 4 sec
Reputation Power: 43
Quote:
Originally posted by rod k
What would be more interesting to see would be an app which could do this remotely (speaking to a deamon on the server perhaps?)

This is how I was thinking anyway. But it wouldn't really need a daemon. Just connect by SSL to a Perl script with some sudo rights. Require strong passwords, give the ability to restrict by IP address, and there you go.

I think its a good project because it could be a generic system for managing many different config files, instead of just Apache/PHP. That could prove useful. Also, it would be a fairly simple project to work on. Nice way to get started with XUL.

The database GUI project is one jpenn & I were discussing earlier. I definitely want to do that also, but it will require some serious work.

Reply With Quote
  #12  
Old January 3rd, 2003, 03:13 PM
bricker42 bricker42 is offline
Moderator =(8^(|)
Dev Shed Intermediate (1500 - 1999 posts)
 
Join Date: Feb 2002
Location: Sacramento, CA
Posts: 1,710 bricker42 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 20 m 38 sec
Reputation Power: 8
Send a message via AIM to bricker42
What about making it (or maybe part of it) a distributed app? Since mozilla can load XUL files over HTTP, you could serve the GUI for the app from the same server where the PERL backend was running. It would save the download of the stripped-down gecko engine.

Maybe two apps here, a local, larger, desktop app, capable of monitoring/configure apache/php/rdbms/etc, and a handful of smaller XUL/PERL setups just for each one. So you want apache, you go to apache.xul, php is php.xul, etc. The desktop app would be bundling of all the .xul files, along with the ability to connect to multiple arbitrary servers, rather than a predefined one the way the served files would operate.
__________________
-james

Reply With Quote
  #13  
Old January 3rd, 2003, 03:51 PM
jpenn's Avatar
jpenn jpenn is offline
Contributing User
Dev Shed Frequenter (2500 - 2999 posts)
 
Join Date: Jun 2002
Location: Washington, DC
Posts: 2,693 jpenn User rank is Sergeant (500 - 2000 Reputation Level)jpenn User rank is Sergeant (500 - 2000 Reputation Level)jpenn User rank is Sergeant (500 - 2000 Reputation Level)jpenn User rank is Sergeant (500 - 2000 Reputation Level)jpenn User rank is Sergeant (500 - 2000 Reputation Level) 
Time spent in forums: 5 h 41 m 10 sec
Reputation Power: 16
Quote:
The database GUI project is one jpenn & I were discussing earlier. I definitely want to do that also, but it will require some serious work.

Yes - I think that would turn out to be a long term project...

Quote:
What about making it (or maybe part of it) a distributed app? Since mozilla can load XUL files over HTTP, you could serve the GUI for the app from the same server where the PERL backend was running. It would save the download of the stripped-down gecko engine.

Sounds great - didn't even think about that. The overlays/xul/script files wouldn't wiegh much at all with that scenerio. That would also make application updates and plugging new features in on the fly simplistic....

Reply With Quote
  #14  
Old January 3rd, 2003, 03:58 PM
Onslaught's Avatar
Onslaught Onslaught is offline
/(bb|[^b]{2})/
Dev Shed Demi-God (4500 - 4999 posts)
 
Join Date: Nov 2001
Location: Somewhere in the great unknown
Posts: 4,834 Onslaught User rank is Second Lieutenant (5000 - 10000 Reputation Level)Onslaught User rank is Second Lieutenant (5000 - 10000 Reputation Level)Onslaught User rank is Second Lieutenant (5000 - 10000 Reputation Level)Onslaught User rank is Second Lieutenant (5000 - 10000 Reputation Level)Onslaught User rank is Second Lieutenant (5000 - 10000 Reputation Level)Onslaught User rank is Second Lieutenant (5000 - 10000 Reputation Level)Onslaught User rank is Second Lieutenant (5000 - 10000 Reputation Level) 
Time spent in forums: 1 Day 23 h 30 m 30 sec
Reputation Power: 88
Send a message via ICQ to Onslaught
Have any of you heard of webmin?
http://www.webmin.com/

It is perl based (I believe) you can do just about full remote administration of a server with it.