[Boards: 3 / a / aco / adv / an / asp / b / bant / biz / c / can / cgl / ck / cm / co / cock / d / diy / e / fa / fap / fit / fitlit / g / gd / gif / h / hc / his / hm / hr / i / ic / int / jp / k / lgbt / lit / m / mlp / mlpol / mo / mtv / mu / n / news / o / out / outsoc / p / po / pol / qa / qst / r / r9k / s / s4s / sci / soc / sp / spa / t / tg / toy / trash / trv / tv / u / v / vg / vint / vip / vp / vr / w / wg / wsg / wsr / x / y ] [Search | Free Show | Home]

/wdg/ - Web Development General

This is a blue board which means that it's for everybody (Safe For Work content only). If you see any adult content, please report it.

Thread replies: 161
Thread images: 12

File: 1463313260918.png (172KB, 515x656px) Image search: [Google]
1463313260918.png
172KB, 515x656px
/wdg/ - Web Development General

Previous Thread: >>56997377

> Discord
https://discord.gg/wdg
OR
https://discord.gg/0qLTzz5potDFXfdT
(they're the same)

>IRC Channel
#/g/wdg @ irc.rizon.net
Web client: https://www.rizon.net/chat

>Learning material
https://www.codecademy.com/
https://www.bento.io/
https://programming-motherfucker.com/
https://github.com/vhf/free-programming-books/blob/master/free-programming-books.md
https://www.theodinproject.com/
https://www.freecodecamp.com/
http://www.w3schools.com/
https://developer.mozilla.org/
http://www.codewars.com/
https://youtu.be/JxAXlJEmNMg?list=PL7664379246A246CB - "Crockford on JavaScript" lecture series.

>Useful Youtube channels
derekbanas
thenewboston
learncodeacademy
funfunfunction
computerphile
codingrainbow

>Frontend development
https://github.com/dypsilon/frontend-dev-bookmarks

>Backend development
https://en.m.wikipedia.org/wiki/Comparison_of_web_application_frameworks
https://gist.github.com/dypsilon/5819528/

>Useful tools
https://pastebin.com/q5nB1Npt/
https://libraries.io/ - Discover new open source libraries, modules and frameworks and keep track of ones you depend upon.
https://developer.mozilla.org/en-US/docs/Web - Guides for HTML, CSS, JS, Web APIs & more.
http://www.programmableweb.com/ - List of public APIs

>NEET guide to web dev employment
https://pastebin.com/4YeJAUbT/

>How to get started
https://youtu.be/sBzRwzY7G-k - "2016/2017 MUST-KNOW WEB DEVELOPMENT TECH - Watch this if you want to be a web developer "
https://youtu.be/zf_cb_Nw5zY - "JavaScript is Easy" - If you can't into programming, you probably won't find a simpler introduction to JavaScript than this.

>cheap vps hosting in most western locations
https://lowendbox.com
https://www.digitalocean.com/
https://www.linode.com/
https://www.heroku.com/
https://www.leaseweb.com
>>
Why does every website nowadays depend on megabytes of javascript just to display one image?
>>
Thoughts on Angular 2?
>>
>>57033541
Where are you finding all these sites that depend on megabytes of javascript to display one image?
>>
>>57031879
SQLalchemy in Python!
>>
>>57033652
Mostly news websites, but also websites that try their hardest to be some hip "app". Google's normal version also needs javascript to display images.
>>
>>57033765
Most news sites are notoriously bloated and full of tracking and advertising scripts. They aren't an example of frontend best practices, they're a frantic money grab by a dying and desperate industry. Google Images needs JS because it dynamically loads images with AJAX to do the infinite scroll thing. In fact, if you disable scripts if falls back to the old paginated version.
>>
File: 0oafY1R.png (455KB, 698x767px) Image search: [Google]
0oafY1R.png
455KB, 698x767px
I'm working on a REALLY cool project, but I don't want to share it with anybody until it's 90% complete, so that i don't overhype an incomplete product
>>
File: ccLaNrI.jpg (19KB, 329x395px) Image search: [Google]
ccLaNrI.jpg
19KB, 329x395px
>>57034005
Here's a teaser in some way at least.

http://collinoswalt.com/affine.html
>>
File: discord.png (95KB, 788x1226px) Image search: [Google]
discord.png
95KB, 788x1226px
>>57033460
>discord
>>
have skills no ideas what do
>>
How is angular 2 looking? My co worker wants to convert our stack to angular 2, I think we should go with React.
>>
>>57034534
react >>>
>>
>>57033996
> In fact, if you disable scripts if falls back to the old paginated version.
I'm not feeling like I'd want o turn off scripts every time, but if there is a way to back to the paginated version?
>>
File: Dark_Queen_Guinevere.jpg (307KB, 1236x1648px) Image search: [Google]
Dark_Queen_Guinevere.jpg
307KB, 1236x1648px
>building portfolio for entry level
>only have 4 projects to show
>think this should be OK
>start looking through them
>no responsiveness
>no javascript
>no money
>need money nao

Responsiveness is fine I can add that shit on. Javascript I am not so good at and honestly I don't have anything that needs javascript on there. I'm happy with how it is now.

Will an employer see the lack of javascript and say fuck this guy? I plan on studying up on javascript now while I'm applying for these openings, so I can surprise my employer with my horrid javascript when I get there.

The only skills I show on my project is html, css, bootstrap, and WordPress is that enough??
>>
>>57034780
Different employers want different things. It's important to let them know that you're willing to learn, tho.
As for the shit that doesn't have JS, try to implement it in a way that keeps the site functional even when JS is off. Some employers look at that.
>>
can't wait until I'm good enough to just listen to ambient music and work on my own (non-trivial) projects.

for some reason I really like video tuts so I've been watching/listening to a lot of that.

just wanna be able to get the dev's equivalent of a "runner's high" while working on some shit and not feel so lost all the time. one day... one day.
>>
jesus christ angular 2 sucks. I've been at this for two hours and can't figure out to give components inputs
>>
>>57034877
Oh yeah thanks for the reminder. So what do you think is something I can implement that is easy but good enough?
>>
>>57035131
Various AJAX calls would be my guess. If your site displays stats you can set up AJAX calls to refresh said data along with some animation. Same with all things POST and GET.
>>
I am trying to make a website that retains user information automatically.
How safe would it be for me to store a SHA256 hashed string in a cookie? The hashed string would contain a username and a number, which is then checked against the server.
>>
>>57035131

not the guy you responded to, but what about learning some jquery? that's technically javascript (a framework), and i guarantee you can find easy ways to incorporate it into some of your projects. it's also pretty essential stuff for front-end, which you seem to be leaning towards, at least at the moment.

if you haven't looked into it at all, just watch a quick intro vid. you'll see what I mean about it being easy to incorporate into your projects. also very easy to learn.
>>
>>57034877
>2016
>living without js or even wanting/thinking about it
literally fired
>>
>>57035129
http://learnangular2.com/inputs/

>>57035438
Look into JWT. It's a web standard that more or less does that.
>>
Would linking to our codewars profile on our portfolio/resume site thing for junior web devs make sense/be worth doing is it likely not to help.
>>
>>57035748

I would suppose it depends on your rank, grasshopper.

jk, it can't hurt. go for it. literally can see no way it's a negative.
>>
can someone explain what I'm doing wrong here

import {Component, Input} from 'angular2/core';

@Component({
selector: 'circles',
template: `<circle *ngFor="#c of circles" [cx]="x(c)" [cy]="y(c)" [r]="r" fill="black"></circle>`,
inputs: ['n', 'r', 'R', 'cx', 'cy']
})
export class MyChildComponent {
@Input() n: number;
@Input() r: number;
@Input() R: number;
@Input() cx: number;
@Input() cy: number;
circles: number[];

constructor () {
let rho = Math.PI * 2

this.circles = []

for (let i=0; i<this.n; i++) {
this.circles.push(i * rho / this.n)
}
}

function x (c) => this.cx + (Math.cos(c)*this.R)
function y (c) => this.cy + (Math.sin(c)*this.R)
}

==================================================

import {Component} from 'angular2/core';
import {MyChildComponent} from './circles'

@Component({
selector: 'my-component',
template: `<svg><circles cx="50" cy="50" r="5" R="45" n="5"></circles></svg>`,
directives: [MyChildComponent]
})
export class MyComponent {
message: string;

constructor() {
this.message = 'World';
}
}
>>
>>57035644
Awww yeah, JWT, cheers.
>>
>>57035467
Yes! I forgot all about jquery. Thanks anon!

>>57035193
Wut
>>
>>57035822
Using Angular.
>>
>>57035822
What kind of error message if any are you getting? What is it doing? What is is supposed to do?
>>
>>57035970
I'm not getting an error, or anything really. it's supposed to show an svg of 5 black circles arranged in a pentagon. I know for a fact that the functions x and y need to be reformmatted, but even after I get a blank element
>>
How do I set up babel for react? Everywhere I go it's just some faggot talking about how hard it is and telling me to just download their github repo and don't worry about it. I want to learn how to set it up myself.
>>
>>57035822
I don't know what you're coding but I'm sorry for you
>>
I've made a horrible mistake

I applied for a bunch of jobs asking for experience with angular 2 because I thought It was as doable as angular 1 but I just can't wrap my head around it. It's supposed to be easy but it's really, really not and I can't figure out how anyone is supposed to use it
>>
hello can someone tell me why this is sorting other variables
function order(tst){
var tmp = tst;
tmp.sort(function(a,b){
return a-b;
});
console.log(tst);
while(tmp[0] == 0){
tmp.push(tmp.shift());
}
return (tmp === tst || tst.reverse() === tmp?true:false);
}
console.log(order("4291490".split('')));


I am really confused and even if I set another separate variable to tst before I sort it that variable still gets sorted as well I am really confused.

Nothing comes up on google am I overlooking some basic principle or something
>>
>>57036045

just download the github repo and don't worry about it.
>>
I want to convert my wordpress disaster into something static, but I'm finding it's more trouble than I want to deal with (I do systems programming and have very little tolerance for webdev). How much should I expect to pay if I hire someone to fix this for me, and where would I find such a person?
>>
>>57036045
1. set up webpack
2. npm install the babel shit as per the instructions on the website

That's it.
>>
>>57036417
to clarify after the sort thing whether I set set tmp to tst and run tst or vice versa both end up sorted so I can't compare them.

I ended up just passing 2 values of tst through and got it working but am pretty curious as to why modifying 1 array changed the other as well.
>>
>>57034275
This
Discord is fucking trash. Don't use it. Even IRC is better.
>>
>>57036445

pajeet
freelancer.com
not much $
>>
File: 1465066534835.png (349KB, 829x539px) Image search: [Google]
1465066534835.png
349KB, 829x539px
Anyone in the states got some suggestions on where to look for entry level front end jobs? There's no jobs in the south and I want away from the rednecks.
>>
What exactly does react.js do? People say it's good for ui, but I really don't understand how
>>
>>57036786

bumping for answers as well.
>>
>>57036748
Cities have a higher density of people who need websites, and tend to be more liberal. Ideally look for a secondary city (e.g. atlanta, cincinnati, salt lake city) since they have lower costs of living and less competition.
>>
Any good employment/advantages for programmers who are Japanese bilinguals?
>>
>>57034275
I don't see the issues here
>>
>wake up
>I'm going to make a cool little project today
>9:00pm

$firstName = $_GET['firstName'];
$lastName = $_GET['lastName'];
$zipCode = $_GET['zipCode'];

>>
>>57036843

No, not really. Unless you're going to japan, but even in this situation, they don't really hire western programmers
>>
>>57033541
All that js makes it easier to work in teams.

What bothers me is fucked up js load usually caused by ads. Where you go to click on a link but click on somethong else because the page jumps once ads load.

Looking at you, reddit
>>
>>57036880
What about all the APIs and snippets that are just in english
>>
>>57036842
Good advice

Seems like most of the tech hubs tend to be the liberal cities in a conservative state (Austin, Raleigh, Portland, etc...)

I was eyeballing Colorado Springs because its beautiful and supposed to be an awesome city. Now I find out it is having a huge influx of white trash due to legal pot... Fucking sucks
>>
>>57036923

you don't get to work on this field if you're not capable of reading, understand and translate english. It's just not possible. From the jungles of Brazil to the designated shitting streets of india, if you're in IT you need to know the basics of english.

You can always translate things, yes, but then you don't need to be a developer for that.
>>
>>57035561
Explains why they wanted me to create something that would work with JS disabled as a part of an interview process.

>2016
>not blocking majority of the useless scripts
Anon...
>>
File: 11174_cbb1_116.jpg (26KB, 750x422px) Image search: [Google]
11174_cbb1_116.jpg
26KB, 750x422px
What is the point of making a personal website?
>>
>>57037056
Getting a job.
>>
>>57037028
How can you use something like React and have it work with JS disabled?

Serious question.
>>
>>57037088
or AJAX.

Wouldn't you be pretty much forced into making 90s websites but with modern PHP/Rails/Python etc?
>>
File: 20160604_205830.jpg (4MB, 2976x2976px) Image search: [Google]
20160604_205830.jpg
4MB, 2976x2976px
>>57037074
Pretty much the only reason. Unless you have a really awesome cat you want to show off.
>>
>>57037102
...motherfucker turning sideways...
>>
I forget the language I'm using until I'm like 30 minutes into Googling refresher stuff.

Now that I'm doing PHP again I am already forgetting React.
>>
Can someone please tell me what the hell react does, because it looks extremely useless
>>
>>57037253
When you update the DOM with Javascript, it requires the entire DOM to be refreshed.

When you update the DOM with React, it only updates the part you've changed.


It's a meme, but it's kind of fun.
>>
>>57034634
I'm not too familiar with the check that Google does, but it's probably possible with a userscript
>>
>>57037262
what kind of update the DOM with javascript are you referring to??
>>
>>57036748

places like NYC and SF are obvious answers, but are the most expensive cities in the US.

seattle, boston, austin, DC are semi-obvious and fairly expensive, but still a notch lower than NYC/SF.

really any city with over 500k or so people is gonna have a decent amount of web dev jobs. emerging tech cities currently include Atlanta, Raleigh-Durham, Boulder, Baltimore, Nashville, Minneapolis, St. Louis.
>>
>>57037344
Anything that causes a reflow aka changing any style, creating/removing elements, ect.

React just makes it easier for people to update a document fragment and append all changes at once instead of causing multiple reflows.
>>
>>57037361
>Raleigh

anyone know anything about Raleigh? is it shit? seems like the best combo of jobs and low cost of living, but I kind of imagine it's shit. is there any sort of scene for younger people downtown?
>>
>>57037406
It's a hipster breeding ground from what I've heard but I dunno too much about it.
>>
>>57036748
South has plenty of entry-level jobs and nodevs.

Get your experience here and then move.

Make sure you aren't going somewhere supersaturated or else the housing market will be retarded expensive.

Where I'm at a senior level webdev job will let you live solo in the richest city in the state.
>>
>>57037452

funny, I've heard it referred to as a "suburban hell"

hipster breeding ground is more appealing desu
>>
Can someone give me an alternative to this retarded looking bullshit?

I know my mind is just missing the easy way.

if ($zipCode == '') {
$stmt = $pdo->prepare('SELECT * FROM notes WHERE firstname = :firstName AND lastname = :lastName');
}
else {
$stmt = $pdo->prepare('SELECT * FROM notes WHERE firstname = :firstName AND lastname = :lastName AND zipcode = :zipcode');
}
>>
>>57037469
>Where I'm at a senior level webdev job will let you live solo in the richest city in the state.

that's true for any state I would think
>>
What are the best non-free books to learn HTML and CSS?
>>
>>57037494

I wouldn't even worry about books for HTML and CSS. just google some getting started guides, watch youtube vids, etc.

honestly try to breeze through it. then learn more as you have to.
>>
>>57037515
Probably Headfirst.

I learned HTML/CSS from some 850 page book. I wish Headfirst existed then.
>>
>>57034534
Its pretty good but I'm coming from an angular 1 background
>>
>>57037484
Would it be better to just fetch everything with firstName lastName and then only return JSON of those with the correct zipcode?

I don't know if it's better to fetch more, send less, or double my script size to fetch just what I need.
>>
>>57037539
Do they make the best javascript book? Or does that title go to "eloquent javascript"?
>>
>>57037515

why you tryna pay for a book to learn that stuff? best book is none. so many free resources.
>>
>>57036591
JS is pass by reference. `tmp` and `tst` refer to the same array. If you want a copy, use `.slice()`. And you aren't capturing the result of `.sort()`.
>>
>>57037584
I've only read one like most people.

Headfirst is pretty cool because it throws in tips and history about things you are being taught in side panels. They also don't write like a technical manual.
If you're into that then you will like it.

I've read probably a dozen different kinds and I like it the best.

This was the book I learned HTML/CSS from

https://www.amazon.com/Sams-Teach-Yourself-Publishing-HTML/dp/0672313456

I do not recommend it.
>>
>>57037629
Thanks I really need to just read a book on it instead of doing excersizes
>>
>>57037647
Fuck books. Read MDN.
>>
>>57037670
>MDN
That was another thing I considered, thanks for the direction.
>>
>>57037647
>Thanks I really need to just read a book on it instead of doing excersizes

no thats exactly the opposite of what you want. you wanna type stuff out, see how a page changes, google shit, type more shit.
>>
>>57037720
Could still keep you from doing things in much better ways, codewars atleast shows other peoples methods of doing stuff though.

I dont see how making sure you have an understanding of the foundatoin of the language would be a bad thing though.
>>
>>57037720
I did this first and then started reading an actual JS book about all the things behind the hooks and now I look at all code waay differently and I can actually understand what the geniuses are doing and new tricks
>>
>>57036871
>wake up
>shower
>develop a full project idea, plan its libraries and features and full graphics in your head, get excited
>exit shower
...
>>
anyone know what's up with this?

<!--
angular.js:3238 Error: <circle> attribute r: Expected length, "{{r}}"

Error: <circle> attribute cx: Expected length, "{{x(c)}}".
Error: <circle> attribute cy: Expected length, "{{y(c)}}".
Repeats 3x
-->
<div ng-app="myApp">
<circles n="2"></circles>
</div>

<script>
app = angular.module('myApp', [])
.directive('circles', function () {
return {
template: '<svg>'+
'<circle cx="50" cy="50" r="{{r}}" stroke="black" stroke-width="2px" fill="none"/>'+
'<circle ng-repeat="c in circles" cx="{{x(c)}}" cy="{{y(c)}}" r="5"/>'+
'</svg>',
link: function (scope, elem, attr) {
tau = Math.PI * 2
scope.r = r = attr.r || 45
n = attr.n || 2
x = attr.x || 50
y = attr.y || 50

scope.circles = []
for (var i=0; i<n; i++) {
scope.circles.push(i * tau / n)
}

scope.x = function (c) {
return x + Math.sin(c)*r
}
scope.y = function (c) {
return y + Math.cos(c)*r
}
}
}
})
</script>
>>
>>57033460
>htttps://programming-motherfucker.com/
Site's down. Dude is charging for all his shit now.
>>
>>57038008
Wasn't he always? Surely there's a torrent or something equivalent.
>>
Yo, what am I doing wrong

>pastebin for easy reading http://pastebin.com/9natjdmP

<?php
$host = '127.0.0.1';
$db = 'notes';
$user = 'root';
$pass = '';
$charset = 'utf8';

$firstName = $_GET['firstName'];
$lastName = $_GET['lastName'];
$zipCode = $_GET['zipCode'];
$results = array();

$dsn = "mysql:host=$host;dbname=$db;charset=$charset";

$pdo = new PDO($dsn, $user, $pass);

if ($zipCode == '') {
$stmt = $pdo->prepare('SELECT * FROM notes WHERE firstname = :firstName AND lastname = :lastName ORDER BY date DESC');
$stmt->execute(['firstName' => $firstName, 'lastname' => $lastName]);
echo 'no zipcode';
}
else {
$stmt = $pdo->prepare('SELECT * FROM notes WHERE firstname = :firstName AND lastname = :lastName AND zipcode = :zipcode ORDER BY date DESC');
$stmt->execute(['firstName' => $firstName, 'lastname' => $lastName, 'zipcode' => $zipCode]);
echo 'zipcode';
}

foreach($stmt as $row) {
$results[] = $row;
}
echo json_encode($results);


?>
>>
>>57038591
I'm getting [] echoed.

The table has data that should be returned.
>>
>>57036786
It's useful for large projects because its modular approach based on components (they're literally just js classes), you can keep your code legible and decoupled.

