[Boards: 3 / a / aco / adv / an / asp / b / biz / c / cgl / ck / cm / co / d / diy / e / fa / fit / g / gd / gif / h / hc / his / hm / hr / i / ic / int / jp / k / lgbt / lit / m / mlp / mu / n / news / o / out / p / po / pol / qa / r / r9k / s / s4s / sci / soc / sp / t / tg / toy / trash / trv / tv / u / v / vg / vp / vr / w / wg / wsg / wsr / x / y ] [Home]
4chanarchives logo
WDG - Web Development General
Images are sometimes not shown due to bandwidth/network limitations. Refreshing the page usually helps.

You are currently reading a thread in /g/ - Technology

Thread replies: 255
Thread images: 31
File: eatItWDG.png (89 KB, 1004x617) Image search: [Google]
eatItWDG.png
89 KB, 1004x617
PHP is shit edition

>Last thread >>52378038

>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/

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

>Backend development
https://en.m.wikipedia.org/wiki/Comparison_of_web_application_frameworks

>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.

>NEET guide to web dev employment
https://pastebin.com/4YeJAUbT/
>>
I need help guys.

We use a typeahead global search with results dynamically loading in a dropdown list.

When you type something in, select the result with keyboard arrows then press enter it enters the result into the input field and then proceeds to the result page.

However when navigating the dropdown menu with keyboard arrows it does not 'hover' over them thus it doesn't show which option is selected.

Which pseudoselector in CSS do I use to style the dropdown li's to change their background color if they're selected with keyboard?

Mouse hover obviously works fine with just :hover.
>>
What languages is /g/ using nowadays?

Is elixir and rails still a meme?
>>
>>52390079
In the last 2 months, I've started to learn javascript.

But this is my first halfway-decent "babby's first webapp".

Basically it makes requests to one CGI app for a list of 'units' from systemctl. Then when a user clicks on a unit, it makes requests to 2nd CGI app for status information about the selected unit.

ExtJS is awesome.
>>
>>52390200
have you tried focus and active?

Perhaps it is time to work some JS into the mix to do something like:
$('select').setAttribute('onchange', 'findSelectedOptionAndReStyle();');
function findSelectedOptionAndReStyle(){
$$('option').forEach(function(opt){
if ( opt.getAttribute('selected') == "true" ) {
opt.style.backgroundColor=blue;
}
});
}

Treat that as pseudocode. I'm totally a beginner at JS, and I DID NOT type that in the console, so... you know

Just... write some code man. Take what I said as a hint, but inevitably you'll have to write it yourself.
>>
What's the difference in jQuery between doing something like this:

("#controls li").click(namedFunction);


and this:

("#controls").on("click", "li", namedFunction);
>>
>>52391321
The first one binds once. That means if you append new li elements to "controls", it will not have the click event. The second one will.
>>
I often hear that you don't need jQuery for small projects because it adds overhead, but it's barely the size of a small thumbnail. Does that even matter nowadays?
>>
>>52391516
Probably not, and if you're just using a CDN, it's most likely cached from other sites.

Unless you're all about muh micro-optimizations and shit.
>>
>>>52391516
Kind of, but only if it takes time to ping Google's JavaScript servers (or the jQuery servers) where you are. You could host the jQuery scripts on your own website, but then you don't get updates. The slowdown is just when you're loading the page and is kind of unavoidable anyway.

Remember, JavaScript files load sequentially.

>>52390262
Ruby is slow and elixir is trying too hard to be a concurrent language.

I use c#.

Then again, I don't mind millions of append/Ajax requests.
>>
How would I create something like omegle, from a server side perspective? I've only ever done web design from the user end, but I do have programming experience
>>
>>52390361
that's actually pretty neat Charles, are you going to githurb it?
>>
Is React still a meme? I haven't really seen any big projects in it besides tons of Todo applications. Don't see a reason to use it for personal projects.
Facebook uses it, but they are developing it, and have tons of people on it.
>>
>>52393959
>https://medium.com/@wob/the-sad-state-of-web-development-1603a861d29f#.9l51xu86y
>>
>>52393850
Oops. sorry, meant to censor my name before I posted here.

I suppose I can github it, if you're interested or something. The code... works. But isn't very clean. You probably won't like it, or will at least want to improve it.

But it works. Mostly.
I didn't advertise this, but like 10% of the Units don't display, and actually cause a browser freeze up. Not sure the cause yet. If you end the process, and refresh, everything works, as long as you click on one of the working nodes. The failure is at least very consistent. Working nodes always work. Failing nodes always fail. But only like 10% of the nodes fail.

Give me a minute to upload to github.
>>
>>52393994
>https://medium.com/@wob/the-sad-state-of-web-development-1603a861d29f#.9l51xu86y
So what would you suggest as an alternative to get a web application (the client-side) running?
I'm doing the server in Golang (which I like), and GopherJS is still a bit shit.
>>
>>52394047
lel gopherjs, i thought that was a joke at first but then it kept showing up on the G+ group. for front end shit i use angular, vue or nothing.

like if what you're going doesn't need routing or fancy selectors then you don't need a framework, just use js, it's pretty easy.
>>
>>52394089
>lel gopherjs
It works, It actually compiles pretty much all Golang code to JS. But it's bloated, expect 1MB non-gzipped JS files, and still having to code in Javascript when doing Frontend stuff since the libraries are not idiomatic.
>>
I feel like I'm starting to slip through the cracks...

How do I balance my schoolwork and other activities (vidya, movies, social life, etc)?

I need to figure out something fast before it all becomes a waste, a big blurred memory in my mind.

What do?
>>
Started a web design class and they have us using dreamweaver. They said I could use any text editor I like but, since I'm starting out, I don't know if there's any reason to use a text editor over what I already have. I've tried Sublime Text out, set it up, and it's pretty neat.
>>
>>52394282
Forgot to actually ask a question, anyway, what are the advantages of using something like Sublime Text, or the other text editors out there, over Dreamweaver?
>>
>>52394293
Dreamweaver is too bloated, you won't use 99% of the shit it comes with.
>>
>>52394282
Brackets or Atom

You can't go wrong with either one.
>>
>>52394274
stop browsing /g/
>>
>>52394274
Prioritize any school related activities. Homework, projects, studying, going to classes and SLEEPING. If you have something that isn't done do it before going out or starting up vidya. It's easier if you do your school stuff straight after the last class of the day since you're still in school mode and don't have to stop playing vidya to start doing useful shit.

Does this mean you can't play vidya 10 hours a day? Yes but you aren't supposed to do that you're supposed to be studying. You'll still have plenty of time to spend on your hobbies and doing fun stuff even if you do your schoolwork as soon as possible. Besides you'll avoid all the stress of doing everything the night before deadline.

