* WalrusIRC

You need to have 5 posts and not be part of restricted usergroups in order to use the WalrusIRC embedded shoutbox. However, you can also access our IRC channel called #CodeWalrus via EFnet.

Author Topic: Best programming language for server-side web programming  (Read 4200 times)

0 Members and 1 Guest are viewing this topic.

Offline Ephraim Becker

  • Full User
  • Join Date: Mar 2015
  • Location: Far Rockaway, NY
  • Posts: 118
  • Post Rating Ratio: +0/-4
    • @UCIHxAXYLxYlNaQiv0do0bUg
    • EphraimB
    • 112/11290
  • Gender: Male
Best programming language for server-side web programming
« on: November 13, 2015, 08:01:23 pm »
I already know HTML, CSS, and JavaScript. I'm trying to get my Virtual friend to talk about the latest stuff getting the data from the internet. Which programming language is the best for this and i'm already using JavaScript for my Virtual friend so I think JavaScript will have to connect to the server-side programming language to work.


  • Calculators owned: TI 84 Plus, TI 84 Plus C Silver Edition, TI 84 Plus CE, Casio FX-9750 GII
I have Aspergers Syndrome

Offline Snektron

  • Lvl 69 Russian Snake
  • CodeWalrus Staff
  • Super User
  • Topic Management
  • Join Date: Dec 2014
  • Location: Netherlands
  • Posts: 3165
  • Post Rating Ratio: +32/-0
  • SSSssssss.....
    • RobinDeWalvis
    • Kzyrox
    • RobinDeWalvis
    • quantuminfinity
  • Gender: Male
Most servers use PHP for web side developement, but there is also Lua Server Pages and i believe you can also use python for it.
Also i think you can do it with JS too, with NodeJS but im not entirely sure about that.
  • Calculators owned: TI-84+
Legends say if you spam more than DJ Omnimaga, you will become a walrus...


Offline Streetwalrus

  • Professional slacker
  • Super User
  • Original 5
  • Join Date: Nov 2014
  • Location: Israel
  • Posts: 2903
  • Post Rating Ratio: +20/-0
  • ƎW∀⅁ ƎH⊥
  • Gender: Male
You can use pretty much anything for server-side stuff. JS on Node (which is a pretty good idea with websockets apparently), Python, C... Avoid PHP at all costs for real time code, it's definitely not made for that.
  • Calculators owned: TI-80, HP 40G, TI-84 Plus rev G (yay 128k RAM), TI-83 Plus Silver Edition (broken LCD), TI-82 Stats.fr (black), TI-Nspire CX rev C (yay Nlaunchy), TI-83+ SE ViewScreen



Offline alexgt

  • Just your friendly neighborhood Ninja Stach Fancy Iron Man
  • Super User
  • Join Date: Dec 2014
  • Location: Behind you
  • Posts: 2611
  • Post Rating Ratio: +6/-1
  • Something should go here...
    • /u/alexgt9123
  • Gender: Male
I would suggest PHP :)
  • Calculators owned: Ti-84+, Ti-Nspire, Hp Prime, Broken HP Prime, HP 48SX

Offline Ephraim Becker

  • Full User
  • Join Date: Mar 2015
  • Location: Far Rockaway, NY
  • Posts: 118
  • Post Rating Ratio: +0/-4
    • @UCIHxAXYLxYlNaQiv0do0bUg
    • EphraimB
    • 112/11290
  • Gender: Male
Should I go with AJAX?
  • Calculators owned: TI 84 Plus, TI 84 Plus C Silver Edition, TI 84 Plus CE, Casio FX-9750 GII
I have Aspergers Syndrome

Offline Streetwalrus

  • Professional slacker
  • Super User
  • Original 5
  • Join Date: Nov 2014
  • Location: Israel
  • Posts: 2903
  • Post Rating Ratio: +20/-0
  • ƎW∀⅁ ƎH⊥
  • Gender: Male