Also it's very fast at rendering UI thanks to the virtual dom and diff.

Furthermore It's very easy to setup a SPA with the react-router library.
>>
>>57038591
nvm, fucking camelCase.
>>
>>57033541
why is a hello world several MB in go?

...because nobody gives a shit about a couple MB in 2016
>>
What is the ideal `meme` framework to learn.
React is tempting, but brings a whole ecosystem with it.
Angular is basically a Java framework.
Ember is made by rubyists.

Backbone/Marionette seem like the only option /wdg/...
>>
>>57040145
wordpress
>>
>>57040145
Learn nodejs, react, angular.

You will get better at js which is the most important part. Then you can see which one you prefer to use or your boss prefers you to use.
>>
>>57040145
Build your own.
>>
Is KhanAcademy any good?
>>
>>57040614

not for programming nor JS

codeacademy is better IMO
>>
>>57040661

What about doing both or is that pointless?
>>
>>57040663
It's not pointless, but most of khan's stuff is geared towards teaching children to code, and they both have more or less the same material.
>>
File: raspicase.jpg (139KB, 1080x720px) Image search: [Google]
raspicase.jpg
139KB, 1080x720px
should i look into .net before going into ASP.NET MVC 5, i need it for an exam at the uni.
Or is it just .NET + the MVC shit ?
>>
>>57033601

