Web development is a broad term for the work involved in developing a web site for the World Wide Web or an intranet.

learn more… | top users | synonyms

-1
votes
1answer
39 views

How much should earn a developer for a freelance job? [on hold]

I am a software engineer with 5 years of experience. I am starting to work as freelance for some jobs extra, and I don't have so much clear how much should be my price per hour. I work as Java ...
4
votes
1answer
69 views

What's the Content-Security-Policy-friendly way to hand data from the server to the browser on page load?

When developing for the web, I often find myself wanting to pass a few variables from the server scripts to my javascript - data pulled from a database, and set differently on different pages running ...
0
votes
1answer
62 views

How to stop someone from calling URL on server

I am very new to web development and am trying to create a website using client/server model. From what I understand, the front-end (client-side) calls URLs specified on the server to get information. ...
4
votes
3answers
67 views

When to load related database data in web request?

I'm trying to determine when a web application should query a database for related data that may or may not be used in the current request. As an example, consider a database that tracks assets for a ...
1
vote
1answer
208 views

What techniques should I use when implementing infinite scrolling on a website?

I am currently working on a website which implements infinite scrolling on it's search page (the results themselves coming from Elastic search) and, unsurprisingly, the more you scroll the slower ...
0
votes
0answers
35 views

User based licensing on web server

I'm developing a client-server software for an enterprise customer. I'm being asked to limit the number of user accounts to a number N. Each user logs in with it's own username/password combination, ...
11
votes
4answers
2k views

What are the drawbacks of sending XML to browsers and let them apply XSLT?

Context Working as a freelance developer, I often made websites completely based on XSLT. In other words, on every request, an XML file is generated, containing everything we need to know about the ...
3
votes
1answer
275 views

When do I reuse or create a new Builder

I've implemented a Builder Pattern in a project I'm working on. I'm using this design pattern to created Fields and Components (div, tables, panel (boostrap)). So I have a Director Component class. ...
1
vote
2answers
39 views

Mobile Web App - combines with exist web app or separate them

The company I work for already has a fully functional web app that is written in java using JSF framework. I'm now in the process of creating a mobile version of this web app and having some general ...
0
votes
1answer
65 views

Best Practices: URL Path Parameters [closed]

What's the current best practice around path parameters in URLs? For instance /artist/name A long time ago I might have made artist.html and then passed in a query parameter /artist.html?name=name ...
0
votes
1answer
55 views

Can 32/64 bit version of Dart SDK have any effect on produced javascript code?

I just started collaborating remotely on a project. Project manager explicitly asked me to download Dart SDK 32bit version. Since I have 64bit machine I asked why to find out more about it. I was told ...
71
votes
28answers
9k views

How important is graceful degradation of JavaScript?

Should web developers continue to spend effort progressively enhancing our web applications with JavaScript, ensuring that features gracefully degrade, thereby ensuring accessibility? Or should we ...
-2
votes
0answers
14 views

Help with Shell [migrated]

I was trying to create my own shell. So I have this code: <head> <title>Command Shell</title> <link rel="stylesheet" href="console.css"> </head> <body> ...
3
votes
3answers
105 views

How to handle time based events in web application backend?

I'm currently working on design of small web service, and I have a following feature (simplified): After some user actions, there is a wait period (ranging from 30sec to 40h) and after it's passed, ...
3
votes
1answer
81 views

COCOMO II SLOC count for web application development

What type of SLOC do you take into account for estimating web application development projects with COCOMO II? For instance, suppose you have to estimate a web application project that will probably ...
39
votes
6answers
1k views

What's the right way to work with a graphic designer? [closed]

Recently, we worked with a graphic designer (arranged by the client) to provide the skin for a Django+Bootstrap application we had built. The designer provided a series of static images of the new ...
7
votes
0answers
132 views

Is progressive HTTP download a viable alternative to HLS/DASH/RTMP for providing live video?

