Questions tagged [web-development]

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

Filter by
Sorted by
Tagged with
1
vote
1answer
122 views

Design for fetching liked resources

I have three resources Hotel, Address and Image. A hotel can have may images but only one address. While showing hotel details I need to fetch its address as well as all images of it so, in my ...
-1
votes
1answer
115 views

Design ideas for showing another website's page in my own website

I would like to show a web page from another website and show it on my website. I want to annotate some text on their website content. Conceptually I know what needs to be done: - I will capture their ...
3
votes
1answer
94 views

Data to pre-populate a database kept in text files

Many web application require a seed file -- a file, written in the same language as a web application, where I have data to pre-populate a database. This makes sense. Nonetheless, I sometimes see ...
2
votes
1answer
48 views

Where to implement URL data validation in Node/Express?

I'm building a RESTful API using Node/Express4 and so far I've been successful. However, I'm not sure where to implement URL data validation - should the router script block invalid URI requests or ...
7
votes
1answer
676 views

Is it a good practice to hide the framework used in a web application?

I sometimes read about "hiding the framework/technologies used in a web application for security reasons"... But why? Is it a real issue to publicly expose which tools I'm using to create a project? ...
-2
votes
1answer
521 views

Choosing the right architecture for my web application

I've started working on my web application and I'm stuck at the design stage. I cannot decide which web technologies would be the most suited to this project. Let me explain what I want to achieve: 1)...
0
votes
1answer
271 views

Is using Java reflection to map frontend actions to the actual db methods by name bad practice?

I have used java reflection with a static map to map actions(removeElements, getLatest ...) from the front end to the corresponding database methods by name in multiple web applications now. I was ...
52
votes
4answers
13k views

TDD - Outside In vs Inside Out

What is the difference between building an application Outside In vs building it Inside Out using TDD? These are the books I read about TDD and unit testing: Test Driven Development: By Example Test-...
0
votes
1answer
189 views

Best practices for creating multiple HTML buttons that are used for a similar purpose

I realize this may be subjective, but I don't see any clear-cut place for asking questions on good software design principals. I'm sure there are some software patterns and anti-patterns I should be ...
0
votes
2answers
950 views

Handling of user session expiration in MVC-based web application