its actually pretty good
i like typescript
>>
>>57041343
2nd
>>
>>57040145
vanilla-js
>>
Doing some reports on PDF from dynamic content, I've been using jsPDF but their UTF-8 support is horrendous so I switched to TCPDF.
Maybe theres something better idk, who cares at this point i'll just kill myself in a week.
>>
>https://github.com/yarnpkg/yarn

>Offline Mode: If you've installed a package before, you can install it again without any internet connection.
>Deterministic: The same dependencies will be installed the same exact way across every machine regardless of install order.
>Network Performance: Yarn efficiently queues up requests and avoids request waterfalls in order to maximize network utilization.
>Multiple Registries: Install any package from either npm or Bower and keep your package workflow the same.
>Network Resilience: A single request failing won't cause an install to fail. Requests are retried upon failure.
>Flat Mode: Resolve mismatching versions of dependencies to a single version to avoid creating duplicates.

Neat
>>
>have to go to work
>wish I could stay home and work on my project

>have day off
>don't want to work on my project.
>>
File: 1476236974315.jpg (73KB, 820x1093px) Image search: [Google]
1476236974315.jpg
73KB, 820x1093px
If I want to make an instagram-like website should I use mongoose with express js or just go oldschool sequelize?
>>
In SQL when using INSERT INTO do you put int values into quotes as well?
>>
>>57040184
>nodejs