I'm working on a website that needs to stream live video to users, and as such I've had to get my head around the sorry state of current browser-based video-streaming technology. The most popular ...
0
votes
0answers
3 views

Div heights not the same after setting equal heights with javascript [migrated]

I have two divs which I would like to be of equal length. Div1 has text in it which determines its height. Div2 is a scroll box which should have apparent height the same as div1. The following code ...
3
votes
6answers
306 views

Am I wrong to disagree with A Gentle Introduction to symfony's template best practices? [closed]

I am currently learning symfony and going through the book A Gentle Introduction to symfony and came across this section in "Chapter 4: The Basics of Page Creation" on creating templates (or views): ...
0
votes
2answers
98 views

Web developer sending port in web service from server to client

I'm working on a project where I have two websites (client and a server). I've opened web service and I'm trying to "send" a picture from my server to the client [WebMethod] public string ...
3
votes
0answers
81 views

Web framework architecture with non-blocking I/O

There's been a lot of news in the enterprise world lately, specially in the web, and I've decided to build a small web framework on top of Netty to learn more about asynchronous programming and ...
0
votes
1answer
82 views

Linking stylesheets and scripts when using server side includes

I am working on a site where I want to have a header and footer on each page, so I thought about using server side includes for this. I have not used them before so I am a little bit unsure about best ...
0
votes
1answer
78 views

Looking for a way to interpolate a base URL that won't conflict with Underscore template code

At my workplace, we have dev and production environments, and a separate server that serves static files for each environment. In my code, I make references to the URL of this static file server. ...
3
votes
3answers
90 views

Designing CRUD part of an HTTP API

This question is in the context of web based applications. A web server exposing an HTTP api for clients (e.g. running in a browser but not necessarily). Usually the web server would be connected to ...
0
votes
1answer
52 views

How to filter RSS feed results, according to a DOM element in its page content?

I've a "RSS feed", want to filter its results according to a DOM element in its content! So, this is the mission I'm looking forward to do: Monitor a "RSS feed" continuously. If new RSS elements ...
2
votes
1answer
95 views

Reuse already fetched data for request