>>52394282
>>52394293
The advantage is that text editors usually have much less bloat and are faster than IDEs. And all you need for front end work is syntax highlighting and some basic text editing tools, which are probably better in a text editor than something like Dreamweaver.

There are some languages that really need an IDE, I wouldn't want to write EE Java with a text editor for example, but if you need one depends on your choice of back ends.
>>
>>52394541
Lol I hardly browse it to begin with.

I just feel like in order to get better at webdev and/or frontend development. I need to be putting in at least 6 hours a day.
>>
>>52390200
I think :focus does that.
>>
https://youtu.be/XHOhdNWqNzQ?t=40

>Live in a van
>Work as a web developer
>The job doesn't even cover your expenses
>>
>>52394593
No you don't need to spend that much time, hell I work with this stuff 8 hours a day and it's my job. If you use 6 hours on top of going to school you'll have time for nothing else.

Instead of spending hours on this daily try to learn something new every day. It doesn't have to be something big or fancy, even something small like finding out a new css rule and testing it out is fine. Or figuring out why your js doesn't work and fixing it. But the main part of it is focusing on learning new things. I try to learn something new every day I'm working. Obviously on some days I won't because while working I can't just drop my tasks and go learn something fun but I manage to stumble upon something new or at least figure out a better way to do something most days.
>>
>>52393850
https://github.com/Mr920/systemd_web_interface

Sorry it took so long. I was doing stuff most of the day earlier today, so I took a long break to watch some Star Trek.
>>
File: 1450695657749.gif (2 MB, 360x203) Image search: [Google]
1450695657749.gif
2 MB, 360x203
>>52395097
cool, mostly interested in how you used extjs
>>
>>52395150
bottom-ish section of the index.html page, enclosed in script tags

You're looking for 'createMainPanel' and 'createGridColumns' and 'createLogGrid' and I think that is it.

http://docs.sencha.com/extjs/4.2.5/extjs-build/examples/build/KitchenSink/ext-theme-neptune/#tree-two

http://docs.sencha.com/extjs/4.2.5/extjs-build/examples/layout-browser/layout-browser.html#treeview-1011-record-border

http://docs.sencha.com/extjs/4.2.5/#!/api/Ext.tab.Panel

etc
>>
Can someone give me a rundown of sass and what benefits I would get from learning it and using it, currently just write all my css by hand and actually enjoy doing so.

What is sass?
>>
>>52395610
>what is sass
css on steroids. It adds a few nifty things that are useful, especially when you're working on larger projects. The main benefits are variables, mixins and being able to nest your rules.

And the best part is that css is valid sass, if you're using scss that is. So you can take advantage of some of the features without having to worry about learning new things instantly.

Though be careful with sass and lots of nesting and/or using loops as they can and will create massive css files.
>>
less or sass and why
>>
http://ferd.ca/rtb-where-erlang-blooms.html

> 8,000 connections per second per server
> Nearly 700 million hits per second per server
> Every hit does a tonne of shit
> 35ms maximum latency

Jesus Christ I'm in awe.
>>
>>52393324
Web sockets
>>
>>52396253
And there still are people in this very thread calling elixir a meme
>>
>>52393994
Like all over employed faggots, he fails to realise that not learning the million and one frameworks means you're less competitive for jobs.

Gen X are almost as bad as baby boomers.
>>
>>52394047
Literally just Ajax and append the dom. This solves 90% of problems, is only a line or two more than data binding and is simply what most web developers expect.

Also, it means you can use whatever language you want for the backend, because every language has a handful of libraries which simply generate 200s with message content.

>>52396253
Pretty sure it's still slower than Go and C#, definitely slower than C++ (fastcgi or boost, whatever). Unless there's a comparative benchmark or unless you know the machine it's running on, those numbers mean nothing.
>>
>>52396694
>Pretty sure it's still slower than Go
...
>>
>>52396751
I've seen benchmarks of elixir that say 400us/2k rps.

That's pretty fair, but assuming the machine that benchmark came from is about similar to mine, Go and C# implemented juust right are both faster. Considering fastcgi responds faster than nginx, I'm almost certain elixir isn't faster.

On that note, if you're happy with a language as inconsistent as elixir, maybe use c++? Its still just returning strings, anon.
>>
>>52396813
Did elixir do something to your family.
>>
>>52396813
>>52396253

You've completely missed the part of that article that gave that performance

>running Gentoo
>>
> work at company
> shit-tier drupal sites
> moving to wordpress
> will it just be more shit

anyone been through this and how bad/annoying is it
>>
>>52397600
We've got roughly 400 Joomla sites sitting on one cPanel server. Let me put it this way: I can't upgrade to a currently supported version of PHP because it would break roughly 100 of those running a sufficiently old Joomla. And no one has any plans to upgrade them, literally ever.
>>
File: perl.jpg (81 KB, 625x468) Image search: [Google]
perl.jpg
81 KB, 625x468
>>52390079
>PHP is shit edition
It's so shitty but people it over whatever stupid meme language you love(because its the only language you know). I love how butthurt you guys get over this.
>>
The Website Obesity Crisis
http://idlewords.com/talks/website_obesity.htm

FUCKING READ THIS FAGGOTS
>>
>>52397623

time to quit job and get hired back as Joomla expert at $200/hour?
>>
File: sticker-02-15-2.png (86 KB, 2064x1434) Image search: [Google]
sticker-02-15-2.png
86 KB, 2064x1434
>>52397635
>I love how butthurt you guys get over this.
projecting much?
>>
>>52390262
not sure /g/ even understand recursion. may be /prog/ does
>>
>>52391321

What's the difference in jQuery between doing something like this:

