Page 2 of 2 FirstFirst 12
Results 11 to 20 of 20

Thread: Opinion: A good language for a bug reporting web app?

  1. #11
    Join Date
    Apr 2009
    Beans
    Hidden!
    Distro
    Ubuntu

    Re: Opinion: A good language for a bug reporting web app?

    Quote Originally Posted by PrototypeAlex View Post
    Hmmm, well I guess my next question then is how do you make the choice of programming languages when creating a game plan for project?

    Is it just down to personal experience and knowledge?
    Afaik: yes
    I would write something in PHP with a MySQL backend because that's about the only "modern" thing I know.

    Long time ago I did a lot of programming in various DOS languages, but beside my knowledge about database structures and some basic "start1-start2-finish2-finish1" rules of programming that's not of any use to me anymore. It's more of a problem because sometimes I know how to do it in those languages, but can't find a simple way to it in PHP. Most times that's also my lack of knowledge, because it happens very regular that I find a simple way to do it in PHP afterwards. Didn't follow any course about it, didn't have any proper education on it, only use the PHP-manual from PHP.net in CHM-format to find my way (beside Google ofcourse )

    I'm thinking about starting another language beside PHP, but since I can do almost everything I need/want with PHP, it seems of no use. Beside that, I really don't know which one to pick. So I'll probably stick with PHP for the near future.

  2. #12
    Join Date
    Mar 2013
    Beans
    7

    Re: Opinion: A good language for a bug reporting web app?

    Quote Originally Posted by new_tolinux View Post
    Wouldn't any web application require something like PHP, at least for the server side that is.

    For the client I have no idea.
    This. You'll have little complex logic here so why go with anything more complex?

  3. #13
    Join Date
    Mar 2013
    Beans
    30

    Re: Opinion: A good language for a bug reporting web app?

    C or Assembly. Your application doesn't require garbage collection or a full suite of run-time diagnostics so these people recommending Python and PHP are not recommending the correct tool for the job.

    For the client your only choice is JavaScript.
    Last edited by mharv; March 30th, 2013 at 08:14 PM.

  4. #14
    Join Date
    May 2007
    Location
    Leeds, UK
    Beans
    1,675
    Distro
    Ubuntu

    Re: Opinion: A good language for a bug reporting web app?

    I am intrigued by the suggestion of using assembler to write a web application. Could you expand on your reasoning?

    Would you plug assembler modules into a web server like Apache? Or would you write everything, right down to sockets?
    Please create new threads for new questions.
    Please wrap code in code tags using the '#' button or enter it in your post like this: [code]...[/code].

  5. #15
    Join Date
    Mar 2013
    Beans
    30

    Re: Opinion: A good language for a bug reporting web app?

    Sockets are already written by the kernel developers and the C libraries already provide useful interfaces so I would not rewrite anything.I would use existing libraries as much as possible (http://curl.haxx.se/libcurl/ and http://dev.mysql.com/doc/refman/5.0/en/c-api.html) the logic could be written in assembler though OR C since needing to port to another architecture is very unlikely and definitely will never be necessary (or even beneficial).
    Last edited by mharv; March 30th, 2013 at 10:01 PM.

  6. #16
    Join Date
    May 2007
    Location
    Leeds, UK
    Beans
    1,675
    Distro
    Ubuntu

    Re: Opinion: A good language for a bug reporting web app?

    Would you be able to use the libcurl and mysql APIs from assembler?

    Are you saying that Python and PHP are only appropriate choices if there is an immediate need to create a cross-platform web application?
    Please create new threads for new questions.
    Please wrap code in code tags using the '#' button or enter it in your post like this: [code]...[/code].

  7. #17
    Join Date
    Mar 2013
    Beans
    30

    Re: Opinion: A good language for a bug reporting web app?

    Yes you can link to any C library from assembler and the other way around (Both are also accessible from any other high level language implementation but NOT the other way around). I'm saying Python and PHP are only appropriate choices if there is an immediate need to create a cross-platform web application AND you don't know C or assembly yet.

    C is shorthand for assembly (and there are some other differences) but it is not shorthand enough to outweigh familiarity, so I would personally consider them interchangeable because of their ability to link together and would use whichever one was freshest in my mind at the time.
    Last edited by mharv; March 30th, 2013 at 10:36 PM.

  8. #18
    Join Date
    Aug 2011
    Location
    47°9′S 126°43W
    Beans
    2,172
    Distro
    Ubuntu 16.04 Xenial Xerus

    Re: Opinion: A good language for a bug reporting web app?

    Quote Originally Posted by mharv View Post
    Yes you can link to any C library from assembler and the other way around (Both are also accessible from any other high level language implementation but NOT the other way around). I'm saying Python and PHP are only appropriate choices if there is an immediate need to create a cross-platform web application AND you don't know C or assembly yet.

    C is shorthand for assembly (and there are some other differences) but it is not shorthand enough to outweigh familiarity, so I would personally consider them interchangeable because of their ability to link together and would use whichever one was freshest in my mind at the time.
    Python and PHP are appropriate choices when you look at developer's productivity. The Python programmer will be having a beer to celebrate a succesul delivery when you will still be struggling with memory allocation problems in that C routine that receives uploaded files.

  9. #19
    Join Date
    Mar 2013
    Beans
    30

    Re: Opinion: A good language for a bug reporting web app?

    "struggling with memory allocation problems". I guess I'm just smarter than you.
    Last edited by mharv; April 1st, 2013 at 08:22 AM.

  10. #20
    Join Date
    Jun 2007
    Location
    Paraparaumu, New Zealand
    Beans
    Hidden!

    Re: Opinion: A good language for a bug reporting web app?

    From the forum rules:

    If a post is older than a year or so and hasn't had a new reply in that time, instead of replying to it, create a new thread. In the software world, a lot can change in a very short time, and doing things this way makes it more likely that you will find the best information. You may link to the original discussion in the new thread if you think it may be helpful.
    This is a three-year-old thread that has somehow come back to life.......
    Forum DOs and DON'Ts
    Please use CODE tags
    Including your email address in a post is not recommended
    My Blog

Page 2 of 2 FirstFirst 12

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •