#1
  1. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Jun 2010
    Posts
    92
    Rep Power
    55

    Which language would be best for....


    I've been teaching myself XHTML & CSS (with much help from devshed people! ) & i now want to create an app to put into a website (& as a focused way of starting to learn programming), but don't have a clue which language would be suitable.

    I want to create a diary/calender app for a club's website that all members can see, but only the bookings person can write anything to.
    edit: it would need to be simple to use as the bookings person knows even less than I do about programming!

    Any suggestions re suitable languages, & pointers to good tutorials?

    thanks in advance
    Last edited by jifjaf; October 26th, 2010 at 04:59 PM.
  2. #2
  3. Permanently Banned
    Devshed Specialist (4000 - 4499 posts)

    Join Date
    Jun 2006
    Location
    In a whale
    Posts
    4,127
    Rep Power
    0
    [phpnet=index.php]PHP is probably the ideal language, and the most common.[/phpnet]

    Google around for tutorials. DevShed here has some of the best tutorials on the web for PHP.

    Comments on this post

    • Hugh of Borg agrees
  4. #3
  5. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Jun 2010
    Posts
    92
    Rep Power
    55
    thanks, i'll have a look at php
  6. #4
  7. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Oct 2010
    Posts
    47
    Rep Power
    85
    dude yeah youll need php probably for your idea but to learn the basics of programing you could start with python its a pretty simple way to learn the basics of programing -variables,functions,calculations,lists,input,output,input validation,loops etc- then you can learn other languages easier from there. If you need any help with python shoot me a note or post in the forums.
    clockwerk20@gmail.com
  8. #5
  9. Permanently Banned
    Devshed Specialist (4000 - 4499 posts)

    Join Date
    Jun 2006
    Location
    In a whale
    Posts
    4,127
    Rep Power
    0
    Indeed. When I was learning C I found it much easier to learn VB before hand. It helped me with learning C a lot.

    Comments on this post

    • ManiacDan disagrees : Jokes about people's mom are fine, but don't mislead the noobs.
  10. #6
  11. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Jun 2010
    Posts
    92
    Rep Power
    55

    gotta start somewhere


    so you reckon php'll be best for the app i described, but that'd be easier if i learn python 1st?

    i can't believe the number of different languages & variations out there - they seem to proliferate like i don't know what - it's pretty confusing for a novice!! anyway gotta start somewhere.

    i doubt i'll be creating that app anytime soon, so in the meantime do you know of any existing freeware/opensource calender/diary app i could use?

    cheers guys
  12. #7
  13. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Dec 2009
    Posts
    383
    Rep Power
    0
    Indeed. When I was learning C I found it much easier to learn VB before hand. It helped me with learning C a lot.
    Yeah, I'm sure it did. Because although VB is generally agreed to be a horrible language (as opposed to Python, btw), programming experience always helps when learning a new language. A VB programmer who deserves to be called programmer already knows quite a few concepts of imperative programming languages. Add pointers and drill them to be very careful with memory management, and you got an okay C programmer.

    i can't believe the number of different languages & variations out there - they seem to proliferate like i don't know what - it's pretty confusing for a novice!!
    Don't get scared by their number. Most (and about all beginners usually start with, including the ones named here) are similar enough that learning (not mastering, but putting to a good use) another and yet another is a breeze compared to the first one. There's still a couple of languages that can totally blow one's mind - mostly the ones nobody ever heard of, even though they are the most rewarding to learn (I'm looking at you, Haskell ).
  14. #8
  15. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Jun 2010
    Posts
    92
    Rep Power
    55

    java?


    someone today suggested i start with java, but i've read a coupl of things online recently saying that nearly no-one (end users) uses java anymore & that it's very insecure - the person suggesting i learn java didn't have any answer to that. what the hell do i know.....?

    i'm as happy to start with python as with java but i'd be interested to see what people here have to say.....any comments?
  16. #9
  17. Permanently Banned
    Devshed Specialist (4000 - 4499 posts)

    Join Date
    Jun 2006
    Location
    In a whale
    Posts
    4,127
    Rep Power
    0
    I was being a tad sarcastic. I actually went the hard route with learning C: HTML straight to C.

    If you're going to learn a language, learn a language. Sure, learning French will help you if you decide to learn Latin, but the only way you can learn Latin is to learn Latin.

    C is a nice language. Great example here. Not many languages can manipulate memory like it can. C is difficult to master, but when you do you will not regret it. That said, learning Python, Perl, etc. won't help you too much when you decide to sit down and learn C. Sure, you'll learn to organize your thoughts, but the difference between the two is like the difference between Pig Latin and Sanskrit.

    i doubt i'll be creating that app anytime soon, so in the meantime do you know of any existing freeware/opensource calender/diary app i could use?
    Work your way up slowly. Google has a bunch of neat apps. Calender, especially. If I didn't have it I would be where I wasn't suppose to be.

    i can't believe the number of different languages & variations out there - they seem to proliferate like i don't know what - it's pretty confusing for a novice!!
    Languages are like tools: they're there for you to use to solve problems. Would you use a wrench when you should use a hammer? Probably not. PHP is a scripting language. Mostly used to build web applications. Assembly is a low level language; it interacts directly with memory, registers, etc. You wouldn't use either one when you should use the other.

    but i've read a coupl of things online recently saying that nearly no-one (end users) uses java anymore
    Care to share the links with us? I used three Java apps. just this morning. The college I plan on transferring to requires at least one programming class; they prefer Java to C++.

    All that said, PHP is the tool for this job. PHP is a great language, anyway: tons of users, so you can get help. You can Google your problem and the chances are great that someone has already had this problem and has an answer. The documentation is well written, and by the PHP staff themselves. Not to mention anonymous functions (which apparently are really objects, but that's not the point).
    Last edited by ryon420; October 31st, 2010 at 03:04 PM.
  18. #10
  19. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Jun 2010
    Posts
    92
    Rep Power
    55

    Latin, sarcasm & programming!


    Ah, I missed the sarcasm!

    I know different languages are like different tools but, as a novice, itís not obvious which tool is the right one for any given job (which is why I appreciate the help I can get on devshed).

    Although it definitely isnít necessary to learn Latin before learning French, itíll certainly help; then learning Spanish would be even easier. Similar syntax, etc. I guess there's some parallel with programming languages

    Anyway, given that the consensus here seems to be that PHPís the one for this particular job, but learning others might help I reckon Iíll go straight to PHP & look at programming (as opposed to scripting) languages when Iím not so busy.


    Re the java thing:

    The first thing I read was this on windows secrets

    Java for Windows ó update it or drop it

    I strongly urge WS readers to follow Brian Krebs's blog advice on whether to keep Java on your PC. When was the last time you visited a Web site that used it?
    Theyíre both saying that Javaís dangerous if not kept updated Ė fair enough, that probably applies to any web related software Ė but they definitely both also imply that itís not really needed or used much.

    I was pretty surprised by this, but then as Iíve already said ďwhat the hell do I know!?Ē

    I'll be interested to hear any comments on this java 'thing'?

    Cheers, J
    Last edited by jifjaf; November 1st, 2010 at 07:48 AM.
  20. #11
  21. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Jun 2010
    Posts
    92
    Rep Power
    55

    I also came across this re Java


    Newly discovered flaw lets Java carry malware

    Sun's Java is another add-on that's almost as widely installed on personal computers as Flash. (Sun was recently acquired by Oracle.) Last week, researcher Tavis Ormandy announced a vulnerability for Java Web Start in an April 9 post . JWS lets developers distribute Java applications over the Internet as standalone units that include both the application and the Java runtime environment. (Some media sites labeled this a javascript flaw, but it's not ó Java Runtime Environment is pure Java.)

    "Disabling the Java plug-in is not sufficient to prevent exploitation, as the toolkit is installed independently," said Ormandy, "Sun has been informed about this vulnerability, however, they informed me they do not consider this vulnerability to be of high enough priority to break their quarterly patch cycle."

    On April 14, chief research officer for AVG Roger Thompson reported seeing the JWS exploit in the wild. Krebsonsecurity.com has additional details about Thompson's research, the exploit code found at songlyrics.com, and its connection to a malware server in Russia.

    This flaw affects versions of Java SE 6, update 10, and beyond ó running on all versions of Microsoft Windows with browsers such as Firefox, Internet Explorer, and Chrome.

    These days, if you don't use enterprise Web apps ó and most of us don't ó then you probably don't need Java running. Personally, I've done without Java for years.
    Maybe this has gone off track & should be in the Security and Cryptography forum...but it's still relevant to newbies thinking about which language to start with. Also to more experienced programmers e.g. ryon420
    I used three Java apps. just this morning. The college I plan on transferring to requires at least one programming class; they prefer Java to C++.
    Anyway, I've installed xampp from Apache Friends & have started learning PHP. Watch this space!

    cheers for all the help guys

IMN logo majestic logo threadwatch logo seochat tools logo