• Any Web Developers here? I Have a few questions.
    34 replies, posted
I Dont know if this is the correct place to post this, If it is not then please delete the post and do not ban me. My question is I have a plan to make a website, Where user enter in a ID and they get entered into a give away where everyone 24 hours one will be chosen and random. The thing is I have never done web stuff before. I Have a decent knowledge of HTML and CSS, Javascript but nothing more. So question time. 1. What should I use to code the server side stuff. 2. Where should I host the site (I know that some places dont support node.js etc) 3. Where do you recommend me learning these skills? and finally should I use a web-designer to make the front end or should I make it myself, Thank you for your time.
[QUOTE] 1. What should I use to code the server side stuff. [/quote] You have multiple choices. The most obvious one is PHP, use of which is widespread and tutorials plentiful. You'll have to sacrifice a few children or a virgin for things to work properly, but it's a tried and true way. [QUOTE] 2. Where should I host the site (I know that some places dont support node.js etc) [/quote] Erm... why would you even need to use node.js for something so simple? To be honest, most hosts should allow you to make this happen. Except SquareSpace. Fuck 'em. [QUOTE] 3. Where do you recommend me learning these skills? [/quote] Internet. W3. Stackoverflow. [QUOTE]and finally should I use a web-designer to make the front end or should I make it myself, Thank you for your time.[/QUOTE] Depends how much money you have to burn.
[QUOTE=Handsome Matt;48694293]why would anyone like using javascript[/QUOTE] I have a heavy C# background but even I don't [I]hate[/I] JavaScript.
I recommend NOT w3schools, but MDN (Mozilla developer network)
I like javascript :(
[QUOTE=Handsome Matt;48694511]sure, I'm not enough of a sperg to hate a language but I doubt anyone can say they actively like Javascript [editline]asdasd[/editline] well obviously they can because node exists. I guess I don't understand that entire community.[/QUOTE] You get pretty used to what it's all capable of, I guess. I understand the limitations of languages pretty quickly, so I can appreciate what JS does.
[QUOTE=proboardslol;48694462]I recommend NOT w3schools, but MDN (Mozilla developer network)[/QUOTE] Why not w3schools?
[QUOTE=Handsome Matt;48694511]sure, I'm not enough of a sperg to hate a language but I doubt anyone can say they actively like Javascript [editline]asdasd[/editline] well obviously they can because node exists. I guess I don't understand that entire community.[/QUOTE] I [i]love[/i] JS. Then again, I also love C++, so. I actually like JS more than C++.
Handsom Matt. If you dont mind sharing in what way did you make scripter, Did you use a website builder, Did you use php or something else, What method are you using to host it. Thank you.
[QUOTE=icantread49;48696764]I [i]love[/i] JS. Then again, I also love C++, so. I actually like JS more than C++.[/QUOTE] What ARE you? [editline]17th September 2015[/editline] [QUOTE=Rocket;48696040][url]http://www.w3fools.com/[/url] explains the whole thing. w3schools has improved a lot since the site was first created but it's still not as good as MDN.[/QUOTE] See, the thing is, I understand the hate for w3 if it's something you want to learn the entirety of web dev from, but that's just being stupid on your own part. It's a quick reference, because you won't remember all of the possible CSS selectors and suchlike. At the end of the day, any time you do any web dev, you are probably going to be, much like a software engineer, on Stack Overflow.
[QUOTE=0V3RR1D3;48693403] 1. What should I use to code the server side stuff. [/QUOTE] [URL="http://expressjs.com/"]Express.js[/URL] can be a good starting point for node.js. A good argument for node.js is that you only have to learn one programming language (javascript) that you would use on the front and backend. [QUOTE=0V3RR1D3;48693403] 2. Where should I host the site (I know that some places don't support node.js etc) [/QUOTE] For now you should host it on your local machine until you have something ready. When you are ready, have a look at [URL="http://education.github.com"]education.github.com[/URL] and find out if you are eligible for free hosting. [QUOTE=0V3RR1D3;48693403] 3. Where do you recommend me learning these skills? [/QUOTE] By googling how to do everything you don't know how to do. W3Schools will provide simplistic answers with examples, while MDN will go in depth. [QUOTE=0V3RR1D3;48693403] and finally should I use a web-designer to make the front end or should I make it myself, Thank you for your time.[/QUOTE] You are going to need a basic understanding of html and css, regardless what you choose to do. There are frameworks such as [URL="http://getbootstrap.com/"]bootstrap[/URL] that can help with the design aspect. Be sure to look at the grid system, and [URL="https://bootswatch.com/"]bootswatch[/URL] can be helpful also.
Javascript is one of those languages that I always find myself looking back at the documentation for.
[QUOTE=Handsome Matt;48694293]why would anyone like using javascript[/QUOTE] JS is elegant, it's just stupid if you don't know some of it's hickups/fuckups.
I myself like more dynamically typed languages like JavaScript and Ruby. I first learned Java in school, and have worked doing a little bit of C#/.NET web apps. I find that C# makes things so difficult when sending simple json data and completing requests from client/server. You guys can hate all you want on it and be proficient at only one language, but I prefer to have a wide array of tools under my belt so that I can choose which one to use that is right for the job.
I Decided to go with php. I Have a problem though. I Need a countdown to countdown every 24 hours. The problem is I dont know how to go about it, I Can store the current date in a MySQL database and in javascript count down to the date, But the main problem I have is different timezones, As it will show up different when in different time zones, Anyway around this?
[url]http://stackoverflow.com/questions/439630/how-do-you-create-a-javascript-date-object-with-a-set-timezone-without-using-a-s[/url]
[QUOTE=Rocket;48718781]There are a lot of words I would use to describe Javascript, but elegant is not one of them.[/QUOTE] Try doing JSON stuff with C#. It's hard. With JS, you just go this.that.there.here[0].voila = {property: 420, afgaff: 404, array: [bla, "ha", "tralala"]}
I know I know. Gotta defend the poor deformed JS just like a true social justice warrior.
[QUOTE=brianosaur;48721508]I myself like more dynamically typed languages like JavaScript and Ruby. I first learned Java in school, and have worked doing a little bit of C#/.NET web apps. I find that C# makes things so difficult when sending simple json data and completing requests from client/server. You guys can hate all you want on it and be proficient at only one language, but I prefer to have a wide array of tools under my belt so that I can choose which one to use that is right for the job.[/QUOTE] The more languages I know, the less I want to use JavaScript.
[QUOTE=Darwin226;48737238]The more languages I know, the less I want to use JavaScript.[/QUOTE] Really depends on what you want to do. Two large reasons Node has been adopted so quickly is because of V8 and that it is Javascript, which has introduced Isomorphic programming for the web. V8 is [I]really[/I] fast - it's very close to rivaling low-level languages like Golang and Rust while still being an interpreted language. I/O handling and streams are great too, much like Linux pipes. A prime example of Isomorphic programming I mentioned is the framework [URL="https://www.meteor.com/"]Meteor[/URL]. Most of its components runs on both client and server.
[QUOTE=Darwin226;48737238]The more languages I know, the less I want to use JavaScript.[/QUOTE] Really? I feel the opposite.
[QUOTE=icantread49;48774236]Really? I feel the opposite.[/QUOTE] C# should have javascript inside unsafe mode.
[QUOTE=Fourier;48774991]C# should have javascript inside unsafe mode.[/QUOTE] -snip Matt makes me uncomfortable-
[QUOTE=Fourier;48774991]C# should have javascript inside unsafe mode.[/QUOTE] what r u trying to say here
I like JS because it's easy to do stuff quickly, while also allowing you to make complex stuff without needing to know a whole lot more. I feel like this is a tangent to the entire thread, but what parts of JS do people not like?
[QUOTE=/dev/sda1;48776413]what r u trying to say here[/QUOTE] It was a joke sheesh
[QUOTE=Fourier;48727820]Try doing JSON stuff with C#. It's hard. With JS, you just go this.that.there.here[0].voila = {property: 420, afgaff: 404, array: [bla, "ha", "tralala"]}[/QUOTE] [code]dynamic that; void Do(string bla) { this.that.there.here[0].voila = new { property = 420, afgaff = 404, array = new[] { bla, "ha", "tralala" } }; }[/code] Though to make it work you need a [I]that[/I] that does some behind-the-scenes magic. It's also really ugly compared to the statically typesafe solution and not as fast, but it should work nonetheless. (Is anyone up for a collab to make this a reality? I need some hackery along these lines for a different project of mine, so it would be a great exercise.)
[QUOTE=Trumple;48776438]I like JS because it's easy to do stuff quickly, while also allowing you to make complex stuff without needing to know a whole lot more. I feel like this is a tangent to the entire thread, but what parts of JS do people not like?[/QUOTE] It's trying to compete with PHP in regards to being the greatest programing language ever.
Sorry, you need to Log In to post a reply to this thread.