r/web_dev • • Mar 02 '15

Why Vim?

Post image
28 Upvotes

r/web_dev • • May 15 '14

What I think clients think a CMS does

20 Upvotes

r/web_dev • • Apr 30 '14

Programming Sucks

Thumbnail
stilldrinking.org
15 Upvotes

r/web_dev • • Feb 20 '14

How is Trello doing this?

8 Upvotes

When you add an image to a card, the preview in the card header sets the background colour dynamically based on the image contents.

Here's two examples:

I had a look in devtools, and it looks like it's definitely happening client side (nothing in the XHR to indicate the average colour is being calculated server side and being sent back).

Would love to use this somewhere. Any thoughts?

EDIT: I emailed them, and they answered to say they use Color Thief. Fog Creek are the best.


r/web_dev • • Aug 05 '15

Frontend Development is Development - And maybe even more.

Thumbnail
css-tricks.com
7 Upvotes

r/web_dev • • Jun 01 '14

Web Development using home PC as a server?

7 Upvotes

Hi, I've had a little experience with Web dev (just home and php/mysql) in the past, but I'd like to get into it again.

However, being a college student with not a lot of money or time, and mostly being a hobby, I'd rather not spend money on a server, especially while just learning things like css and Javascript.

With that in mind, are there any recommendations for software to develop at home? I'd be using html, php, mysql, and probably css mainly. I've used Xampp in the past, but I don't know if it's compatible with those or if it's still the best software for running on the os. (For the record it would be on Windows 8 on a desktop. )

Alternatively, I think I can get Windows server for free from dreamspark, and would be willing to look into dual booting it, although that might be a pain, as I also use that computer for gaming.

Thoughts and recommendations?


r/web_dev • • Oct 26 '15

Update HTML Table With DataBase Content

6 Upvotes

I am using diskDB to create an inventory system. The inventory is displayed as an HTML table. I want the table to update in real time with the entries in the database. Here is what I am trying right now:

        function updateInventory(){
        var db = require('diskdb');
        db = db.connect('node_modules/diskdb/db');
        db.loadCollections(['inventory']);
        
        for (i = 0; i < db.inventory.count(); i++) { 
            var table = document.getElementById("inventoryTable");
            var row = table.insertRow(0);
            
            var cell1 = row.insertCell(0);
            var cell2 = row.insertCell(1);
            var cell3 = row.insertCell(2);
            var cell4 = row.insertCell(3);
            var cell5 = row.insertCell(4);
            
            cell1.innerHTML = "NEW CELL1";
            cell2.innerHTML = "NEW CELL2";
            cell3.innerHTML = "NEW CELL3";
            cell4.innerHTML = "NEW CELL4";
            cell5.innerHTML = "NEW CELL5";
        }
    }

I call this script every time an item is added to the database and when the page loads. Right now, it just inserts placeholder text in the rows. How can I add the information from the database to each row, assigning it to the correct column in the row(i.e., price from the database is inserted into the price column in the table for each entry).

EDIT: Some more info specifically about diskdb might be useful. I can use the following code to query a record containing a specific value:

db.articles.find({id : "5 stars"});. 

Each record gets an id automatically set, 1 for the first entry, 2 for the next, and so on. I can use this to find specific records, but I have no way of pulling the other info out of each record. Each one contains entries for name, description, id, price, and quantity. I can find a specific entry, or loop through all of them using the ID since I know it is sequential. I don't know how to access the other info from each entry, however.

I think my issue is more a logic problem rather than specifically about how to code. I can query the database and get the count of it, but I am not sure how to use this info to achieve what I want.

If someone could point me in the right direction that would be awesome. Let me know if I need to provide any more info, and thanks for your time.


r/web_dev • • Aug 01 '15

All CSS text properties

Thumbnail
codepen.io
6 Upvotes

r/web_dev • • Jul 25 '15

Can someone run a web agency on his own?

6 Upvotes

I'm a fullstack web developer, and have been freelancing for a few years now. I've learned a lot in that time and think that the next logical step for me to boost my income is to start a web agency. I like to consider myself a one man team, i'm good at development, design, marketing and SEO. The thing is, i've never worked at an agency so i have no idea how hard it could be. I have a lot of plans to get clients and increase the recognition of the agency once i start it, and will be hiring people down the road. I'm just wandering if i'll be able to survive that long.