It's a meme. A lot of "libraries" that you need to use to get a project off the ground are abandoned within the year, and you're left fucked.
>>
>>57045116
No.
>>
>>57045005
Depends on whether you want to model your data in a document-oriented way or relational way. Instagram primarily uses Postgres (or at least they did pre-fb), but you could make either one work.

Personally I'd go with SQL, but you do you. Mango is a shitty db and not something I'd use on a "real" production project, but for a practice thing it would probably be fine.
>>
Is using AJAX to get info from a back-end page still the thing to do?
>>
>>57045593
Yes
>>
> QUESTION to (You)
did anybody here use Elixir's Phoenix? As I have experience with Django/Python, is migration so hard?, how is the support for other helpful libraries/apps?
>>
Anyone know a library that lets the user design a PDF page (Drag and resize textareas, import and move/resize images) live on the website, then have it produce it in PDF form?

I know i can make PDF files from PHP using various libraries, but thats all designed from code. I want the user to be able to design their own PDF by just clicking and dragging etc.
>>
>>57045675
Elixir is more Ruby/RoR than Python/Django and so hipster at the moment that I don't know why would anyone use it in production.
>>
>>57045749
there are some big companies already use Phoenix for production, but I fear the transition will be hard because I have no experience in functional programming.
>>
>>57045725
that sounds like an awesome idea, doesn't exist as far as I know. Code it!
>>
>>57045725
google docs? save as pdf?
>>
>>57036748
Go to cities with high counts of photographers, musicians/bands, small start-ups, artists, vloggers and fresh politicians.
These are the people who buy website services from me.
>>
>>57045725
No.