AJAX is not a language, it's a communication model used by Javascript programmers. It doesn't solve the problem of what runs on the server side.
  • Calculators owned: TI-80, HP 40G, TI-84 Plus rev G (yay 128k RAM), TI-83 Plus Silver Edition (broken LCD), TI-82 Stats.fr (black), TI-Nspire CX rev C (yay Nlaunchy), TI-83+ SE ViewScreen



Offline Ephraim Becker

  • Full User
  • Join Date: Mar 2015
  • Location: Far Rockaway, NY
  • Posts: 118
  • Post Rating Ratio: +0/-4
    • @UCIHxAXYLxYlNaQiv0do0bUg
    • EphraimB
    • 112/11290
  • Gender: Male
Is JavaScript with http requests going to work?
  • Calculators owned: TI 84 Plus, TI 84 Plus C Silver Edition, TI 84 Plus CE, Casio FX-9750 GII
I have Aspergers Syndrome

Offline DarkestEx

  • Super User
  • Join Date: Jan 2015
  • Location: Germany
  • Posts: 1324
  • Post Rating Ratio: +10/-2
    • @0xbmuessig
    • @muessigb
    • My homepage
  • Gender: Male
I already know HTML, CSS, and JavaScript. I'm trying to get my Virtual friend to talk about the latest stuff getting the data from the internet. Which programming language is the best for this and i'm already using JavaScript for my Virtual friend so I think JavaScript will have to connect to the server-side programming language to work.
PHP will certainly be the best one. Just send the data using the JSON encoding to the server and get the response.
You can just get stuff. This use case is not server event based so you can unproblematically use GET requests.
I don't see any issue with using PHP, really. Also its what you expect on a normal webhost.
« Last Edit: November 15, 2015, 12:24:27 am by DarkestEx »
  • Calculators owned: TI-84+, Casio 101-S, RPN-Calc, Hewlett-Packard 100LX, Hewlett-Packard 95LX
  • Consoles, mobile devices and vintage computers owned: Hewlett-Packard 100LX, Hewlett-Packard 95LX, Original Commodore 64C, Tektronix AWG2021, IBM X60s, IBM X60t, Nintendo DS Lite, Nintendo GameBoy Color, Nintendo GameCube, Xbox 360, Palm m5


Avatar drewn for me by Tabbes.

Offline Ephraim Becker

  • Full User
  • Join Date: Mar 2015
  • Location: Far Rockaway, NY
  • Posts: 118
  • Post Rating Ratio: +0/-4
    • @UCIHxAXYLxYlNaQiv0do0bUg
    • EphraimB
    • 112/11290
  • Gender: Male
What i'm trying to do is access the RSS feeds from a website (example: cnet)
  • Calculators owned: TI 84 Plus, TI 84 Plus C Silver Edition, TI 84 Plus CE, Casio FX-9750 GII
I have Aspergers Syndrome

Offline DarkestEx

  • Super User
  • Join Date: Jan 2015
  • Location: Germany
  • Posts: 1324
  • Post Rating Ratio: +10/-2
    • @0xbmuessig
    • @muessigb
    • My homepage
  • Gender: Male
What i'm trying to do is access the RSS feeds from a website (example: cnet)
Yes then you should certainly go with PHP and get it using your Javascript application.
If you need any help you can ask me. I did such things pretty often before and I can help you make it output JSON that Javascript can easily read.
  • Calculators owned: TI-84+, Casio 101-S, RPN-Calc, Hewlett-Packard 100LX, Hewlett-Packard 95LX
  • Consoles, mobile devices and vintage computers owned: Hewlett-Packard 100LX, Hewlett-Packard 95LX, Original Commodore 64C, Tektronix AWG2021, IBM X60s, IBM X60t, Nintendo DS Lite, Nintendo GameBoy Color, Nintendo GameCube, Xbox 360, Palm m5


Avatar drewn for me by Tabbes.

Offline Ephraim Becker

  • Full User
  • Join Date: Mar 2015
  • Location: Far Rockaway, NY
  • Posts: 118
  • Post Rating Ratio: +0/-4
    • @UCIHxAXYLxYlNaQiv0do0bUg
    • EphraimB
    • 112/11290
  • Gender: Male
