r/web_dev • • Feb 17 '15

How do partner programs help your business? [x-post /r/freelance]

2 Upvotes

I'm trying to understand how freelancers leverage partner programs from companies such as NationBuilder and Atlassian to build their business.

Have you found these programs to be useful to your business? How could they be improved?


r/web_dev • • Feb 22 '15

Choosing Backend software

2 Upvotes

Hi apologies if this is relatively simple, but I'm new to this and I learning by jumping in and doing. So I'm building a site(using the Materialize Framework for the front end) with a fixed header and footer and a grid of cards displayed in between them. Each card is a single item in an array with some data associated with it. I'm using jquery to load the cards so the most relevant ones will be displayed first and the rest loaded as the user scrolls. The trouble I'm having is figuring out what software I'm going to use to store the card data, receive user input and add that input to the main database.

-Card1

--Name(String)

--Other names(Collection of Strings)

--Effects(link to discription of effect+intensity of effect+success rate) : "Firebolt" (6) (50%)

--Pictures

--Etc

So the Effect field for each card will contain a link to each effect, the specific intensity of that effect on that card (that must vary between cards) and the success rate of that card. Now I'm mentioning cards and effects, but its not a game or an app in any sense, more like a review site. I'd also like the user to be add data to the secondary database and that input to be added to the main database after some logic is applied to it. Finally I think there should be a third database for each effect. So what software should I use to create and manipulate a main database of ~ 300 cards each with the above rough structure?


r/web_dev • • Feb 24 '15

RSS Cache question?

1 Upvotes

So I am pulling in a few RSS feeds onto my site and then throwing them into an array and looping through them to spit them out into the format of my choosing.

I am new to the cache game and would like a few pointers.

The problem I am having is that the site is loading incredibly slow and I cannot have that. How do I go about caching the feeds so the site loads quickly?

Thanks in advance everyone.


r/web_dev • • Feb 15 '15

Best way to handle repetitive html in multiple files?

1 Upvotes

I have the same header for my site that I want to include in multiple files. I know about html imports and using javascript, but which way is the most accepted way to handle repetitive html? I also want it to be compatible with almost all browsers.


r/web_dev • • Apr 07 '14

Hotlink protection example

2 Upvotes

Hi all, For my final year project I need to text a hotlink protected site. Does anybody know of any sites which implement it?

Thanks.


r/web_dev • • Apr 22 '14

Visualizing Public Cloud Data for Ease of Consumption – UX Design Process

Thumbnail
stackdriver.com
2 Upvotes

r/web_dev • • Oct 21 '15

Help me understand this HTTPS request

2 Upvotes

I am thinking about creating a program that can scrape results from Gumtree.com.

In the HTTPS request, there is a section labeled "tq=" followed by code in curly brackets. I don't understand what this part represents. Can anyone explain it to me?

Below is an example which will take you to a typical gumtree search results page.

https://www.gumtree.com/search?q=table&tq={%22i%22%3A%22table%22%2C%22s%22%3A%22table%22%2C%22p%22%3A2%2C%22t%22%3A15}&search_category=home-garden&search_location=&distance=0.0001


r/web_dev • • Apr 21 '14

Seeking a relationship with tech entreprenuer

Thumbnail newyork.craigslist.org
2 Upvotes

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 • • Oct 20 '15

Using Web UI and developing

2 Upvotes

Hey guys, I just started learning HTML/CSS/JS and was wondering how I use UI (graphics) I have made and make it interactive? I am not completely sure how to put together UI and function. Thanks for any help, I understand my question is very vague.


r/web_dev • • Feb 22 '15

Starting my own site from scratch to learn all the in's and out's. Questions about hosting and software.

3 Upvotes

I have been maintaining a few sites from bigcommerce, opencart, zencart. I seem to take over a started site and can do some html and css. I have not built one from the ground up and am ready to give it a shot.

I wanted to start with an ecommerce site that if i can build it well will try to sell it to my current employer. I have been looking at a couple different options like wordpress and magento CE. I was wondering if there is was any advantage to one or the other. I was planing to use Linode as hosting.

For my plan I need to build a database that can handle different price levels for customers along with price breaks based on quantity.

Any advice or tips are welcome.


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 • • Jan 27 '15

Advice for "on the side" work (~15 hours/week)

1 Upvotes

Greetings,

I am currently employed full-time but am seeking ways to make some cash on the side. I am not looking start a huge business out of it, just to make some extra money I can put towards savings.

My primary skills are in utilizing web frameworks like Django, Laravel, etc. My past work involved Java on a large open source project as well as teaching Linux in an OS course at a local college (basic C, system calls etc.)

I probably have about 7-8 years experience with PHP (and JS/HTML/CSS) overall. My strength is in backend, but I can put together interfaces and often do (we are a tiny team of two at work.) I also have about 2-3 years with Java and C (though I went through a traditional CS program and the theory is still within reach.)

I have dabbled in a quick job that fell in my lap creating a custom WordPress template, it wasn't super engaging but it did pay OK. It was something I could probably do again, but the design aspect of it is not my forte.

I am mostly curious in what other people would suggest as a low-overhead means for some extra income in this field. I still need to focus on my full time job and family and am trying to see what else there is beyond the "get an after hours job in retail" approach to extra cash flow.

I'd love to hear from the community about what people have tried and have input on!

Thanks!


r/web_dev • • Feb 03 '15

Does anyone know of any tools to test a color and see what it looks like if the user was colorblind?

3 Upvotes

