PDA

View Full Version : Best Programing language for web...



stamatiou
December 10th, 2010, 03:40 PM
Hey guys, can you tell me which do you think is the best programing language for web apps and web sites?

r-senior
December 10th, 2010, 04:38 PM
Depends on the web site. A global, highly secure, scalable, distributed web application for a multi-national corporation or a simple comment form on a blog? There are many shades of grey in between.

Even then, "best" may be subjective. What were you thinking of?

stamatiou
December 10th, 2010, 04:53 PM
Depends on the web site. A global, highly secure, scalable, distributed web application for a multi-national corporation or a simple comment form on a blog? There are many shades of grey in between.

Even then, "best" may be subjective. What were you thinking of?
By telling site I mean a fancy site, like facebook or something like that but not a blog..........
By web app I mean games online or things that can be useful........

juancarlospaco
December 10th, 2010, 08:41 PM
Python

stamatiou
December 10th, 2010, 08:42 PM
Python
When you are saying Python you mean Django?

juancarlospaco
December 10th, 2010, 08:46 PM
When you are saying Python you mean Django?

No

You ask for Language, not for FrameWorks.

If for FrameWork go for Web2Py (http://web2py.com/)

A Web2Py (http://web2py.com/) "Hello World" :


return "Hello World"

:)

stamatiou
December 10th, 2010, 08:48 PM
No

You ask for Language, not for FrameWorks.

If for FrameWork go for Web2Py (http://web2py.com/)

A Web2Py (http://web2py.com/) "Hello World" :


return "Hello World":)
My mistake,
1.In web2py is better for blogs I think.....
2.Where can I find a nice tutorial for Python for sites?

juancarlospaco
December 10th, 2010, 08:51 PM
1.In web2py is better for blogs I think.....
2.Where can I find a nice tutorial for Python for sites?

Web2Py is not a Blog, not a CMS, its for any web thingy, sites, markets, forms, blah blah blah...

stamatiou
December 10th, 2010, 09:08 PM
Web2Py is not a Blog, not a CMS, its for any web thingy, sites, markets, forms, blah blah blah...
Yes can you tell me a nice tutorial for creating pages with Python?:p

juancarlospaco
December 10th, 2010, 09:17 PM
http://web2py.com/examples/default/documentation

http://web2py.com/appliances

http://web2py.com/examples/default/examples

stamatiou
December 10th, 2010, 09:19 PM
http://web2py.com/examples/default/documentation

http://web2py.com/appliances

http://web2py.com/examples/default/examples
So for me to design web pages you advise me web2py....:popcorn::P

madjr
December 10th, 2010, 09:28 PM
html5 is the best

stamatiou
December 10th, 2010, 09:30 PM
html5 is the best
Hey guys thanks for your advises bu I would like to ask you politely to:
1.Give reasons why is something better or best.
2.Some online tutorials.
Thanks.....

juancarlospaco
December 10th, 2010, 09:34 PM
html5 is the best

HTML5 is NOT a Programming Language.

HyperText Markup Language

stamatiou
December 10th, 2010, 09:37 PM
HTML5 is NOT a Programming Language.

HyperText Markup Language
Ok let me be more specific, how can I design web pages? With HTML, HTML5, Java, ASP, SQL or what else?

juancarlospaco
December 10th, 2010, 09:45 PM
a "web page" as you say its a summatory of all those things.
just dont use the Propietary ones, stay open and secure...

web2Py uses HTML5 if you want too, you cant program on HTML5.

stamatiou
December 10th, 2010, 09:51 PM
What about Rails?

Dragonbite
December 10th, 2010, 09:57 PM
What's wrong with PHP? It's documented and been around for a long time, Drupal and Joomla are written in PHP, it connects with MySQL easily, is fairly easy to get into and is the "P" in a LAMP server.

juancarlospaco
December 10th, 2010, 10:01 PM
LAMP means Linux Apache Mysql Python, you know it ;)
LOL

I love the Python way, thats it, as i say:

return "Hello World"

I like it because:
Dont need to install nothing, dont need to think about database, or GUI toolkits, dont need to configure nothing,
runs on Windows, Mac, Unix, Linux, Google App Engine, Amazon EC2, Java,
for Database can use SQLite, PostgreSQL, MySQL, MSSQL, FireBird, Oracle, IBM DB2, Informix, Ingres, and Google,
can do HTML5, XML, RSS, ATOM, RTF, PDF, JSON, AJAX, XML-RPC, CSV, REST, WIKI, Flash, AMF, Linked Data, RDF,
SSL-enabled, streaming-capable, JQuery.
Run with LAMP, run *without* LAMP. No Cross Site Scripting, Injection Flaws, and Malicious File Execution.

cgroza
December 10th, 2010, 10:05 PM
Php?

Hendrixski
December 10th, 2010, 11:59 PM
The best is Python. It has a ton of great we frameworks that are really just a joy to work with, and do most of the monotonous work for you so that you can focus on the good stuff.

For example Django. It's easy to install on Ubnuntu (just apt-get install it). You can write your first web application in under an hour, just check out the 4 page introduction guide on djangoproject.com. Then there are thousands of pages of some of the best documentation on the internet.

Hope that's enough to get you started :-)

ja660k
December 11th, 2010, 01:46 AM
Recently, i have been reading on node.js,
which is a framework built ontop of v8.

i can repeat what everyone says about it, or i can let you decide for yourself.

what is? (http://stackoverflow.com/questions/1884724/what-is-node-js)
v8 (http://code.google.com/p/v8/)
node.js site (http://nodejs.org/)

myrtle1908
December 11th, 2010, 02:04 AM
Java or similar on the backend
JSON for data exchange
Pure JavaScript on the frontend


1. Learn JavaScript/DOM backwards then use a toolkit eg. ExtCore/ExtJS.

2. Understand JSON and why you should use it for client/server data exchange

3. Learn Java or another solid back end language eg. Python.

stamatiou
December 11th, 2010, 11:18 AM
The best is Python. It has a ton of great we frameworks that are really just a joy to work with, and do most of the monotonous work for you so that you can focus on the good stuff.

For example Django. It's easy to install on Ubnuntu (just apt-get install it). You can write your first web application in under an hour, just check out the 4 page introduction guide on djangoproject.com. Then there are thousands of pages of some of the best documentation on the internet.

Hope that's enough to get you started :-)
1.I have used for a while Django, but it needs a lot of jb to make an app or to run it and I dont know if I can put is on a site.....
2.How about Ruby on Rails?

CptPicard
December 11th, 2010, 01:23 PM
2.How about Ruby on Rails?

I use Rails at work at the moment, and I must say that it really has a much bigger community out there and loads of stuff for you to use out of the box, much more so than the Python frameworks...

juancarlospaco
December 11th, 2010, 03:06 PM
1.I have used for a while Django, but it needs a lot of jb to make an app or to run it

Django its horrible.

Web2Py dont need a lot of job to make an app or to run it,
it even dont need to install or configure nothing.

dv3500ea
December 11th, 2010, 04:04 PM
How about Ruby on Rails?

Ruby is a really good programming language (my favourite) because it is very expressive and has strong support for object oriented and functional and meta programming.

I have heard a lot of praise of Ruby on Rails but have never used it myself because I am not interested in server side programming.

stamatiou
December 11th, 2010, 05:35 PM
Ok guys, thanks but one little thing more:
Because I dislike Python very much Which is the second best option;

dv3500ea
December 11th, 2010, 06:00 PM
Ok guys, thanks but one little thing more:
Because I dislike Python very much Which is the second best option;

Ruby. Which I consider the first best option.

Why do you dislike python?

stamatiou
December 11th, 2010, 07:17 PM
Ruby. Which I consider the first best option.

Why do you dislike python?
Because I haven't understood nothing about when I put parameters and which should I use.....

CptPicard
December 11th, 2010, 07:24 PM
Because I haven't understood nothing about when I put parameters and which should I use.....

Sounds like a more general problem of not understanding programming in general, not a problem with Python...

stamatiou
December 11th, 2010, 07:26 PM
Sounds like a more general problem of not understanding programming in general, not a problem with Python...
Is there a way to solve it?

CptPicard
December 11th, 2010, 07:29 PM
Is there a way to solve it?

Yes, there is! You need to learn to program. See the so-called sticky threads on beginning programming right here on the forum for what you need to do.

stamatiou
December 11th, 2010, 07:51 PM
Yes, there is! You need to learn to program. See the so-called sticky threads on beginning programming right here on the forum for what you need to do.
I have checked them but I don't know what tutorial to use....
http://hkn.eecs.berkeley.edu/~dyoo/python/idle_intro/ (http://hkn.eecs.berkeley.edu/%7Edyoo/python/idle_intro/)
http://hetland.org/writing/instant-hacking.html
http://en.wikibooks.org/wiki/Non-Programmer%27s_Tutorial_for_Python
http://www.dickbaldwin.com/tocpyth.htm
http://www.freenetpages.co.uk/hp/alan.gauld/
http://learnpydia.pbworks.com/w/page/15955654/FrontPage
(These are from the beginner ones.)

CptPicard
December 11th, 2010, 08:08 PM
Well, I have always suggested one starts learning programming in general with Python, so let's go with that although I am starting to feel that Rails is the superior web app platform. I wonder what in particular is the problem in choosing your Python tutorial? I would suppose there are plenty of them.

stamatiou
December 11th, 2010, 08:11 PM
Well, I have always suggested one starts learning programming in general with Python, so let's go with that although I am starting to feel that Rails is the superior web app platform. I wonder what in particular is the problem in choosing your Python tutorial? I would suppose there are plenty of them.
Wait,
1.Do all of these tutorials tell about parameters?
2.I have gone to the tryruby site and it is vere very very fun......

CptPicard
December 11th, 2010, 08:22 PM
1.Do all of these tutorials tell about parameters?


They'd better or otherwise they are not much of a tutorial... function parameters are a fundamental concept of any programming language.

stamatiou
December 11th, 2010, 08:25 PM
They'd better or otherwise they are not much of a tutorial... function parameters are a fundamental concept of any programming language.
Am sorry man but I don't understand much,
1.Shall I learn Ruby, may I will understand all these things?

CptPicard
December 11th, 2010, 08:57 PM
If you're going to learn any language, you must and will understand these things.

Quadunit404
December 12th, 2010, 08:12 AM
I'd go with PHP. It's well-documented, there are thousands of free tutorials out there, practically every host out there supports PHP on both their Windows and Linux servers (if they have both) and almost every site I've seen was written using PHP (which includes the software, if any was used; if you used custom code, =D>), which includes this here forum. The next best thing would probably be ASP.NET, but that would require a Windows host and considering how Linux dominates the server market *coughcoughRedHatcoughcough* those are hard to come by.

stamatiou
December 12th, 2010, 11:46 AM
So, between Rails and Php which should I use?
(For Php I have seen some tutorials in w3schools and the look ok but I don't know how to install it...)

vim_lover
December 12th, 2010, 12:17 PM
between Rails and Php which should I use?My personal recommendation is Ruby on Rails.
Learn ruby. Ruby is a general purpose programming language that can be used for all purposes. Php is web specific programming language.

Some Penguin
December 12th, 2010, 11:15 PM
http://www.xtranormal.com/watch/7023615/

w3develop
April 30th, 2011, 09:48 AM
Absolutely it is PHP
PHP Documentation :
http://www.php.net/docs.php
w3resource.com :
http://www.w3resource.com/php/php-home.php

Gerontion
April 30th, 2011, 10:08 AM
My tuppence: I'm learning Python at the moment for web development on the grounds that I'm not really qualified to choose between alternatives and as I'd like to do some desktop development in the future, I may as well kill two birds with one stone. It might not be the ideal solution, but it's not a bad one.