Which web programming language should i use
-
- Posts: 212
- Joined: Sun Jul 19, 2009 4:24 am
- Location: Netherlands Antilles, Curacao
Which web programming language should i use
Hey,
I know this is not a website forum but i though i could ask this little question here tho, I wish to create a website, i have programming experience in c++, delphi, visual basic and html. I am not new to the programming world but i don't know which language i will have to use to achieve what i want, what i want is that i want to create 2 pages.1 page named Admin.html and another named News.html...in Admin.html there is an editbox and a button(with the caption submit) and when i enter a text in the editbox and click on the button it appears on News.html, if i repeat the process 2 times i will want to see all the text's i have typed in News.html.
The problem is that i don't know which language i must use to achieve what i want...
Thank you in advanced.
PS: if there is something you did not understand from my post pleas let me know.
I know this is not a website forum but i though i could ask this little question here tho, I wish to create a website, i have programming experience in c++, delphi, visual basic and html. I am not new to the programming world but i don't know which language i will have to use to achieve what i want, what i want is that i want to create 2 pages.1 page named Admin.html and another named News.html...in Admin.html there is an editbox and a button(with the caption submit) and when i enter a text in the editbox and click on the button it appears on News.html, if i repeat the process 2 times i will want to see all the text's i have typed in News.html.
The problem is that i don't know which language i must use to achieve what i want...
Thank you in advanced.
PS: if there is something you did not understand from my post pleas let me know.
Re: Which web programming language should i use
You could probably just use a content management system. These have some security features and other useful things.
If you really don't want to use one I guess you could use html + php to achieve this. Also you could grab some javascript WYSIWYG editor and integrate it so you wouldn't have to write html stuff yourself. Php will be pretty much similar to c++.
I've done one something like this myself and hosted it somewhere on a free host server but I doubt I will remember what host I used.
Edit: Seams the files were erased due to my inactivity :/
If you really don't want to use one I guess you could use html + php to achieve this. Also you could grab some javascript WYSIWYG editor and integrate it so you wouldn't have to write html stuff yourself. Php will be pretty much similar to c++.
I've done one something like this myself and hosted it somewhere on a free host server but I doubt I will remember what host I used.
Edit: Seams the files were erased due to my inactivity :/
Working on game: Marrbles (Currently stopped).
Re: Which web programming language should i use
I guess it is possible to do even with pure Javascript.Lil Margin wrote:Hey,
i want to create 2 pages.1 page named Admin.html and another named News.html...in Admin.html there is an editbox and a button(with the caption submit) and when i enter a text in the editbox and click on the button it appears on News.html, if i repeat the process 2 times i will want to see all the text's i have typed in News.html.
-
- Posts: 212
- Joined: Sun Jul 19, 2009 4:24 am
- Location: Netherlands Antilles, Curacao
Re: Which web programming language should i use
Hmmmm ok, i started to look in php...today i got to install it locally on my pc... so i guess its all good, thanks guys
Re: Which web programming language should i use
Is it? iirc you need server side language to do this.greenya wrote:I guess it is possible to do even with pure Javascript.Lil Margin wrote:Hey,
i want to create 2 pages.1 page named Admin.html and another named News.html...in Admin.html there is an editbox and a button(with the caption submit) and when i enter a text in the editbox and click on the button it appears on News.html, if i repeat the process 2 times i will want to see all the text's i have typed in News.html.
Working on game: Marrbles (Currently stopped).
Re: Which web programming language should i use
Javascript allows to read and write cookies, so first page sets and the second one reads it.Is it? iirc you need server side language to do this.
-
- Posts: 1186
- Joined: Fri Dec 29, 2006 12:04 am
Re: Which web programming language should i use
Sorry, this is nonsense. It doesn't work with JavaScript.
"Whoops..."
Re: Which web programming language should i use
This. If your provider supports it use something like Wordpress.serengeor wrote:You could probably just use a content management system.
IRC: #irrlicht on irc.libera.chat
Code snippet repository: https://github.com/mzeilfelder/irr-playground-micha
Free racer made with Irrlicht: http://www.irrgheist.com/hcraftsource.htm
Code snippet repository: https://github.com/mzeilfelder/irr-playground-micha
Free racer made with Irrlicht: http://www.irrgheist.com/hcraftsource.htm
Re: Which web programming language should i use
Learn PHP and how to use MySQL, eventually some XML parsers.Lil Margin wrote:Hey,
i want to create 2 pages.1 page named Admin.html and another named News.html...in Admin.html there is an editbox and a button(with the caption submit) and when i enter a text in the editbox and click on the button it appears on News.html, if i repeat the process 2 times i will want to see all the text's i have typed in News.html.
First page insert data into database/xml file, second page reads it.
Or thisCuteAlien wrote:This. If your provider supports it use something like Wordpress.serengeor wrote:You could probably just use a content management system.
greenya wrote:Javascript allows to read and write cookies, so first page sets and the second one reads it.Is it? iirc you need server side language to do this.
But seriously, it's possible to do this using only pure JavaScript.
All is needed, to use some pastebin like website (with edit ability) and connect to it through AJAX requests.
Firsty, you create new pastebin paste and set password to have edit ability.
Admin page edits this pastebin paste using admin password, News page just read paste page, parse it and send it to browser.
Re: Which web programming language should i use
Even better, create a blackhole in server. It will suck in the news automatically, though not sure about the possibility of retrieving themkazymjir wrote: But seriously, it's possible to do this using only pure JavaScript.
All is needed, to use some pastebin like website (with edit ability) and connect to it through AJAX requests.
Firsty, you create new pastebin paste and set password to have edit ability.
Admin page edits this pastebin paste using admin password, News page just read paste page, parse it and send it to browser.
Working on game: Marrbles (Currently stopped).
Re: Which web programming language should i use
Hmmm, according to Stephen Hawking theories, we can try to open a wormhole, but bills for power consumption to hold wormhole open all the time on server may be a bit too high.
edit:
Hey, I found cheaper solution! We can use MORSE CODE!
This will require an additional optics used to send data and also require to hire worker who will work as human-server.
I made an illustration:
edit:
Hey, I found cheaper solution! We can use MORSE CODE!
This will require an additional optics used to send data and also require to hire worker who will work as human-server.
I made an illustration:
-
- Posts: 212
- Joined: Sun Jul 19, 2009 4:24 am
- Location: Netherlands Antilles, Curacao
Re: Which web programming language should i use
LMAO, by the way guys i have picked up a book on php and since its familliar too c++ i picked it up fast and i already made that news page i wanted, instead of using a database i just used plain text.
Re: Which web programming language should i use
Checkout gwt its actually pretty cool and lets you code all logic in java.
http://code.google.com/intl/de/webtoolkit/
http://code.google.com/intl/de/webtoolkit/
We're programmers. Programmers are, in their hearts, architects, and the first thing they want to do when they get to a site is to bulldoze the place flat and build something grand. We're not excited by renovation:tinkering,improving,planting flower beds.
Re: Which web programming language should i use
Looking interesting, but this thing may be too hard to learn for newbie.Sudi wrote:Checkout gwt its actually pretty cool and lets you code all logic in java.
http://code.google.com/intl/de/webtoolkit/
http://jquery.com/ is a better solution.
Re: Which web programming language should i use
Actually jQuery doesn't address his problem. Its only a client side lib which gives you a nice api to make the interface appealing and connect to the backend. But you still have to code the backend.kazymjir wrote:Looking interesting, but this thing may be too hard to learn for newbie.Sudi wrote:Checkout gwt its actually pretty cool and lets you code all logic in java.
http://code.google.com/intl/de/webtoolkit/
http://jquery.com/ is a better solution.
GWT on the other side is the complete deal. It makes writing the frontend an backend a brease. Besides writing javascript can be really tedious. Having java at your disposal for clientside coding is actually pretty nice. Redeuces stupid type errors by 100%.
So if you want to create a webApplication(means has a frontend(webpage) and a backend(that actually does stuff like access a db or whatever)) then gwt is actually one of the easiest things you can use. Even for a beginner.
Edit: Another option would be RubyOnRails which is as well pretty easy and powerfull
Or if you want to get adventures you could create your own webserver with node.js but yeah that would be actually not a valid option for him bc you just want to create a webapp
Edit2: RubyOnRails: http://rubyonrails.org/
We're programmers. Programmers are, in their hearts, architects, and the first thing they want to do when they get to a site is to bulldoze the place flat and build something grand. We're not excited by renovation:tinkering,improving,planting flower beds.