|
Your requirements are simple enough that literally almost anything will do. A classic PERL CGI gateway could do this with flat files in a heartbeat.
Just pick a platform that interests you and call it a learning experience. If you really want to have a look outside of your normal stomping grounds and into modern web applications, have a look at the MEAN stack for the full-JavaScript experience, or make it a Go project, or play with Ruby on Rails, or even Python.
Or just write it in C++; there are plenty of web server libraries available in the OSS world.
"There are three kinds of lies: lies, damned lies and statistics."
- Benjamin Disraeli
|
|
|
|
|
First, go through the pain of setting up a server on the cloud. Here's[^] the steps for setting up an EC2 instance (most of it applies to Azure if you want to use that instead.) Consider whether you need/want/should implement SSL so your site, even for "not highly confidential" data, using SSL to encrypt the data between the server and client.
As to language on the server, obviously I'd recommend C#.
For a database, sounds like SQL Express would be more than sufficient, or you could see if MongoDB fits the bill.
Decide whether you're data needs something as complicated an Entity Framework, or you want to stick with something a bit more lightweight like Linq2SQL. If you go the NoSQL route, read up on MongoDB with Entity Framework[^].
Decide on ASP.NET, Razor/MVC (or whatever the right combination of acronyms is) or whether you need something that complicated to serve pages (it seems like you need only one page?) so maybe just a straight forward roll-your-own server is sufficient. (The latter is what I do even for bigger sites, I just can't deal with the cruft of things like ASP.NET and Razor. I wrote a free e-book[^] on rolling your own server.)
Even for a single page, I'd highly recommend you use jQuery.
Do you need more interesting controls? Look at something like jqWidgets.
Do you need a menu and make the site mobile friendly? Look at Bootstrap.
Are you wanting to do single page application (SPA)? Look at something like Bootstrap, Angular, etc.
Do you need simple databinding of objects to widgets on the page? Knockout and their ilk might be useful, then again, even something as simple as Knockout might be overkill for what you need.
Before you write any Javascript or put together any HTML, implement all your client-side functionality as REST calls and write tests for them, because then you can just write the callbacks as get/post AJAX calls using jQuery.
Even if you go the LAMP route, use something like node.js, or a lightweight server like Python's Bottle[^] (which I use on a Beaglebone single board computer, it's great), realize that most of your time will be spent on fussing with Javascript, HTML and CSS.
That's the general idea / decision making tree. Good luck. Ping me if you need help with something, assuming I know something.
Marc
|
|
|
|
|
Depends on the language we use...
But it is always put me in good mood, when someone calls me that way, especially when that someone clearly has no idea what to do without my stupidity...
It is a good day!
Skipper: We'll fix it.
Alex: Fix it? How you gonna fix this?
Skipper: Grit, spit and a whole lotta duct tape.
|
|
|
|
|
That's pretty stom of you
Ik vind ook dat je stupid bent
|
|
|
|
|
Ishkh khakfe andu null!
Skipper: We'll fix it.
Alex: Fix it? How you gonna fix this?
Skipper: Grit, spit and a whole lotta duct tape.
|
|
|
|
|
That's easy for you to say!
Anything that is unrelated to elephants is irrelephant Anonymous
- The problem with quotes on the internet is that you can never tell if they're genuine Winston Churchill, 1944
- I'd just like a chance to prove that money can't make me happy. Me, all the time
|
|
|
|
|
Be careful, you might summon the great lord Cthulhu
|
|
|
|
|
Duck! Here comes Smaug!
- I would love to change the world, but they won’t give me the source code.
|
|
|
|
|
Here we go with an easy peasy. Sorry for not posting it on Friday, pals
O~Z-< (5 )
|
|
|
|
|
Friday: spear
Today: torch
Skipper: We'll fix it.
Alex: Fix it? How you gonna fix this?
Skipper: Grit, spit and a whole lotta duct tape.
|
|
|
|
|
Spear -> 2w
Torch -> 1B
I didn't post any on Friday btw 
|
|
|
|
|
I didn't answered either...
Skipper: We'll fix it.
Alex: Fix it? How you gonna fix this?
Skipper: Grit, spit and a whole lotta duct tape.
|
|
|
|
|
Oh Okiee.
I actually took the Friday and today thingies that way :DumboMeEmoticon:
|
|
|
|
|
SHAKE your HANDS in the air like you just dont care!
=> DANCE
Rules for the FOSW ![ ^]
if(this.signature != "")
{
MessageBox.Show("This is my signature: " + Environment.NewLine + signature);
}
else
{
MessageBox.Show("404-Signature not found");
}
|
|
|
|
|
|
yis i got it
Rules for the FOSW ![ ^]
if(this.signature != "")
{
MessageBox.Show("This is my signature: " + Environment.NewLine + signature);
}
else
{
MessageBox.Show("404-Signature not found");
}
|
|
|
|
|
You're awesome ))
|
|
|
|
|
One flagrant design issue with web page is the 'alert' method.
You have to close the popup before you can close the window / tab!
Just stumbled on a malicious web page which spew some sounds file warning you have a virus and then made itself top most and kept an always open alert dialog (re-open it as soon as I close it)
I had to kill Chrome with the task manager, losing all my other tabs!!!
Now I wonder.... is there a way to disable model alert dialog that prevent tab closing in chrome?
|
|
|
|
|
|
Thanks for the interesting link!
They mention chrome extension in the link... Which I just tried one without success...
On the other hand I notice that once clicked the first popup, the second one has a checkbox "prevent further message box" (which I suspect is an inbuilt chrome feature)
problem solved!
|
|
|
|
|
I had the same problem and was about to mention the "prevent..." option but you found it already. I hate web pages that think they are making you like them and more likely to buy their product by trying to force you! What on earth do they hope to achieve?
- I would love to change the world, but they won’t give me the source code.
|
|
|
|
|
Well, these people were obviously crook, hoping to trick me into buying their spyware / virus...
|
|
|
|
|
That's one benefit of Firefox - the alert popup is only modal to the page that triggers it. It doesn't block any other tab, or the browser's UI.
"These people looked deep within my soul and assigned me a number based on the order in which I joined."
- Homer
|
|
|
|
|
That's a good selling point!
|
|
|
|
|
Although it does mean you can end up with lots and lots of pop-ups all at once.
- I would love to change the world, but they won’t give me the source code.
|
|
|
|