How do you do things like this?

TridenT

Lifer
Sep 4, 2006
16,800
45
91
I'm just wondering what kind of languages you would use and what you need to know to implement something like this. I am interested in building something quite similar, but actually updated and allow for multiple administrators as well as having many more cities.

Normally I would not bother, but I've tried emailing the administrator multiple times... they never update anything. And so I can only assume they don't even check the email for the thing anymore.
 

Cogman

Lifer
Sep 19, 2000
10,286
147
106
That is done using Microsofts IIS, Microsoft SQL, and one of microsofts ASP languages (C# or VB).

I'm guessing, that this is an older forms based webpage given the aspx tag is visible.

There are several web frameworks out there that can do something like this (probably better than what this had at the time). Ruby on Rails, Django, Microsoft MVC, etc. should all be good choices. Heck, you could even do something like this in plain jane PHP (not really recommended.)
 

Leros

Lifer
Jul 11, 2004
21,867
7
81
The link is throwing an error. By Cogman's reply, I'm guessing this is some kind webapp.

I'm personally a fan of using a Tomcat server, writing Java servlets, and backing it with a MySQL database.
 

TridenT

Lifer
Sep 4, 2006
16,800
45
91
The link is throwing an error. By Cogman's reply, I'm guessing this is some kind webapp.

I'm personally a fan of using a Tomcat server, writing Java servlets, and backing it with a MySQL database.

Yeah. The website has been having errors very recently. It didn't do it at all before. Now it's broken...
 

Ken g6

Programming Moderator, Elite Member
Moderator
Dec 11, 1999
16,836
4,815
75
It's up now, and looks like pretty much a database dump page. Ruby on Rails is good for this, among others listed.

As for doing it yourself, just be very careful to avoid SQL injection vulnerabilities.
 

TridenT

Lifer
Sep 4, 2006
16,800
45
91
Which do you guys think would be better to try out? I'm wanting to learn more about PHP/MySQL(No experience on the MySQL. Barely anything with PHP) because it seems like such a common language.
 

Cogman

Lifer
Sep 19, 2000
10,286
147
106
Which do you guys think would be better to try out? I'm wanting to learn more about PHP/MySQL(No experience on the MySQL. Barely anything with PHP) because it seems like such a common language.

Once you pick up one, you'll pretty much have them all.

I would probably do ruby on rails just because it is well documented, plays nicely with MySQL, and it is easy to get something that looks good up quick. It also helps that they try to make doing things the wrong way feel awkward, that will hopefully give you some good baseline standards.

I wouldn't really recommend doing plain jane php/mysql. While it is doable, it doesn't really give you a lot of useful tools to start with. Some sort of framework will provide you with lots of tools to get stuff done fast.
 

BigDH01

Golden Member
Jul 8, 2005
1,631
88
91
I'm just wondering what kind of languages you would use and what you need to know to implement something like this. I am interested in building something quite similar, but actually updated and allow for multiple administrators as well as having many more cities.

That is an ASP.NET web form. If you view the source you'll see a ViewState, which is a dead giveaway (as is the aspx extension). The control used is almost certainly a gridview and the filters and sorting functions are causing full page postbacks, so it doesn't appear that update panels are used at all.

Some of that javascript is quite old. Found this little nugget in the source.

Code:
if (document.all) { //IS IE 4 or 5 (or 6 beta)

			//eval( "document.all." + layer_ref + ".style.visibility = state");

			

			eval( "document.all." + layer_ref + ".style.display = state");			

			}

			if (document.layers) { //IS NETSCAPE 4 or below

			document.layers[layer_ref].display = state;

			}

IE6 beta representing.
 

TridenT

Lifer
Sep 4, 2006
16,800
45
91
Looked at part of this part 1 (It's like 6+ hours total) of this one day intro to Ruby on Rails thing on youtube that is done by some university in california... It doesn't look that easy. >.> Oh, and I need to find servers that will actually do ruby on rails too! How common are those for CHEAP? (Think 1&1 cheap) I think doing PHP/MySQL with some JScript would be better. That stuff seems ubiquitous.
 

Ken g6

Programming Moderator, Elite Member
Moderator
Dec 11, 1999
16,836
4,815
75
OK, maybe RoR isn't the best for your requirements. But PHP isn't the best either. For instance, Google App Engine supports Django on Python, and is free for <5M page hits/month.
 

TridenT

Lifer
Sep 4, 2006
16,800
45
91
You're all giving me very different responses... Not sure which is actually worth going for. :\

RoR is not that well supported on cheap hosting from what I've seen previously. PHP/MySQL is pretty much required on any platform. That's why I am in favor of it. I'm just looking for good resources (books, online material) to learn more about how to do this stuff I've seen. I really want to do this ASAP.
 

TridenT

Lifer
Sep 4, 2006
16,800
45
91
Bump.

Anyone got ideas for software that could already implement some of this so I don't have to start from scratch?
 

TridenT

Lifer
Sep 4, 2006
16,800
45
91
That expensive and much more powerful than what the OP needs.

Trident: Cheap hosts all tend to have PHP. I don't personally like it if given a choice, but PHP will get the job done and there is a lot of information about it online.

Yeah, but I don't have a single clue how to go about starting this. :/ If there was a program that already implemented a lot of what this is then I would be happy to start there, but I don't see it. :(
 

Ken g6

Programming Moderator, Elite Member
Moderator
Dec 11, 1999
16,836
4,815
75
Yeah, but I don't have a single clue how to go about starting this. :/ If there was a program that already implemented a lot of what this is then I would be happy to start there, but I don't see it. :(

You want something simpler than Django or RoR? Well, that's not going to be easy to find. I checked Google Apps, and they don't have an MS Access equivalent - yet. They are working on something like that, though. It might be what you want; I'm really not sure.
 

Ka0t1x

Golden Member
Jan 23, 2004
1,724
0
71
If you wanted to go the rails route I think DreamHost would cover you.

http://rails.dreamhosters.com/

What you're asking to do .. in rails would probably be two or three commands and then some HTML/CSSing to get that result.
 
Last edited:

Cogman

Lifer
Sep 19, 2000
10,286
147
106
Yeah, but I don't have a single clue how to go about starting this. :/ If there was a program that already implemented a lot of what this is then I would be happy to start there, but I don't see it. :(

How to get started? Look for every thread here with "beginner" or some similar word and read up on the suggestions listed on how to get started.

There isn't a "Implement everything for me" application out there. If you want to duplicate something that someone else has already done, you need to write it yourself or pay someone else to write it for you.

RoR and Django are about as simple as you can get as far as web stuff goes.
 

TridenT

Lifer
Sep 4, 2006
16,800
45
91
If you wanted to go the rails route I think DreamHost would cover you.

http://rails.dreamhosters.com/

What you're asking to do .. in rails would probably be two or three commands and then some HTML/CSSing to get that result.

Maybe just for the output of a database, but there's a lot more to it. I want to create multiple user accounts that manage their listings in the thing. They can be able to update, delete, and create new listings. I want a calendar that shows all the listings and when they actually happen. There's a lot more, and that stuff is just not feasible from scratch. (Especially a login system, etc)
 

AyashiKaibutsu

Diamond Member
Jan 24, 2004
9,306
4
81
Maybe just for the output of a database, but there's a lot more to it. I want to create multiple user accounts that manage their listings in the thing. They can be able to update, delete, and create new listings. I want a calendar that shows all the listings and when they actually happen. There's a lot more, and that stuff is just not feasible from scratch. (Especially a login system, etc)

Stuff like the login system isn't as bad as it sounds. I'm having to rewrite a system from the ground up with the old one as a reference. You just build a set of classes to handle things like login/security.
 

Ka0t1x

Golden Member
Jan 23, 2004
1,724
0
71
Maybe just for the output of a database, but there's a lot more to it. I want to create multiple user accounts that manage their listings in the thing. They can be able to update, delete, and create new listings. I want a calendar that shows all the listings and when they actually happen. There's a lot more, and that stuff is just not feasible from scratch. (Especially a login system, etc)

Its not? Rails is highly extensible. This will give you authorization OOTB, and you can even plug in OAuth, I believe.

https://github.com/plataformatec/devise

http://railscasts.com/episodes/209-introducing-devise

Calendar is relatively simple, as well. Gather all data for current window of time, loop through the actual days of the month and insert data where data exists.

The hardest part to overcome IMO is getting to the correct answers from your currently faced problem.
 
Last edited:

TridenT

Lifer
Sep 4, 2006
16,800
45
91
Its not? Rails is highly extensible. This will give you authorization OOTB, and you can even plug in OAuth, I believe.

https://github.com/plataformatec/devise

http://railscasts.com/episodes/209-introducing-devise

Calendar is relatively simple, as well. Gather all data for current window of time, loop through the actual days of the month and insert data where data exists.

The hardest part to overcome IMO is getting to the correct answers from your currently faced problem.

Not knowing any rails and not being able to find an ultra cheap host for rails doesn't make it seem that plausible. :/