r/web_dev • • Feb 23 '15

Open source / github

6 Upvotes

Hi all,

I have noticed that a lot of companies are asking for your github account. I do not have much on my github and am possibly going to be in the job market in the next 6 months. What would you guys say most employers are looking for when they are looking at your github accounts? Do they prefer you check in your side projects or commit to existing repos? How many hours a week do you spend on open source?


r/web_dev • • Feb 05 '15

Spotted on Grand Valley's campus. I know you're here somewhere.

Post image
6 Upvotes

r/web_dev • • Dec 15 '14

This sub is now under new management, expect some changes

6 Upvotes

r/web_dev • • Nov 15 '14

How Facebook built their fancy content placeholder

Thumbnail
cloudcannon.com
6 Upvotes

r/web_dev • • Oct 15 '13

Are you a human? Then it's time for humans.txt!

Thumbnail
humanstxt.org
6 Upvotes

r/web_dev • • Jul 07 '15

Design for devs: how to build a good app without wearing a turtleneck

5 Upvotes

I'm a dev that has learnt a lot about design in the last few months.

I gave a half-hour presentation today to explain my workflow to other devs.

Covers:

  • accessibility

  • mobile-first

  • user testing

  • Material design

  • Sketch

  • InVision

Would love to hear if any of this is useful to others :)


r/web_dev • • Mar 25 '15

Oh hi reddit, nice to meet you.

Post image
5 Upvotes

r/web_dev • • Sep 27 '14

How do you deal with web security nightmares?

5 Upvotes

So I'm in the process of learning how to build a website, and I can't stop thinking about the possibility of a leak or hack where users' data are compromised. I've heard this happened to big companies such as yahoo! as well as smaller websites like projecteuler. It's frightening that it can happen to just about anyone. How do you deal with stopping these evil people on the internet? Do you have to hire a web security expert? Moreover, how do these hackers get into your database in the first place?


r/web_dev • • Aug 07 '14

Free eBook: Coding for Speed: A Hacker's Guide to a Faster Web

Thumbnail
amazon.com
5 Upvotes

r/web_dev • • Dec 07 '13

A valid use case for the HTML blink tag

Thumbnail
mattkorostoff.com
5 Upvotes

r/web_dev • • Aug 24 '15

The most difficult “Hello World” of your life

Thumbnail
commitstrip.com
4 Upvotes

r/web_dev • • Aug 23 '15

Not sure if I want to learn HTML5, or if I should

4 Upvotes

So I am disabled and can't work. As a way to make extra income I've started learning to program, and have been working on learning the linux system so I can try to admin. Anyways, I have been working in python and while I do love it, I think the market for web design and development is bigger. I don't know anything about web dev though, I don't know what languages to learn. I don't even know much about the internet really, I'm pretty bare bones and just know how to navigate. Would learning HTML5 and perhaps PHP or ruby on rails help me to earn a better income? Is it hard to find freelance work once you've got the appropriate skills? Is web design far removed from other forms of program design? Thanks for any advice and answers!


r/web_dev • • Aug 15 '15

HTML/CSS: Annotated Tutorial

Thumbnail
github.com
4 Upvotes

r/web_dev • • Jun 26 '15

Good ways to represent experience on a personal site?

4 Upvotes

I am web developer, .NET stack primarily, and I am currently revamping my personal site to be more like an online resume than just a blog, but I am not entirely sure how best to represent my 'experience' or 'proficiency' section.

I've seen loads of people use some goofy made-up percentages to indicate that they are 94% proficient in Javascript, but that doesn't really make sense to me.

But I would like to show, somehow, that I am more experienced with MVC than I am with Webforms, for example.

What are some good examples of web developers' personal sites?

I don't really have a good public portfolio because most of my projects are internal corporate products rather than customer-facing sites, but I'm working to fix that.


r/web_dev • • May 07 '15

Should I be using a CSS Pre-Processor like Less / Sass etc. ?

4 Upvotes

Hearing about this method of writing CSS more and more, should I be using this or is it just a fad?


r/web_dev • • Jan 20 '15

CRT screen effect with CSS

Thumbnail
codepen.io
4 Upvotes