I'm worried that the colors I'm using (not by choice) could potentially be indistinguishable under red-green colorblindness, and lacking the words on a mobile layout, could cause issues. Hence, I'd like to see if I can find a way to test the two colors as if someone who is colorblind would see them. My Google-fu has failed me today.


r/web_dev • • Mar 23 '14

I am trying to clone FastCompany (Self Assigned Home Work) and I have put a lot of time in but I can't get the navigation to work properly. If someone could take a peek at my codepen that would be awesome!

2 Upvotes

So I did all of the HTML markup for the site (to the best of my ability) which I think is quite good. However, I wanted to abstract out the pieces for my CSS so I would have snippets of code to refer back to on future projects in case I get stuck.

I can't get the list to center (horizontally or vertically). I have tried a few things like text-align, wrapping in div and then position: center, or margin: auto and similar things. Been stuck for a few hours on this bit.

This is the cleanest version I have without trying to center it or anything. I suck at headers and I guess CSS. Getting pretty discouraged...

http://codepen.io/vonnklaus/pen/qtjpJ/


r/web_dev • • Apr 04 '14

Optimising Website Performance

Thumbnail
mycleveragency.com
3 Upvotes

r/web_dev • • Oct 02 '15

Loop through web content

1 Upvotes

A client is wanting a digital signage solution to be custom made. My plan is to create a html page with all of the content, and use a raspberry pi connected to a screen to serve the content. I chose to go this route, rather than a simple video on the Pi, so that I can easily edit it from home. The html page would include integration with a few different APIs, such as this one OpenWeatherMap , as well as videos, images, and text embedded in the page. Is this a viable solution for this case, or am I missing a reason to not do it this way?


r/web_dev • • Mar 25 '14

How can I regain control over a squatted domain?

1 Upvotes

Many years ago I had a website on my own domain. A friend of mine was taking care of the registration and one year he let it lapse. Before we had time to correct this lapse a squatting company snatched it. I figured with patience and the lack of interest to my domain name, which was a glorified personal website and completely non-commercial, these squatting asshats would eventually give up wasting money and effort keeping it. It's been over a decade now. These jackasses will not let my domain go. Screw this waiting. Reddit, I have come to you. I have no money, no power, few friends and a minimal high school education. There is no way I can fight these squatters and retrieve what is rightfully mine without the first clue what to do. What can I do to retrieve control over my domain name taken by domain squatters many years ago? And is it possible without money, lawyers and powerful corporate connections? Thanks Reddit web_devs -- I probably picked the wrong subreddit but I think perhaps some of you would know a thing or two about this issue.


r/web_dev • • Jan 27 '15

Looking for portfolio building advice (80% backend, 20% frontend)

3 Upvotes

I am looking for some general advice on building up a portfolio. My forte is building and organizing the back-end functionality of applications (including server setup and service configuration.) I can do some design and layout stuff, but it's not my bread and butter. It seems like most people looking for anything web-related want visuals (not that I blame them.) Most of my public work has been done for current/past employers and some has been upgraded or changed since I left.

I am also not particularly proud of my publicly visible (design) work at the moment as I am on a team of two covering all app dev and hardware deployment for a 60-70 person department. I'm generally having to focus on backend systems more so than design. I build and maintain a lot of internal staff web applications that tie into various proprietary systems and databases... The public stuff is a tiny CMS that I spend maybe 5% of my professional time on.

I have dabbled in JS and PHP on my own to build some personal stuff, that isn't huge or super-complex. I also do some work with Raspberry PIs and Arduinos. This kind of stuff seems like it is overlooked or hard to express in a portfolio, especially if I may be under consideration for web-related work. A URL for someone to visit seems to be much more useful than an explanation or description of a system to possible employers/clients.

I have set up a github account and am kind of also wondering what level of "polish" I should have on things before I put them up online.


r/web_dev • • Mar 14 '14

Problem with Facebook preview

1 Upvotes

A client of mine ( http://pasja.eu ) has a problem - when typing in the address of his website into FB post it dosen't show the preview. There is a loader animation shown for a split second and then nothing.

If I try to link a subpage it works fine, just not on homepage.

I've used the debug tool (https://developers.facebook.com/tools/debug/) - it was chocking on the extra query params that FB added, so I've added a workaround. That was more than a week ago, so I guess any cache would expire by that time? Also, the debug now shows full info from OG etc.

Any ideas?


r/web_dev • • Mar 28 '14

Looking for some advice about keeping code DRY

3 Upvotes

Hey guys,

New to this subreddit and I wanted to ask a question about DRY coding methods. My coding has ways to go when keeping things dry and I was wondering if there were any good resources (books, articles, whatever) that I can get my hands on to get me coding that way.

I've been a frontend developer with some backend experience for about 2-3 years now and I feel that this is where my skills lack the most. I would like to improve on this so any advice is welcomed.


r/web_dev • • Jan 28 '15

Polytester - simple, elegant test runner for modern, mixed-language codebases.

Thumbnail
blog.inkandfeet.com
1 Upvotes

r/web_dev • • Mar 26 '14

Write long form stories using wordpress

Thumbnail
aesopstories.com
1 Upvotes

r/web_dev • • Oct 12 '15

Setting Up Xampp on Mac with two users

2 Upvotes

I have 2 users setup on my Mac one is currently dedicated to a project I am working on. Right now when I navigate to "localhost" I am being taking to the htdocs of the other user on my Mac. Anyone know where I can fix this routing so it goes to the specific users htdocs.


r/web_dev • • Jan 28 '15

Make yellow autocomplete transparent in Google Chrome

Thumbnail
stackoverflow.com
1 Upvotes