I know all the .docx to .pdf websites suck balls as do the edit pdf sites.


PDF is shitty in general. I understand the purpose of it but it needs some meta instructions to allow easy editing.
>>
Is there a chrome extension that prevents websites from highjacking scrolling?
>>
Let me write stuff for your website pls.
>>
I'm in it for the money. Should I use dreamweaver to make websites for clients I find on craigslist?
>>
>>57045675

Not yet, but maybe soon.

Elixir is cool and pretty underrated. It's a functional langauge similar to Similar to Elm (for frontend), and that means it a whole differnt world than what all the Angular pajeets do. You might consider working yourself through some basic Erlang tutorial before getting into Elixir..

Some people just can't wrap their heads arround funtional programming, others love it. It's powerfull, but different from c/java/javascript-style coding.

The good news:
Erlang is pretty much the most simple functional langauge out there. You can learn it in a much shorter time than stuff like Haskell or OCaml. So give it a try, some dudes just don't like functional programming, but personally I think it's a pretty refreshing view on programming and once you get this functional paradigm, it's suoer easy. There's a whole bunch of problems you just don't have with functional languages, but you often have to think kinda "backwards" ion what you would do in C-style languages.


>>57045749

>and so hipster at the moment

Nowadays Go and Node.js is where the hipsters are at, dude..
>>
>>57046918
yeah
>>
Why did you guys choose web dev over app dev?