(‘#controls li’).click(namedFunction);


and this:

(‘#controls’).on(‘click’, ‘li’, namedFunction);


----

This is a summarisation of http://api.jquery.com/click/ and http://api.jquery.com/on.
If you’re comfortable reading the developer reference, this is preferred.
If you’re not, you should practice at least.

Firstly, the click method.

“This method is a shortcut for .on( "click", handler )...” (on reference)

So your first line is identical to:

$(‘#controls li’).on(‘click’, namedFunction);


Secondly, the on method(). The behaviour of on() is different depending on whether or not you provider a selector (and whether the selector is non-null).

When a selector isn’t provided, the event handlers are ‘directly’ bound to the element(s) returned by $(‘#controls li’). If it returns 3 li’s then it will be bound three times, if it returns 100 li’s then it will be bound 100 times. It is bound n number of times relative to the returned elements from the selector. When the li with the bound event is clicked, or any child element underneath it, the event will be trigger on the li (with the latter triggering later, having to bubble upward).

When a selector is provided, the event handlers are bound to the matching element(s) once. When any child element is clicked, the event information will bubble upward until it finds an event handler (or reaches body). If the child element that was clicked matches the selector provided, then the event handler is called.

These two different behaviours are referred to as a direct event, and a delegated event, respectively.
>>
>>52390262

javascript everywhere
>>
>>52398289
is /wdg/ stackoverflow now
>>
Holy shit /wdg/ how the fuck do I deal with absolutely retarded co-workers?

Every single line of code this village idiot writes is a butchering of some sort

>10 method calls when problem could be solved in 2
>absolutely zero attention to readability
>no respect to/knowledge of naming conventions or common design patterns
>no common sense/ability to comprehend basic fucking logic, he just makes completely stupid mistakes without ever thinking anything through

sweet lord
you don't know what a 'code monkey' is until you're forced to work with one
>>
>>52398289
This means that as mentioned earlier, if you append an li to a ul, it will not require the click event to be re-bound to it.
>>
>>52398332
Kill him in his sleep, its what i always do
>>
Started experimenting using websockets to display a live log of a program I'm running on a server, got it running after some hours, I though it would be harder.
>>
>>52398544
What are websockets used for? Are they like built in functions in languages that operates with data transfer?
>>
>>52397591
So hard to choose between gentoo and arch
>>
>>52398740
I was looking for a way to send data to a browser without polling, and websockets allow that, establishing a constant 2-way connection, using events to communicate asynchronously.
>>
>>52398784
>gentoo and arch
enjoy never getting real work done because you're too busy reading up the Arch wiki on how to fix every package in the latest update.
not to even mention all the time you probably spend on ricing your animu simulator a.k.a. the fucking computer you're supposed to just make programs on.
fuck off.
>>
>>52398829
go back to stackoverflow faglord.
>>
>>52398876
This isn't even an insult.
I take it as a compliment that you assume I have a SO portfolio.
>>
I asked in the other thread, so I might as well ask here too.

Is it worth investing time learning ASP.NET MVC? Seems like the old WebForms blows it out of the water productivity wise
>>
Every job I've seen posted for front end requires angular. But people here and everywhere else say that react is better in every way. Should I suck it up and learn angular anyway? I have basic knowledge of JavaScript and focusing more on jQuery at the moment. Would you say I need a more intermediate level of vanilla is before diving into angular or react?
>>
>>52390079
>wordpress
>a cms
HAHAHAHAHAHAHAHAHA
>>
>>52390079
>CPanel is a fucking CMS
woah. I thought it was a hosting control panel?
>>
>>52397600
Wordpress is true nigger tier. It was never built to be a CMS but just a BLOGGING platform with sequential programming (no OOP). It's 1998 all over again. Everything is a blog post and you hack/scam your way around it to make it a CMS.
If your CTO pushes WP in, it's time to move on...
>>
>>52399176
yet people are earning big buck with wordpress
>>
>>52399176
Believe it or not most companies don't require super complex web apps and micro level optimization. like /wdg/ would make you believe. WordPress is more that enough 90% of the time.
>>
>>52399221
I've worked in some of the biggest WP shops in Canada. Let me tell you how bad it was. Dev Manager and up have no idea what is good, how to code and end up over scaling WP sites because WP is slow and shitty. MFW we had some WP sites scaled over 40 servers, that would have taken barely 2 or 3 if coded properly.
>>
>>52399271
I never used WP and I never saw how people work with it. I fail to imagine how do they make websites without coding the html/css. I mean I understand it like a framework where you put elements with mouse but still
>>
>>52399328
There are two types of WordPress. The blogger kind and the cms. You're referring to the blogger.
>>
>>52399328
it's like a micro CMS with one table, the blog table. Then you do a pseudo query to get your unorganized data from it. At this point your data is a blogpost (since WP is a blogging platform, not a CMS). Then you have to resort using buffers like the "ob" functions cause it lacks OOP, over a function named the_post() if memory serves. Yes it's that bad. Then you have plugins with no MVC architecture. I could go on and on, I got into WP with an open mind and was forced to realized it is the memest product of all time and got out of it.
>>
How do you guys update xampp?

Some people just move the htdocs and move the mysql/data/ folder.
Delete and install xampp.
And the move the folders back.

But I'm not sure if this works well or if you ruin parts of the databases.
>>
>>52399504
then export the database too ...
>>
>>52399504
>not installing separate components
seriously stop the plebbing with the AMP. Just install Apache, PHP and MySQL and edit the fucking .ini files, it literally takes 2 minutes. Then you just have to update the bin folders. Wewwww
>>
>>52390079
>PHP is shit

as someone who does php I agree, it's messy.
>>
>>52399519
But why would you save the mysql/data folder if you can just export and import the database?
>>
when could someone be considered -ready- to enter the workforce as an entry level webdev? What particular skill set/languages/framework knowledge is proven to be a solid base?

If you could expound the above for both front end and back end. I'm currently working outside sales but really want a change in career to something that involves problem solving
>>
Before coding a website, what software should one use to easily sketch it up and see what it will look like?
>>
>>52399733
>when

You should know Bootstrap for front end, and PHP and SQL for back end. Also, it would be far easier to find customers if you knew how to code WordPress themes, since these are in high demand.
>>
>>52399792
Thanks for the tip, What would I need to know to do wordpress theme modification/creation? Just what was aforementioned or is it all written in css/html with php for backend and sql for databasing
>>
>>52399861
To make WordPress themes, you should know HTML/CSS and very basic PHP.
However, it's highly advised to know Bootstrap and responsive web design (this also applies to general web design, not just WordPress).
Knowing basic JavaScript, and the JQuery is also advised (you would make more if you knew it), but not necessary (Bootstrap handles most of that for you).

Also, you should know how to Ajax for general web design as well.
>>
Haven't posted here in ages.

/wdg/ birthday in like a month I think.
>>
>>52394282
I had to take a web design class where we could only use Dreamweaver. I NEVER used it, and I always went back to Sublime. Dreamweaver is shit for web design and even more shit for actual development.
>>
>>52394593
If I need to learn something, I usually dedicate one or two days to learn it, which obviously happens to be Saturday or Sunday. Go to bed early on Friday night (1:30am max), then wake up at 9:30am on Saturday and learn/practice till about 3pm. Repeat for Sunday if needed.
>>
I have a website with some 3d animations going on and i need to make it work on iOS even older (iphone4). I heard that some css properties triggers hardware acceleration on phones so animations would work better.
Is that true? How do I implement those?
>>
>>52400948
-webkit-transform: translate3d(0, 0, 0);


Not sure how it works on older phones.
>>
File: Screenshot 2015-06-24 21.08.44.png (1 MB, 1680x928) Image search: [Google]
Screenshot 2015-06-24 21.08.44.png
1 MB, 1680x928
>>52390361
>ExtJS is awesome.
>>
>>52401379
can I apply it to like * all elements to be sure or just to the animated ones
>>
>>52401470
I wouldn't apply it to everything. Iirc it takes some resources so you should only apply it to the elements that have animations. I haven't used it much, mainly to fix some iOS safari bugs that will be solved by forcing hardware acceleration so I don't have much experience with using it.
>>
Any tips on landing your first web dev job?

Most importantly landing an interview with a very basic bitch portfolio.

I am also fine working for 15 an hour to build my resume/exp.

This area is just recently booming web-wise and I know there aren't a ton of devs to compete with.
>>
>>52402018
Apply to every single company that has their own web team.
>>
anyone here ever work with mediawiki api? this shit is confusing as fuck.
>>
>>52402092
Love it.

I hope people like basic geolocators as that's all I have in my portfolio.
>>
>>52402143
I started out under 2 years ago with basically no experience, got an internship and now I'm employed doing online banking. Just believe in yourself and you'll do fine as long as you're good and keep improving. No one expects a new junior dev with hardly any experience to be great but if you get stuck on that level you'll be in trouble in the long run.
>>
File: Kirisame.Marisa.600.741903.jpg (89 KB, 521x600) Image search: [Google]
Kirisame.Marisa.600.741903.jpg
89 KB, 521x600
hey /wdg/ I'm trying to understand why I would want to use OpenShift, AWS, etc.
what makes them better than a server?
>>
>>52403235
Guaranteed uptime, not having to spend time in researching what server to get, easier to set up. General convenience, just like all cloud services.

You won't get that for free though. If you know about shit it's most likely much cheaper to just buy a server and throw it into a colo if you've got any traffic so that the cheapest possible cloud solution doesn't work. And at least you've got control over your server.
>>
Two questions, both HTML/JavaScript related:

I'm using this:
http://loopj.com/jquery-tokeninput/

Which has a jQuery dependency. I do not wish to use jQuery.
Is it possible for me to de-jQuery said plugin?
I've looked over the source code and it looks doable.

The second and more pressing question is, how do I preload values with it properly?

I want users to hit a page, and then I want the tokeninput field to be filled out with preset values.

The only way it seems to support preloading is by writing in the following in JS:

$(document).ready(function() {
$("#demo-input-pre-populated").tokenInput("http://shell.loopj.com/tokeninput/tvshows.php", {
prePopulate: [
{id: 123, name: "Slurms MacKenzie"},
{id: 555, name: "Bob Hoskins"},
{id: 9000, name: "Kriss Akabusi"}
]
});
});


I could "generate" this javascript serverside, but that seems like a horrid option. Am I wrong?
>>
>>52403437
You could remove the jquery dependancies but that would be awful for maintenance. You'd be stuck with your own plugin that you don't handle yourself. So every single time you want to update it would require you to go through it and make sure everything works again.

Basically avoid messing with any plugins unless you want an unmaintainable mess.
>>
>>52403591
I don't believe I want to update it, and
>So every single time you want to update it would require you to go through it and make sure everything works again.
welcome to the life of software dev, at least for me

I don't really like relying on third-party JS for something I'm trying to make myself, a bad case of NIH maybe, but eh.


As for pre-populating the list, is writing js into a template as bad a practice at it seems?

like, take this example of pseudo-template-code:
<html>
<head>
<script>

$(document).ready(function() {
$("#demo-input-pre-populated").tokenInput("http://shell.loopj.com/tokeninput/tvshows.php", {
prePopulate: [
{% for token in tokens%}
{ id: {{ token.id }}, name: {{token.name}} },
{% endfor%}
]
});
});

</script>
</head>
<body>
<h1>Hello, /g/</h1>
<input id="tokenfield" type="text"></input>

</body>
</html>


and pretend that the comma at the end of the loop doesn't ruin everything. Is this bad practice?
>>
>>52399114
Don't even bother learning Angular. It's becoming obsolete with Angular 2 coming out and being drastically different than Angular. Anyone who used Angular basically got punk'd.
>>
>>52404916
learn React instead.
>>
>>52398994
Yes, it is. I used to think that webforms is the bestest thing in the world, but MVC is just superior. WebForms are good for rapid development and shit, but you become extremely illiterate. When I was doing webforms, I had no fucking clue what AJAX or javascript or any of that shit was because the webform stuff does it all for you.
>>
Anyone here know how to use .htaccess files?
>>
>>52405510
$ vi .htaccess
>>
File: file.png (5 KB, 321x34) Image search: [Google]
file.png
5 KB, 321x34
does box-shadow not support variables or is chrome's implementation just unfinished
>>
just accepted an $18 per hour front end end job

how bad did i get cucked in terms of pay?
>>
>>52404963
React and angular aren't comparable. React is server side rendering, angular is mostly data binding and views (if you want to break navigation with SAP). Data binding doesn't seem bad, because you don't even need to touch JavaScript, but in the end it's one or two lines to get a value from a html element. Avoid SAP.

React I have no idea about, maybe a good idea if your site has heavy multimedia?

>>52406409
Unless you're under a fixed term, look for other jobs and use it to step up. Think of this as a start, not a finish.
>>
File: UCYOw63.jpg (69 KB, 804x1060) Image search: [Google]
UCYOw63.jpg
69 KB, 804x1060
How much money should i ask for this project im about to finish and pitching to a company? Its a site thats more of an online application the company workers can use, both for desktop and mobile. It genuinely took me about 200 hours over the course of 3 months to finish, mostly because im quite new to this stuff. I feel like thats way too many hours. I have no idea how long these things are supposed to take, will they laugh at me if i tell them the truth? Should i go with something like 100 hours? I also might get an employment to develop further things exclusively for the company if they like it, and i feel like i might ruin that chance if they think i take way too long to develop things.

Also, what should i ask for pay IF i get hired? Fullstack webdevelopment
>>
correct me i'm wrong but frontend development isn't the same as web development right or no?

please explain
>>
>>52406828
if i'm wrong*
>>
What stack is better for overall employment security.

WAMP, LAMP, MEAN, or FULL
>>
What's the difference between a function and a method in Javascript?

I don't remember where but I think I heard someone say that methods are functions that are part of an object or something.
>>
File: Untitled.png (144 KB, 1366x768) Image search: [Google]
Untitled.png
144 KB, 1366x768
For all that's sacred I've been stuck for ages on the simplest of tasks.
I'm trying to crossreference a database over mysqli but I can't even get my php form right.
It doesn't matter if the info is sent over POST GET or even a hidden input, but I can't get this easy thing I've done many times before working.

<html>
<head>
<meta charset="uft-8">
<link rel="stylesheet" type="text/css" href="style.css">
</head>

<body>
<div id="mainDiv">
<img id="icon" src="icon.png"></img>
<h2> Log in to continue </h2>
<form action="" method="get">
Username: <input type="text" name="username">
Password: <input type="password" name="password">
<p>
<input type="submit" value="Accept">
<input type="submit" value="Cancel">
</p>
</form>
<?php
$username = $_GET['username'];
$password = $_GET["password"]
echo("Username: ".$username);
print_r("Pass: ".$password);
?>
</div>
</body>
</html>
>>
>>52406910
LAMP if you want to mostly be hired to maintain code
MEAN if you want to replace mongo with something else and angulae qith something else and actually make money
the fuck is full
>>
>>52407734
sorry isn't full stack considered something?

I thought full stack is frontend and backend development.
>>
>>52407870
yeah but youre mentioning specific things and full stack can literally be anything
>>
Holy fuck kinda lost right now

i've created all kinds of random personal shit, only one or two sites got decently sized on shit i custom wrote. (100K users, now defunct)

releasing a pretty decent project at work this week, and one thing we forgot was the EULA, TOS or what the fucker ever.

What exactly is the "proper" way of doing this?
what all do we need?
Were storing all kinds of crap, and running google analytics.

My only other decent (personal) project strives in not storing literally any personal information, so i never bothered with one.

And anything else i've worked on, was already 'existing' in some way or another.
>>
>>52406588
>200hrs
the fact that you haven't got a contract yet shows how inexperienced you are. you should charge them industry rate and settle at minimum wage, so the cost is $8-10k, settle for no less than $4.2k
>>
File: 754376.jpg (16 KB, 234x216) Image search: [Google]
754376.jpg
16 KB, 234x216
How do I use JavaScript to make a simple search function?

I want something like this
http://www.w3schools.com/js/tryit.asp?filename=tryjs_intro_validate

But have it so if I write a name it will show me the phone number connected to that name.
I know it's super simple, but I have no idea of what I'm doing.
>>
>>52404916
>tfw my manager wants me to learn angular 1 for the next project
Kill me
>>
>>52408297

>muh directives
>muh data binding
>>
>>52408297
Your boss is a dick senpai.
>>
Are .htaccess files even necessary?

If I type example.com or www.example.com, technically it'll bring me to the same site without me having to define that rule in an .htaccess file right?
>>
>>52408230
Try something like this

//Array with 2 objects
var people = [
{ //Object 1
name: 'John',
phone: '55-123-4567'
},
{ //Object 2
name: 'Umaru',
phone: '86-782-2257'
}
];


var message = '';
var person;
var search;

function print(message) {
var outputDiv = document.getElementById('output');
outputDiv.innerHTML = message;
}

function getPerson(person) {
var report = '<h2>Name: ' + person.name + '</h2>';
report += '<p>Phone Number: ' + person.phone + '</p>';
return report;
}

while(true) {
search = prompt('Search person records: type a name of a person or "quit" to end search');

if(search.toLowerCase() === 'quit' || search === null ) {
break;
}
for(var i = 0; i < people.length; i++) {
person = people[i];
if (person.name.toLowerCase() === search.toLowerCase()) {
message = getPerson(person);
print(message);
}
}
}
>>
File: fuckme.jpg (140 KB, 732x205) Image search: [Google]
fuckme.jpg
140 KB, 732x205
I'm really fucking tired but I don't wanna go to bed before I get this to work.

I'm hiding the video file and it is displayed when a link is hovered. It's muted by default and I'm trying to have it play sound when I hover the link. Anyone know what's wrong? Never mind the stupid idea of having videos load and play in the background, I will change that later.
>>
>>52408297
>tfw for last year's toast the boos of my boss came to our office and someone asked 'are we upgrading our technologies anytime soon?' (ASP.NET). Manager said 'yeah, we're looking to include bootstrap and angular some time soon'
>tfw we are late to the party

>>52407870
To clarify, fullstack - as in 'fullstack developer', is a term used to designate someone (or something) that covers everything from the frontend to the backend.
The MEAN stack is a fullstack because it covers the frontend (Angular) and the backend (Mongo-Express-Node).
>>
>>52408103
plz respond ;~;
>>
>>52409494
some will hate me for this, but go ask Reddit /webdev. i've seen questions like yours asked regularly there
>>
>>52409626
but... i've never posted there, is it safe?
>>
>>52396813
Nobody used Elixir/Erlang with a single node in mind, though. Think about microservices, in BEAM world you can split processes and umbrella apps in several computers and it will work just fine.

Not to mention hot reload and live coding.

Elixir get all of productive part and still manager to be somewhat fast, and you still complain about speed?
>>
For webpack, how does it know where to load the starting HTML file from? I downloaded this boilerplate: https://github.com/gaearon/react-hot-boilerplate and I can't find the place where it references index.html
>>
>>52408103
>what all do we need?
You don't strictly need anything. A ToS helps if your site is compromised, someone gets fucked by what's pulled out of the DB, and they decide to sue over it. In reality you'd almost certainly win the suit anyway but a typical ToS will get the case thrown out before even needing to get into a court room.

You don't need an EULA unless you're planning on going after people for violating your intellectual property rights. Also if you're an asshole.
>>
>>52408710
Elements with ids containing dots can't be described by CSS selectors,
#mov-yns2.webm
selects the element with id "mov-yns2" and the class ".webm". Change the id to something that doesn't have dots and it should work. If yours building the id out of filenames just replace dots, hashes, and spaces with like "--" or something, that's the usual approach.
>>
>>52410178
webpack is a module bundler, ie it grabs a lot of *.js and returns a single bundle.js.

THEN, you reference this bundle.js on the index.html
>>
where to go to look for any cheap pay work from home jobs? looking for a 2nd job for home for extra cash.
>>
>>52408692
It has to be specified somewhere, useragents generally won't infer the base domain from "www.domain.tld" unlike protocol inference. Usually you do it in the DNS records and just point the www subdomain the the same place as the base domain.
>>
>>52410256
>and the class ".webm"
err, I mean
>and the class "webm"
>>
>>52410178
webpack is a module bundler, it grabs all your js files and bundles them into a single file bundle.js

THEN, you put reference that bundle.js on your index.html

The repo you referenced also comes with a dev server that starts on the root directory, when you make a GET request to it, it will return index.html, that's what servers do...

Also, that boilderplate is ugly, you can get that "live" reload and rebuild thing with gulp and npm. I'm not trying to stress you out, but seriously? A boilderplate for that?
>>
If you were hired right now, how would you keep in touch with your client? On my contact page I have my phone, email, and Skype account listed. Is there a more professional way to keep in touch? Besides screenshots what's the best way to show them the progress so far?
>>
>>52410706
Email and phone messages depend on the urgency.
>>
http://techcrunch.com/2016/01/13/1261560/
>Increased reliance on functional programming languages

we /dpt/ now
>>
>>52393959
it's ok, better than the mainstream alternatives. we use it in pretty big production apps. but I prefer elm for personal projects
>>
>>52398289
first one directly binds that event on all elements of that selector. so it binds the same event many times and if the elements are destroyed and re-created, the event won't fire. second one binds the event once on the #controls element, but any of it's children that are clicked that happen to be an li element fire the event. that's event delegation
>>
>>52398332
if you do code reviews, just ruthlessly reject his pull requests
>>
>>52399114
I use an Angular requirement as a quality filter, i.e. if the job requires it, it is going to be a shitty job with a shitty engineering team, so best avoid it.
>>
>>52410407
Doesn't Gulp do that already? Is Webpack competing with Gulp and Grunt?
>>
>>52402018
maintain an active github, be able to talk about your code
>>
>>52403764
what is that, ruby interspersed? doesn't look like a good idea. keep data and logic separated, i.e. get your prepopulated tokens as json in another request. your js files should only contain js
>>
>>52407712
that's pretty much correct, but there's not really any such thing as a 'method' in js. just functions
>>
>>52408297
leave
>>
File: 1452137788223.png (211 KB, 1835x864) Image search: [Google]
1452137788223.png
211 KB, 1835x864
Help with this error
>>
>>52412641
Looks like taskListItem is undefined for some reason
>>
Why is node so shite, i installed the swagger editor today and it downloaded probably 10000 packages, fucc dis.
>>
>>52413302
why the fucc is it installing selenium webdriver
>>
>>52413302
npm ERR! weird error 1
npm ERR! not ok code 0
npm ERR! weird error 1
npm ERR! not ok code 0
npm ERR! weird error 1
npm ERR! not ok code 0
>>
>>52413302
>>52413310
>>52413327

oh my fuccing god
>>
>>52412395
Not at all, actually they work together pretty well. Webpack is a very straight forward application, it grabs your shittone of js modules and puts them into a single file, I would say it competes with stuff like browserify.

Gulp is an tool for automatization of work, you can make it unit test your code with mocha, auto reload your server on changes, fix styling on your code. Also you can make it auto rerun webpack when you change one of the files of your bundle.js, its pretty nice.
>>
Anyone been hired here without a relevant degree like comp sci here? What kinds of projects were you working on before hired if so? I want to build a portfolio now that I am more confident in my programming skills (transitioning from making hobby desktop apps) but I have no idea what kind of websites to start building for a portfolio. Would a chat website be a good start?
>>
>"hey I heard you can do web sites, can you remake ours?"
>"meh I don't know, I'd have to check first what's on there"
>"come on I'll give you 500€"
>"but with that price I can't make a new site, at most I can refurbish what's already there"
>"whatever is fine man"
>I go check on the host
>fucking joomla
>nope the fuck out of there

not worth the time
>>
File: breh.jpg (3 MB, 3702x5526) Image search: [Google]
breh.jpg
3 MB, 3702x5526
>>52410304
Thanks breh
>>
how do I make my bootstrap-based site not look like every single other bootstrap-based site?
>>
>>52414385
You don't.
>>
>>52414141

I like the thick xtina much more than the skinny or fat xtina, when she is like this she is perfection.
>>
Would someone be considered an intermediate JS user if he were able to make something like this?

http://codepen.io/anon/pen/YwxJPO
(open in Chrome)
>>
File: breh2.jpg (2 MB, 2400x3662) Image search: [Google]
breh2.jpg
2 MB, 2400x3662
>>52414431
Agreed breh
>>
>>52414442
>todo list
>intermediate
>>
how the fuck would one convert this ES 6 shit into normal usable javascript which can be used without npm

https://github.com/nygardk/react-share
>>
>>52413857

i made a book store app with html/css/pyhon
>>
Kind of late to the party, but whatever. I've some questions about installing mean.io on multiple machines. Do you need multiple accounts for multiple machines or can you use your login on all of them? Learning this framework now for school and help would be nice.
>>
>>52414614
It's not the app but how it handles traversing the DOM and how dry and readable the code is.

The scope of a project matters very little when measuring your skill level if you know the fundamentals, the rest is just reading the documentation and adapting code snippets.
>>
>>52399271
>>52399328
>>52399376


I'm working with a Wordpress developer that wrote a plugin. That plugin, in every page load, sends a series of API lookups to Twitter, then stores them in a database. Despite the fact the results don't change constantly and it's now in a database, they are refreshed every page load.

It then tries to build some kind of social graph out of the data. It requires so many queries that by the time half of its data is collected, it's usually querying against data that's been updated because another person loaded the same page.

We worked out every page load is something like 12 remote API calls, 10 inserts and 30 selects. The data changes rarely enough you could run the process daily and cache it and everyone would be happy.

With complete fuck that this is, it's obvious to the majority of developers that this is obviously hideous. But every person that describes themselves as a Wordpress developer looks at it and tells me it's really well written.

Wordpress is like a meth meme. This sort of shit is not normal. On Worpdress, it is.
>>
>>52414842
babel
>>
>>52410256
Thanks a lot mate. I knew the problem would be something like this. It works perfectly with just changing the dot to a line.
>>
>>52415010
It shows that you're at the very least competent, yes. But if you're really looking to impress you'll want to do something a bit more complicated than a to-do list.
>>
>>52415214
Why not update a JSON file instead, then update the database once every few hours with the data from that file? I'm just guessing ways to make that a bit more efficient.
>>
Where's FAP-kun and why isn't him shilling C# to keep this alive?
>>
So I have a personal site right, and on this personal site, I am using Twitter's embedded feed JS widget. I am using the -noscrollbar attribute but for some reason it doesn't work half the time.

I tried using
::-webkit-scrollbar {
width: 15px;
}

::-webkit-scrollbar-track {
background-color: #C8C8C8;
}

::-webkit-scrollbar-thumb {
background-color: #808080;
}

::-webkit-scrollbar-button {
background-color: #404040;
}

::-webkit-scrollbar-corner {
background-color: black;
}

so that if it did randomly show up, the scrollbar wouldn't look totally out of place on the site with the shitty default design.

This does nothing though. Because I am not able to change the JS beyond what I am able to generate on Twitter, is there anything I can do to either hide all scrollbars entirely, or change the design of the one used by the Twitter widget? It looks so awful and its making me upset.
>>
is there a way to query the performance of the users pc with or without their consent?
>>
File: 1451657136123.png (14 KB, 646x720) Image search: [Google]
1451657136123.png
14 KB, 646x720
>mfw most jobs in my area are focused around Wordpress
>mfw I have to lie about how much I hate that shit cms to get an internship
>>
>>52417153
>run a superheavy webgl benchmark test on the pc's of all users
>collect data
>>
>>52417216
you in?
>>
>>52416983
Insert into css
Display: none;
>>
Stop making these fucking permathreads.
>>
>>52417257
Ok
>>
>>52397758
I'm not the one constantly whining about shit I supposedly don't use. You whine about PHP because you know it 1000 times more useful than your shitty babyscript languages even though its completely shit too. Fucking script kiddies.
>>
File: 1450936590635.jpg (233 KB, 1920x1080) Image search: [Google]
1450936590635.jpg
233 KB, 1920x1080
>>52417310
i wish i was doing damage control, but i just feel bad for you now
>>
File: 1451212561531s.jpg (3 KB, 250x99) Image search: [Google]
1451212561531s.jpg
3 KB, 250x99
>>52417310
>PHP
>Not shit
>>
>>52417310
Not him, but C# is a really nice language and has so many packages. Also, Go isn't bad either.

PHP is actually kind if shitty, just admit it, you like something shitty. We all did at one stage, whether it was DBZ, linetrap or PHP.
>>
File: 1451212570918s.jpg (3 KB, 250x99) Image search: [Google]
1451212570918s.jpg
3 KB, 250x99
>>52417401
>>
File: 1451212579993s.jpg (4 KB, 250x99) Image search: [Google]
1451212579993s.jpg
4 KB, 250x99
>>52417418
>>
>>52417401
>>52417418
>>52417431

FeelsBadMan
>>
Laravel is saving php
>>
>>52417417
>whether it was DBZ
Dragon Ball Z? If yes, go fuck yourself.
>>
>>52417178
move nigga, if all they need is wordpress, theyre probably shit businesses who won't appreciate your skills.
>>
File: Untitled.png (7 KB, 666x367) Image search: [Google]
Untitled.png
7 KB, 666x367
This sounds simple enough, and no this isn't a homework but rather...a part of my thesis, just the final part where I display my results.
How do I get the value of a variable from a python controller sent over to an html view?
>>
>>52417806
That's a terribly vague question. What kind of application are you talking about? What do you mean by an "HTML view"?
>>
>>52417806
google html template systems
that's what you're looking for, it allows you to embed code in html and generate the resulting html page
or just use django
>>
>>52417883
Actually never mind, just figured it out.
Thanks~
>tfw been an intern for an engineering company maintaining product lifecycle management software written in C
>have 0 idea about web development
Maybe I should just display my findings in a text file, as if it'd look any worse than it is now. Oh well, all of the sake of graduating.
>>
Started using ASP.NET because the gigs where I wanna apply to all use that shit.

I must say, C#'s a damn fine language. Bar the usual Microsoft retardness here and there (doc syntax is shit. Seriously, who thinks xml is easy to read? even PHP's doc syntax is miles ahead of that), however, it redeems itself with computed properties and virtual identifiers. I also really like being able to create my getters/setters on the same line as their respective declared property.

I'm currently working on my models because this is what I understand for now. I'm still trying to figure out a good workflow to make views without heavily relying on scaffolding.

Anyway, anyone else doing asp.net shit here?
>>
Is there a site or resource that simulates different browser versions? I need to test my site in Edge, for example, but I have no Windows 10 machine to test it on right now.
>>
>>52418121
>without heavily relying on scaffolding
Professional (read as 'I work everyday with this shit') ASP.NET [MVC] here.
Don't hold back, anon. The scaffolding is there for you to use it. It's there for a reason, and that reason is make your workflow easier so you can concentrate on other things.
>>
File: ujelly2.png (17 KB, 1097x284) Image search: [Google]
ujelly2.png
17 KB, 1097x284
U jelly?
>>
File: ujelly1.png (17 KB, 1094x280) Image search: [Google]
ujelly1.png
17 KB, 1094x280
Even more jelly now I bet
>>
>>52418256
I get that it's supposed to help in the grand scheme of things. However, I hate how there is no way to create a CRUD view based on different ViewModels, each meant for a different part of the CRUD. Also I really dislike how unintuitive the acquisition of the current user's ID is. You'd think it's common practice to include the current logged in user's ID to a column in a table when creating a new record. You'd think EF7 has that figured out and works in cooperation with ASP.NET's Identity module, where you'd just include a data attribute in your model over the UserID property claiming it's a user's ID.

Models aren't much of a headache, it's mostly how ViewModels can't be assigned to certain CRUD sections, if that makes sense to you.
>>
>>52418327
>>52418357
>At best 200 just over 15 minute sessions.
Come back when you have 10 million monthly visits.
>>
>>52418445
>implying you have that many visitors
>implying my site's progress isn't good
>>
>>52418522
>implying the site I'm working on doesn't have that many visitors
If you add the mobile app on top of it we have over 20 million visitors monthly.

That said you're making decent progress if you can keep the numbers growing. It's easy to get a few hundred visitors by shilling your site around the web but retaining them is harder. Id the idea is good and youve done it well people will come back.
>>
File: 1373934936533.jpg (31 KB, 156x166) Image search: [Google]
1373934936533.jpg
31 KB, 156x166
>learning Javascript for webdev
>Already know C, C++, Python, Scheme
>"This is a variable! Try setting it to 5. You can do it!"
>"Good job!"
For fuck's sake.
>>
>>52418795
You're doing it wrong, anon.
Jump straight to the framework/library tutorials that use javascript and you'll pick up the details of the language along the way.
>>
>>52418795
>knows multiple languages already
>still starts with babbys first programming tutorial
You did it to yourself anon
>>
>>52418795
Why are you acting surprised you fucking retard, unless you learned in a different way when you learned c, c++ and especially python(depending which was your first language) this must've been the same shit you felt back then, obviously when you pick up a book for beginners it is going to start from the beginning explaining every little bit about programming with that language, fucks sake if you know C, you should just go over the functions chapter in a javascript book and try to understand these retarded nested functions and do some exercises and then just jump into node/angular/react etc
>>
Do you guys still work using the .PSD > HTML/CSS workflow? Like getting the PSD from the designer and transforming it. I never ever see websites anymore that are sliced up images.
>>
>>52418795
>know enough to not be retarded
>dont know enough to be competent
>dont know what level im at
>still have to go through babby shit to find out
You don't know suffering. I'm on a genuine maths course that has questions like "Circle the tens in this number".
>>
>>52418121
I do but even at work we are still stuck on webforms, I still can't figure out MVC
>>
>>52419140
i dont understand how incompetent people manage to get jobs?
>>
>>52419193
by meeting up with the greased up manager in the dumpster behind Mc Donalds :^)
>>
>>52419193
we don't even do unit testing
>>
>>52408701
Thanks, but you forgot that I'm retarded and have no idea how to implement this into my HTML file.
>>
>>52419224
That's okay. My company still uses ColdFusion. Literally nothing any of you fucks do at work is comparable to mine.
>>
File: 1404029950751.gif (1 MB, 330x238) Image search: [Google]
1404029950751.gif
1 MB, 330x238
>>52390079
Hi. I've got a Nodejs website sources, how do I deploy them on my local machine? Is there a guide on Nodejs development you could suggest?
>>
File: 1427755949435.png (265 KB, 772x546) Image search: [Google]
1427755949435.png
265 KB, 772x546
>>52419697
>>
In an interview for a small company, how do I convince them that they need more than a CMS to handle their website?
>>
>>52419727
nice blogpost, faggot
>>
>>52414385
Don't use bootstrap
>>
>>52420480
you can overwrite bootstraps CSS.
>>
what are some website design that you guys like?
>>
Okay,so I have a wordpress site and would like to make a page on the site that can display a previously made html page with it's own css and js (there is also json file/files too if that changes anything).

Is there any method to achieve this?
>>
>>52420837
So you want to use a *.wordpress.com site as your hosting?
For simple HTML pages with some CSS+JS, use Gitcuck Pages.
>>
>>52420889
my goal was to be able to use the blogging features within wordpress to write and then have a page within the site that would act as a personal startpage accessable online.
>>
>>52414442
Sure mang, that's better written than what I see out of most devs I see in entry level positions.
>>
I want to learn MEAN stack but replace angular and mongodb, what's a good nosql database to replace mongodb with?
>>
>>52412641
for(var i = 0; i < incompleteTasksHolder.children.length; i++){


almost certainly should be

for(var i = 0; i < completeTasksHolder.children.length; i++){


Do you see why the error is thrown down the line?
>>
>>52419758
>node.js
please stop doing this
>>
>>52421159
Keep Mongo but replace Angular with Ember and enjoy the greatness of the MEME stack.
>>
>>52415010
>The scope of a project matters very little when measuring your skill level if you know the fundamentals, the rest is just reading the documentation and adapting code snippets.

Ehh, not really. Fundamentals are important of course but you spend the majority of time at paid work compensating for other code, either because it's not under your control or because it was poorly written. Working on large codebases requires good code-level skills but there's a whole other skillset involved which is largely what separates senior from junior developers.
>>
>>52418795
>codecademy
don't waste your time braj
>>
>>52419727
>My company still uses ColdFusion
The mainframe I interface with is still COBOL although they don't let me look at the source unfortunately.
>>
>>52414385
restyle the buttons (they're always the first giveaway), avoid "hero units" and "panels". Avoid the carousel (both because BS carousel can be identified from a mile away and because carousels are retarded in general). That's a good start.
>>
>>52421261
mongo is a walking laughstock here tho
>>
>>52421159
>nosql
Do you know why you want a NoSQL DB?
Anyway

http://kkovacs.eu/cassandra-vs-mongodb-vs-couchdb-vs-redis
>>
>>52390262
Nodejs.

Trying to set up a MEAN stack.

Nodejs is really starting to grow on me with it's asynchronous callback coding style, which I religiously avoided up until recently, but it's actually pretty fun. Alot of modules are absolute crap though, and I am getting driven over the edge with maintaining them. It feels so... Limited. I also feel like a code monkey for relying on so many modules for basic shit like form parsing.

Angular drives me insane sometimes, but I really like the architectural style it endorses, it makes javascript look like an actual competent language.
>>
>>52421415
Reading it properly, I think I shouldn't have posted it. According to the HN link, the post is 1840 days old. Fucking faggots with no date on their blogposts.
>>
>>52421503
>i like their style
>they're still complete garbage though
:^)
>>
>>52408297
angular 2 is literally the same shit with different syntax
>>
>>52418993
I usually fire up ps to do mockups of a particular thing i'm not sure about, but I never do the whole design in PS like in the olden days.

Might have something to do with the fact that most sites now basically rely on one template.
>>
>>52421671
I didn't say they were garbage thou.
>>
>>52421415
All node job postings I see have NoSQL as a requirement, and I want to learn NoSQL and then try ASP.NET and postgre later
>>
>>52421159
>what's a good nosql database
What's the use case? Casandra and Riak are both pretty cool but they're designed for distributed DBs and aren't a great fit for normal levels of data.

Honestly a classical relational DB is usually t he right choice, I don't know why people writing small scale apps in node feel the need to use nosql DBs exclusively.
>>
>>52422265
Because they're easy ro work with and don't force you to design a coherent DB architecture.

Also, document styling is becoming increasingly more popular.
>>
>>52422265
>What's the case
just trying to learn something as I learn node
>I don't know why people writing small scale apps in node feel the need to use nosql DBs exclusively.
because I assume job requirements require you to know the things they require for the job
>>
>>52418993
My workflow is usually about the following
>something new needs to be done in the future to the site
>get a prototyping task from it
>get rough wireframe or just a description of what it's supposed to look like
>fire up the prototype and start building something that looks like that
>get an accurate drawing with all the measurements for all sizes from designer
>finish doing the UI prototype so it looks like the specification, might have some small inconsistencies still
>call over the designer
>look over the prototype together
>they find something that doesn't look as good as they thought it would
>spend a few hours doing the finishing touches with the designer
>if it's a major feature run some usability tests on the prototype
>improve usability findings to prototype
>once prototype ready wait until it needs/can be done to production
>get production task once everything is ready for it and we have time to do it
>copy the prototype UI over, copy or rewrite the js depending on well it was written and write the necessary back end for it
>send to testers

Obviously the prototype code isn't 100% production ready but having flexible UI prototype makes fine tuning shit so much easier than trying to do it in production environments. And it's not always the same guys doing the prototype and the production version but that doesn't matter as much as having a working UI prototype is so much better as a reference than a bunch of pictures.
>>
>>52422393
>just trying to learn something as I learn node
>because I assume job requirements require you to know the things they require for the job
I guess redis is the most common nosql DB you'll see in the wild although a lot of places don't use it as their primary datastore. Mongo and couch are the other two I hear the most talk about but I don't have strong feelings about which is "better".
Thread replies: 255
Thread images: 31

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

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.
If a post contains personal/copyrighted/illegal content you can contact me at [email protected] with that post and thread number and it will be removed as soon as possible.
DMCA Content Takedown via dmca.com
All images are hosted on imgur.com, send takedown notices to them.
This is a 4chan archive - all of the content originated from them. If you need IP information for a Poster - you need to contact them. This website shows only archived content.