We have an MVC 5 based web application. Part of functionality includes displaying hierarchical structure as a tree (I use this JavaScript component: https://www.jstree.com/) Tree is displayed in the ...
-1
votes
1answer
98 views

Blog is a single webpage that gets data asyncronously, searchable by Search Engines?

I have created a blog for a friend. I have heavily designed it around jQuery's $.ajax() function and as a result it is only a single webpage asynchronously gets its data (title, article, relative ...
1
vote
1answer
205 views

open webapplication from desktop application

Doctor is end user of this application Doctor opens desktop application on his pc which is not developed by us. We provide interface to desktop application via interop dll's. Desktop application call ...
-2
votes
1answer
56 views

What method/ approach is used to query a user's page on a website using backslash + username? [closed]

I am working on a Servlet/JSP project, the website have users and I need to display a user's profile using the notation myDomain.com/Joe instead of myDomain.com/users.jsp?user=Joe. An instance of my ...
1
vote
2answers
559 views

What problems arise from writing PHP for IIS/SQL Server rather than Apache/MySQL?

I'm a .NET developer, currently writing an ASP.NET site hosted on our local servers with Windows, IIS, and SQL Server. We're speaking to a company in India about hiring a developer for a different ...
-2
votes
1answer
69 views

How to let users send to a link

I'm building for a client's service that allows developers to build client side forms, similar to formspree.io, etc. Basically, developers can set an action to their HTML forms which send the POST ...
-1
votes
3answers
171 views

Best practice for defense agaist hotlinking and scraping images from your site

I'm trying to determine the best way to handle a few issues I've come up with on handling images for my site. Background: A small site that houses movie information. I have an admin section to upload ...
0
votes
1answer
79 views

Is RSS generation from MySQL server an ideal method for Facebook-like user feed in a website?

Researching this topic took me a long time, mainly because of my lack of knowledge of how RSS actually works, I understand that generating RSS is basically generating an XML file with multiple items ...
1
vote
0answers
58 views

What is the best apporach to a customizable theming in SPA Architecture

I'm interested in developing single-paged application and there are few question I need to get clarified before moving on. One of them is customizable theming implementations. As for traditional web ...
-1
votes
1answer
93 views

What would be the best option in this scenario?

I have a statement. I know the ups and downs of both Composition and Inheritance, but I am unable to realize that what would be the best option the given scenario. SCENARIO: A Software company is ...
1
vote
3answers
149 views

Possible way to handle multiple reset password email

It's a C#, ASP.NET MVC Project and here is the problem: User can enter their email address in the reset password text field and click on the Reset Password button. Each time the user clicks on the ...
1
vote
1answer
66 views

Unique ids for nested resources

I have couple of nested resources like Merchant, Hotel, Room. A merchant can have many hotels and similarly a hotel can have many rooms. Right now for managing these resources I doing something like: ...
4
votes
5answers
255 views

RESTful URI map to database tables?

When designing a RESTful API, should your URI map to tables (for the most part). I have 2 tables that look like this: Users +-----------------------------------+ |id|first_name|last_name|email|role ...
2
votes
0answers
268 views

Where do I put WebSocket handling code following the MVP pattern?

I am currently working on a Web Application. One of the objectives is to use the MVP (Model View Presentation) Design Pattern. We would like to use WebSockets to communicate between client and the ...
13
votes
2answers
9k views

Responsive Web Design vs. User-Agent Sniffing

The CSS3 media query feature has led to many interesting possibilities in terms of developing websites which adjust to many different screen sizes and devices. However, in practice, I'm starting to ...
2
votes
1answer
519 views

How does a website latency simulator work

Sites like webpagetest allow users to enter a website url and a test location, to run a speed test on the site from multiple locations using real browsers. Can anyone give me a basic idea of how sites ...
20
votes
5answers
135k views

How should data be passed between client-side Javascript and C# code behind an ASP.NET app?

I'm looking for the most efficient / standard way of passing data between client-side JavaScript code and C# code behind an ASP.NET application. I've been using the following methods to achieve this ...
20
votes
8answers
16k views

What is the senior web developer's role in the team? [closed]

With a team of 3 other web developers i have the title as lead web developer for a year now. This is my first job as a lead. I'm pretty set on what my roles are from management. I'm curious what ...
15
votes
5answers
1k views

What is the best/easiest way to get my degree, already being an experienced developer? [closed]

I have been an active professional software developer (mostly utilizing .NET) for the past five years and, without being too full of myself, I would say I'm a very competent developer. I stay ...
4
votes
2answers
232 views

Showing custom data in presentation layer

I have couple of models Merchant and Offer. A merchant can have multiple offers. I am developing a web application and writing a custom component which show offer details like title, description etc. ...
3
votes
2answers
344 views

How would you optimize the rendering of 10,000 elements on a webpage?

I'm a full stack web developer, I've been looking for a job lately as a junior since I don't have experience with working for companies, but I've done some projects in the past from design to ...
0
votes
1answer
415 views

Remembering User-selected Values in Web API

I've created a website for a tennis league. The two main pages are standings and schedule. When a user accesses the site, I'd like to have them select the league and season first. For example, the ...
12
votes
4answers
6k views

Are there any statically-typed Web scripting languages? [closed]

There seems to be two major ways to set up a web server backend. You can use a LAMP stack, with the server-side code in something like PHP or Python (or Ruby or JavaScript, which don't start with a P....
2
votes
3answers
209 views

How to manage an existing web application?

I am a student that will finish his degree in like 7 months. I have a side job where I am the only programmer for a small company. The web application is for invoices and employee working hours. This ...
6
votes
3answers
237 views

How to document URLs and interaction between pages

We're developing a web application that is now growing to quite a few pages, all dealing with complex data and rather complex interactions between pages. For instance, the login flow encompasses the ...
0
votes
2answers
93 views

Object property depend on previous objects in a list. How best to go about this?

So basically I have an object with a few properties in it: public MyObject { public string Name {get;set;} public bool Complete {get; set;} } List<MyObject> myList = new List<MyObject>();...
0
votes
1answer
65 views

Upon session time out, login to landing page or back to page client was viewing

Trying to figure out what is the best practice when session times out so that i can do it right first time around. Assume user logs into a web app and goes to "/events" page, where they stay till ...
-2
votes
1answer
955 views

Drawing the conceptual architecture of my web application in simple steps

I need to present the conceptual architecture of my site in a couple of days. It is an extremely simple web-site: it is made using HTML, CSS, JavaScript, XML and XAMPP for PHP, MySQL and Apache ...
8
votes
5answers
2k views

What's the web framework to use on a front-end web application? [closed]

What do you consider a good client web framework to use on interface business application? jQuery? YUI!? Another? Some plugins useful? The application will be use mostly internally replacing a ...
-1
votes
1answer
96 views

How to make sure I have the contract proposal approval in my system?

I am building a website and in it I am trying to follow the rbac (role-based access control) model. Now, the thing is that managers need to send their contract proposals to approvers (people who will ...
0
votes
1answer
530 views

Is it possible to secure a REST API and validate the integrity of each requests?

I am trying to design a public facing website and would like to experiment with a WebAPI backend and one of the popular front end javascript frameworks. Now, this application is not going to require ...
5
votes
1answer
117 views

Should we be putting CSS in the HTML via <style> during the build process to avoid the extra network requests that <link> requires?

Normally we link to CSS via the <link> tag. However, this leads to the browser making a network request for the stylesheet, which is slow. What if, in the build process, we took our CSS file ...
0
votes
2answers
128 views

Deployed Website's Integrity

Yesterday, the deployment of a financial website on a client was replaced with an older version which created unexpected issues and a downtime of almost 12 hours. We came to know that two guys from ...
2
votes
3answers
3k views

Tips/Process for web-development using Django in a small team [closed]

We're developing a web app using Django and we're a small team of 3-4 programmers — some doing the UI stuff and some doing the Backend stuff. I'd love some tips and suggestions from the people here. ...
0
votes
3answers
206 views

Same JavaScript on different web pages

I have a web site with several web pages. Each page requires some JavaScript: i.e. different JavaScript for different pages, which some JavaScript that's common to every page. Some of the JavaScript ...
-1
votes
1answer
410 views

What kind of JavaScript design pattern is this?

In our workplace we use simple ajax library for getting page data and submitting changes to the server. Sometimes we need to change the form’s field values. We know that fields can be of any type (...
4
votes
1answer
134 views

How to integrate versions with changelog?

Before I start the question I want to tell you guys I'm new to this type of workflow. The previous companies I worked didn't used Version Control and/or changelogs. Also, I've been working as ...
25
votes
6answers
5k views

Databases and Unit/Integration Testing

I have had a discussion with someone about unit/integration testing with web applications and I have a disagreement about 1 core idea. The issues is that the person I am talking to think that the ...
4
votes
6answers
3k views

Splitting up a very large function/program into smaller functions. Effective?

I know function names can be very expressive. And therefore it can be tempting split up a program into particular functions and call them from a large "oversee-able" functions file. However is this ...
6
votes
1answer
500 views

Node.js deployment — npm or gulp

Suppose that I have a project written in JS via such frameworks like Node.js and Express. It also uses Mocha as a test framework and Gulp as a build system. I wonder what is the best way to expose ...
41
votes
7answers
19k views

Referencing external javascript vs. hosting my own copy

Say I have a web app that uses jQuery. Is it better practice to host the necessary javascript files on my own servers along with my website files, or to reference them on jQuery's CDN (example: http:/...