[ home / board list / faq / random / create / bans / search / manage / irc ] [ ]

/prog/ - Programming

Programming board

Catalog

8chan Bitcoin address: 1NpQaXqmCBji6gfX8UgaQEmEstvVY7U32C
The next generation of Infinity is here (discussion) (contribute)
A message from @CodeMonkeyZ, 2ch lead developer: "How Hiroyuki Nishimura will sell 4chan data"
Name
Email
Subject
Comment *
File
* = required field[▶ Show post options & limits]
Confused? See the FAQ.
Embed
(replaces files and can be used instead)
Options
Password (For file and post deletion.)

Allowed file types:jpg, jpeg, gif, png, webm, mp4, pdf
Max filesize is 8 MB.
Max image dimensions are 10000 x 10000.
You may upload 1 per post.


File: 1426810657252.png (106.54 KB, 841x797, 841:797, 1386797782630.png)

7e43e6 No.1750

I want to get into webdev, both frontend and backend. Any suggestions about what languages and libraries could I use for this, and also materials to read on recommended practices or even tips about security?

I thought about using Scala for both the backend and the frontend, since it is compatible with Java libraries and I heard Java is often used for high performance frontends, but I don't actually know which Java frameworks could I use for this.

c0c3df No.1751

snakelang or gothon

afc3f8 No.1752

You're messing up some concepts.

Front end is always HTML, CSS, and JavaScript. You code the HTML defining the elements in the page, most likely inter-winded with template code or scripting to make the page dynamic. CSS is used to define an element position in the page, and it's appearance. Finally JavaScript is used to enhance the site's functionality, this includes AJAX (asynchronous JavaScript), to make requests and receive data without reloading the entire page. JS and your backed code may have a little overlapping, I'd suggest against abusing JS.

Back end you can choose a wide variety of languages and frameworks. You will always use a framework because managing all request and connections by yourself is a pain in the ass. There are several levels of abstraction and hand-holding in web frameworks, it boils down to personal preference. Do you want a framework that has all the tools readily available and holds you hand? Or you want to do things your own way, with tools of your choice? If you want the later I'd suggest Python with Flask, Node.js with Express, Java with Spark, or Ruby with Sinatra. A nice full featured framework is Django for Python, or Ruby on Rails.

7e43e6 No.1753

>>1752
Actually, front-end and back-end are ill defined concepts. However, it is not true front-end is always client-side. Server side front-end is supposed to be dynamic webpage generation, everything the user can access by visiting a special URL with their browser. Back-end, on the other hand, is supposed to be software that interfaces with your website's database and other software that can't be accessed by your clients directly.

003e1a No.1883

File: 1427764263104.png (Spoiler Image, 1023.13 KB, 1000x707, 1000:707, 3e68653247d0e4ea2c9830859c….png)

Just found out there are two major web frameworks for Scala: Lift and Play.

It seems like Play is officially supported by TypeSafe, and while it is said Lift is a bit more difficult, it is more flexible and secure.

Do any of you have any experience with any of these? Could you give your opinion on it?



[Return][Go to top][Catalog][Post a Reply]
Delete Post [ ]
[]
[ home / board list / faq / random / create / bans / search / manage / irc ] [ ]