>>57046930
Do you have experience doing this?
>>
>>57046950
dreamwaver, wordpress, drupal

sir i dont have experience but very good tooling!
>>
>>57046950
You have to be 18 to use this site.
>>
>>57046976
I'm 25
>>
>>57046997
post ur driver's licence
>>
>>57047012
I don't feel like responding to a shit poster anymore.
>>
DESIGNATED
>>
File: 4iNQCd2qFB8.jpg (346KB, 2000x1333px) Image search: [Google]
4iNQCd2qFB8.jpg
346KB, 2000x1333px
>>57047033
well too bad then, keep on using that dreamweaver fuccboi
>>
>>57045675

Oh, sorry, forgot the second part:

Phoenix is a pretty good framework, it's influced by very experienced devellopers.

AFAIK it already has pretty good library support, a lot of former RubyDevs adapted libraries from Rails for Phoenix.


Also - and don't you forget that - Elixir compiles to native Erlang code, which means you can use all the goodies from the last 30 years of Erlang.

And Erlang is THE ultimate power language for telecomunication. For exmaple Erlang is the tool they made "WhatsApp" with, it's so stable, you can't bring a Erlang system down unless you nuke it from orbit.

Erlang also has the big OTP library which gives you a lot of nice stuff for free.


I always encourage poeple getting into, Elixir is a wonderful langauge, there are not as many Jobs as for the stadard stuff (Python, Ruby, MEAN, PHP), but it's fucking quality.
>>
>>57046950
I do both.