I learnt PHP on codecademy. How do I get it to use my JavaScript application?
  • Calculators owned: TI 84 Plus, TI 84 Plus C Silver Edition, TI 84 Plus CE, Casio FX-9750 GII
I have Aspergers Syndrome

Offline DarkestEx

  • Super User
  • Join Date: Jan 2015
  • Location: Germany
  • Posts: 1324
  • Post Rating Ratio: +10/-2
    • @0xbmuessig
    • @muessigb
    • My homepage
  • Gender: Male
I learnt PHP on codecademy. How do I get it to use my JavaScript application?
Well first you have a PHP application that retrieves the feed when called. It should output some JSON formatted array (just a simple associative array and use print(json_encode($my_array)) to send it).
Then you send a web request every time you need new data and download the json response and use JSON.parse(data_from_request) to get an array of your feed stuff.
After that you can just use the data.
  • Calculators owned: TI-84+, Casio 101-S, RPN-Calc, Hewlett-Packard 100LX, Hewlett-Packard 95LX
  • Consoles, mobile devices and vintage computers owned: Hewlett-Packard 100LX, Hewlett-Packard 95LX, Original Commodore 64C, Tektronix AWG2021, IBM X60s, IBM X60t, Nintendo DS Lite, Nintendo GameBoy Color, Nintendo GameCube, Xbox 360, Palm m5


Avatar drewn for me by Tabbes.

Offline Ephraim Becker

  • Full User
  • Join Date: Mar 2015
  • Location: Far Rockaway, NY
  • Posts: 118
  • Post Rating Ratio: +0/-4
    • @UCIHxAXYLxYlNaQiv0do0bUg
    • EphraimB
    • 112/11290
  • Gender: Male
What i'm trying to do is when I talk to the Virtual friend about technology news, I want it to fetch data from cnet RSS feed and turn it into a conversation about it. Is there any way to do this?
  • Calculators owned: TI 84 Plus, TI 84 Plus C Silver Edition, TI 84 Plus CE, Casio FX-9750 GII
I have Aspergers Syndrome

Offline DarkestEx

  • Super User
  • Join Date: Jan 2015
  • Location: Germany
  • Posts: 1324
  • Post Rating Ratio: +10/-2
    • @0xbmuessig
    • @muessigb
    • My homepage
  • Gender: Male
What i'm trying to do is when I talk to the Virtual friend about technology news, I want it to fetch data from cnet RSS feed and turn it into a conversation about it. Is there any way to do this?
Well about fetching, yes, but the other part of turning it into a conversation is hard and would be your part and business.

Edit: you could link it up to wolfram alpha and have a lot of facts and functions added.
« Last Edit: November 15, 2015, 12:51:06 am by DarkestEx »
  • Calculators owned: TI-84+, Casio 101-S, RPN-Calc, Hewlett-Packard 100LX, Hewlett-Packard 95LX
  • Consoles, mobile devices and vintage computers owned: Hewlett-Packard 100LX, Hewlett-Packard 95LX, Original Commodore 64C, Tektronix AWG2021, IBM X60s, IBM X60t, Nintendo DS Lite, Nintendo GameBoy Color, Nintendo GameCube, Xbox 360, Palm m5


Avatar drewn for me by Tabbes.

Offline Ephraim Becker

  • Full User
  • Join Date: Mar 2015
  • Location: Far Rockaway, NY
  • Posts: 118
  • Post Rating Ratio: +0/-4
    • @UCIHxAXYLxYlNaQiv0do0bUg
    • EphraimB
    • 112/11290
  • Gender: Male
Should I turn my existing HTML into a PHP or should I create a separate PHP?
  • Calculators owned: TI 84 Plus, TI 84 Plus C Silver Edition, TI 84 Plus CE, Casio FX-9750 GII
I have Aspergers Syndrome

 


You can also use the following HTML or bulletin board code to share it on your page or forum signature!


Also do not forget to check our affiliates below.
Planet Casio TI-Planet Calc.news BroniesQC BosaikNet Velocity Games