I have action that fetches user model from db to check access. Then I have method that in some cases requires same model. function checkAccess(req, res, next) { var data = ...
0
votes
1answer
56 views

What is better to return from the controller - a JsonResult or a string?

I have a WebAPI application and I have a controller method which is used to return a json result to the UI. Now, I can either return a string (because the json is basically a string - and it works ...
2
votes
2answers
111 views

Javascript Password Security

I'm extremely new to javascript (so I know there's already a thread here), but I couldn't understand how to implement it. My code is pretty much identical: <script language="javascript"> ...
14
votes
5answers
23k views

Which is better: to include HTML inside PHP code or outside it?

Look at this: <?php echo "Hello World"; ?> <br /> <?php echo "Welcome"; ?> And now look at this: <?php echo "Hello World"; echo "<br />"; echo "Welcome"; ?> Which ...
3
votes
3answers
143 views

Do microservices scale down?

I've been reading up on microservices architecture, which gained a lot of recognition in recent years. As a big fan of UNIX philosophy, I find it very clean and sensible. However, exisiting ...
0
votes
2answers
76 views

Using PHP without mixing presentation logic

I'm conceptually designing a website / application and trying to come up with the correct separation of concerns. The basic technologies I'm settling on are: MySQL, PHP (Laravel), HTML/JS (jQuery). ...
1
vote
3answers
399 views

Is it common to use arrays everywhere with PHP? [closed]

I'm a fresh grad, and I just started workingin real world projects. I'm basically using PHP most of the time. I just figured out that most of the solutions I came out with for most of the problems, is ...
0
votes
3answers
94 views

Should I create thumbnail for uploaded images? [closed]

I am working on a Website and trying to decide if I should create separate thumbnail image for each image user uploads. Or just set a smaller width/height when displaying thumbnails. I am planning to ...
0
votes
0answers
52 views

Vertical Single Page App libs/patterns?

Lately I've noticed a trend amongst some website homepages to present information in a vertical fashion, forcing the user to scroll down to continue reading the content. As you scroll down, a state ...
1
vote
0answers
80 views

Web components and performance

I am having trouble learning about the impact of web components and shadow DOM on the browser, specifically related to repaint. I remember reading at one point that the shadow DOM nodes have ...
3
votes
1answer
40 views

How to handle mismatched request body and content-type header?

If someone makes a request with a Content-Type that doesn't match the syntax of the request body, how should the server respond? Is there a standard way of handling this (seems like there would be), ...
1
vote
2answers
50 views

How to compute flow rate of web traffic?

This seems like it should be fairly straight forward but I'm having a devil of a time with it. Hoping some of you fine folks might be able to lend a hand. I'm using PHP & MySQL, and want to ...
1
vote
1answer
243 views

Complex knowledge management system with CRM..written internally

We've all heard of salesforce and sugarcrm and the likes of systems like this. Unfortunately at my workplace we have been asked to write a similiar system (rather then license or purchase). Basically ...
1
vote
1answer
80 views

Is modifying the User Agent potentially dangerous?

I'm working on an hybrid mobile application, and I'd really benefit of having the app version, OS build and screen sizes of the users that issue our API, just to know if issues come up due to a poorly ...
0
votes
2answers
84 views

Why i must validate attributes at JSF page?

I want to know the best pratice, to validate the attributes on jsf project. I know two forms of validation: Option 1: Validate on JSF page JSF Page validation: <h:inputText ...
0
votes
1answer
269 views

Accessing database from static and non-static methods

I'm currently building a REST API in PHP & MySQL, and now I'm stuck at how I should structure the classes and the database connection. Let's say I have a table in my database for movies. How ...
9
votes
4answers
3k views

Where to master HTML, CSS and Javascript? [duplicate]

Possible Duplicate: What should a developer know before building a public web site? I gotten interested in web-development lately. I am still a student. I learnt basics of HTML, CSS and ...
0
votes
1answer
45 views

What is the difference between web components and custom elements?

"Web Components" and "Custom elements" are often mixed up, and web searches for the title of this question don't yet produce much clarity. Let's fix that.
1
vote
2answers
44 views

Security and sanitizing user-input with limited control over 'output' targets

I have recently joined a team working on an application with an integrated chat system. It is a standard chat system that allows clients to communicate, with messages routed through a central server. ...
15
votes
2answers
11k views

What alternatives are there to using HTML/CSS layouts for websites? [closed]

Is there any existing in-use, or even just conceptual attempts at creating a markup or programmatic expressions for designing the layouts of websites other than HTML/CSS? If there are others out ...
5
votes
3answers
286 views

What's special about “non-blocking” node.js?

In the short chapter, What is Node by McLaughlin, he writes: "Node has no blocks, no threads competing for the same resource (Node is happy to just let things happen however they happen), ...
9
votes
3answers
27k views

How to develop front end (UI) for my Django website

I am learning Django and new to web development. Please excuse me if you find this question too dumb. So, I am creating a Facebook application using Django which I would like to host in Google App ...
41
votes
7answers
41k views

How can I evaluate a candidate's knowledge of Html/CSS during an interview? [closed]

I am trying to determine some good interview questions to assess the ability of people coming in for a Html/CSS job, however that topic is extremely broad, and I'm not sure what sort of questions I ...
7
votes
5answers
699 views

How to deal with management staff (company owner) that downplays the impact of specs changes? [closed]

I work in a small web development company (3 programmers) for a while. During the last year the company had hard times (less projects) and a few co-workers were fired, including our Production ...
4
votes
3answers
232 views

Saving Multiple Sizes of Images

We have lots of user-generated images on our site. When users upload their images, we only store the original. However, depending on the page, we show different sizes of those images (small, medium, ...