Apps are generally harder to market though.
>>
>>57047076
erlang is only good for building chats, I dont see why you would want to use it for anything else though, either you have to be a masochist or a hardcore hipster that nodejs or go wont suit you anymore
>>
>>57046918
lol
>>
File: 1474324927363.png (199KB, 439x392px) Image search: [Google]
1474324927363.png
199KB, 439x392px
Anyone know what the standard of candidate applying for a junior webdev role is here in England?
I can actually program, have lots of practical examples from small WebGL games to database applications and stuff, to actually designing and writing a pretty aesthetic website.

I'm hoping to read through a book on JQuery, and then one on OO PHP, maybe have time to work on completing a small web commerce website before my interview.
I'm excite.
>>
>>57047166
you are good

in america atleast
>decent grasp on html/css
>basic idea of javascript
>>
>>57045593
Have a look at fetch.
https://developer.mozilla.org/en-US/docs/Web/API/Fetch_API
>>
>>57047104

But that's the point, through. Erlang is pretty much a "machine room langauge", like C. Almost two decades devellopers where like "Well, Erlang is super powerfull and fun to play with, but some things (i.e. I/O) is a pain in the ass.."

Then somebody came and created Elixir, which has all of Erlangs strengths, but adds a super simple and cool syntax. Suddenly you got all the pros without the problems.

How can you not like this?

Range.new(1,10)
|> Enum.map(fn x -> x * x end)
|> Enum.filter(fn x -> rem(x, 2) == 0 end)

defmodule Person do
defstruct name: nil, age: 0, height: 0
end

# The `try` block with the `rescue` keyword is used to handle exceptions
try do
raise "some error"
rescue
RuntimeError -> "rescued a runtime error"
_error -> "this will rescue any error"
end

# To start a new process we use the `spawn` function,
#which takes a function as argument.
f = fn -> 2 * 2 end
spawn(f)


Code from
>https://learnxinyminutes.com/docs/elixir/


