Unanswered Questions
136 questions with no upvoted or accepted answers
3
votes
0
answers
2k
views
Digital Signature for PDF files through Web Application
We are developing a Web Application for manage dental clinics.
The app can generate PDF files through the PHP backend (for example invoices, quotes etc.).
Each of those PDF file needs to be digitally ...
3
votes
0
answers
206
views
data transfer objects between abstraction layers
I want to create an Express REST API and want to try following the clean architecture ideas. I was reading about it but didn't get the idea of the communication between the abstraction layers.
Let's ...
3
votes
0
answers
451
views
Dynamic API Data Validation
I am in the process of building an heavily data-driven web application written in Node.js / Typescript with Mariadb for the database engine. I am trying to put an emphasis on extensibility and DRY ...
3
votes
0
answers
322
views
Redux Saga pattern for large, non-specific server responses
Our current Redux state tree is this:
{
"dog": {
"name": "Barkley",
"age": 6,
"hungry": false,
"location": "Living Room",
"height": "36 in."
},
"...
3
votes
0
answers
269
views
Does using returnTrue() or returnFalse() functions a code-smell?
I was trying to understand how jQuery's cross-browser events work, when I noticed these two functions in the source code:
function returnTrue() {
return true;
}
function returnFalse() {
...
3
votes
0
answers
125
views
In browser form validation in laravel
In laravel 5 I describe models without specifying fields in model class. Some magic identifies which fields exist in database for this model.
use Illuminate\Database\Eloquent\Model;
class MyModel ...
3
votes
0
answers
101
views
How to architect rule matching with multiple conditionals and outcomes
I'm working on allowing my users to create their own ruleset for data that's coming in. All of the data below is sample mock data and not in relation to our product. Example of a rule (there can be ...
3
votes
0
answers
95
views
Suggestions for Storing large collection of related words
I am trying to create a simple sentence generator that uses templates and a database of words. It will be a website where essentially a user could click a button to generate a sentence.
For example: ...
3
votes
0
answers
398
views
Hot swapping files and metaprogramming with front-end JavaScript
I was inspired by a video on hotswapping JS files with React + Webpack for the web. I started trying it out with React + Backbone + RequireJS.
Seems to work, as long as I stick to the stateless parts ...
3
votes
0
answers
2k
views
Managing Login Authentication/Webpage session: Can client side javascript/JQuery access either a session variable or json variable in html?
Short version: A variable is stored in a session variable req.session.userName and also in the json sent with res.render('/', {username: value}). How can I access either of those variables from inside ...
3
votes
0
answers
140
views
Can/should objects share methods in certain circumstances?
I am currently working on a web application that is supposed to resemble an operating system with GUI (it manages processes and windows). I have several constructors which deal with different aspects ...
3
votes
0
answers
590
views
How can I put multiple hierarchical forms in a single web page and avoid making it a mess?
We are a group of developers working on a web application that accepts forms filled and sent by our users and present it in an overall view. Our main form view looks like this:
There are multiple ...
3
votes
0
answers
390
views
JS closures - Passing a function to a child, how should the shared object be accessed
I have a design and am wondering what the appropriate way to access variables is. I'll demonstrate with this example since I can't seem to describe it better than the title.
Term is an object ...
3
votes
0
answers
508
views
Reducing code complexity for an interface between angular and d3
I'm playing around with different ways of integrating d3 and angular, in the context of learning both of these frameworks, and am hoping for some input:
My client application receives a JSON array ...
2
votes
0
answers
64
views
Software design for an Angular highlight&comment tool
We're building a new feature for an online editor that the user will not edit the document, but will be able to highlight & propose edits on the document. Very similar to google documents' ...