Go is cancerous and only got momentum because g00gle pushing it.
Node.JS is OK, for small stuff or prototyping, but do you really want to make a bigger project with it? Personally I would not.
>>
>>57047166
fellow brit here. you got examples you can share?
>>
>>57047283
I don't like Ruby.
>>
>>57047207
Maybe for an internship. I would also add:
- ability to use git
- not cli-averse
- http & general networking knowledge
- basic understanding of OOP principles and possibly FP

For an actual dev role, you need to be fluent enough with JS (or whatever lang is used) to be useful. You don't need to know every single esoteric feature inside out, but you should be able to handle yourself.

>>57047166
The stuff you listed sounds good. If your resume reflects that, I'd at least give you a closer look. You'd be surprised at how many applicants just straight up don't know how to code at all. Fizz Buzz is a thing for a reason.

More important than any technical accomplishments, though, is the desire and ability to constantly be learning new things. You can teach someone a new meme.js framework, but you can't teach them to like it.
>>
>>57046918
>I'm in it for the money. Should I use dreamweaver to make websites for clients I find on craigslist?

people that are "in it for the money" and quickly throw together websites for people that don't know better tend to use Wordpress nowadays. in fact just reading "dreamweaver" made me kind of nostalgic. haven't thought about dreamweaver for awhile.
>>
>>57047702
My friend is in it for the money. He burned a lot of bridges asking for a lot of money upfront and making a buggy mess that gets scrapped 6 months later.
>>
>>57047525

Why? If you are a Python developper, 85% of Ruby should look pretty familiar for you..

Also in Elxir you have also stuff from Python, i.e. those multiline comments:

"""
bla
blablabla
bla
"""
>>
>>57047702
If I didn't admit that I was in it for the money then I'd be susceptible to all the memeage most on this board fall prey to. I'd buy an old thinkpad, install arch, etc.

Currently studying CS in college, but in the meantime trying to get by. I know some programming, but if I don't absolutely need to make everything from scratch at this point then wtf?
>>
>>57047702
'Member when slicing templates in photoshop and using iframes in dreamweaver to load content was cool?
>>
>>57047743

yeah, you shouldn't try to design and build anything close to complex if you're in it for the money. the fact that dreamweaver was asked about suggests this guy is just looking to build some simple sites for local businesses, musicians, etc... not really create any type of web application.

>>57047771
>but if I don't absolutely need to make everything from scratch at this point then wtf?

I dont know what you are asking man. again, use wordpress. do you know what wordpress is? find one of the hundred free themes that fits what your client is looking for, use the plug-ins, make small changes on your own when necessary.
>>
bump before death. convo was going good in here then died for hours all of a sudden
>>
Come try this minimal board: http://nanoboard.ga/

The server might crash easily. It's still in development
>>
>>57049439
I had to go to work.

These threads either don't exist or die at 50 posts when I'm not here.

Aaaaaaallll (meeee)
Thread posts: 161
Thread images: 12


[Boards: 3 / a / aco / adv / an / asp / b / bant / biz / c / can / cgl / ck / cm / co / cock / d / diy / e / fa / fap / fit / fitlit / g / gd / gif / h / hc / his / hm / hr / i / ic / int / jp / k / lgbt / lit / m / mlp / mlpol / mo / mtv / mu / n / news / o / out / outsoc / p / po / pol / qa / qst / r / r9k / s / s4s / sci / soc / sp / spa / t / tg / toy / trash / trv / tv / u / v / vg / vint / vip / vp / vr / w / wg / wsg / wsr / x / y] [Search | Top | Home]

I'm aware that Imgur.com will stop allowing adult images since 15th of May. I'm taking actions to backup as much data as possible.
Read more on this topic here - https://archived.moe/talk/thread/1694/


If you need a post removed click on it's [Report] button and follow the instruction.
DMCA Content Takedown via dmca.com
All images are hosted on imgur.com.
If you like this website please support us by donating with Bitcoins at 16mKtbZiwW52BLkibtCr8jUg2KVUMTxVQ5
All trademarks and copyrights on this page are owned by their respective parties.
Images uploaded are the responsibility of the Poster. Comments are owned by the Poster.
This is a 4chan archive - all of the content originated from that site.
This means that RandomArchive shows their content, archived.
If you need information for a Poster - contact them.