All Questions

3
answers

Agile development and documentation update

Taking into account the second premise of the agile manifesto: " Software in operation more than comprehensive documentation" According to the agile practices, scrum, XP, etc ..., if during development, after having done the UML design of...
asked on 19.08.2014 / 19:31
1
answer

Why does the SQL language vary from DBMS to DBMS?

I was used to using SQL for web projects, always using MySQL. One day I had to write a C ++ program that used databases. At first I chose SQLite but needed other computers on the network to connect to the database. So I opted for PostgreSQ...
asked on 29.08.2018 / 20:37
1
answer

Compacting data with Javascript

Is there any way to compress strings using Javascript? I'm developing something for a platform where it is not possible to use any server language (at least on their host) and we do not have access to the database. But I have found a way to s...
asked on 28.12.2014 / 15:00
2
answers

Regular Expression for RG

I have a% w / o of% that defines the points by the maximum number of digits. Expression: function Rg(v){ v=v.replace(/\D/g,""); if(v.length == 9) v=v.replace(/(\d{2})(\d{3})(\d{3})(\d{1})$/,"$1.$2.$3-$4"); return v } expre...
asked on 25.06.2014 / 15:45
1
answer

What is a wrapper class?

What is a wrapper class? How can they be useful? Cite examples of usage at php or
asked on 03.02.2014 / 16:58
1
answer

SQL using an Array of words

This is the following I have a search field on a form where the user types for example a color or product and is returned to it a list of products with the characteristics typed in the form, the problem and the following, when I pass the array i...
asked on 23.12.2014 / 14:51
2
answers

Techniques for raising requirements and writing use cases

Some time ago I saw a Lynda.com course called "Foundations of Programming: Object Oriented Design" and the course guy gave a list of 5 steps to create a domain model: Collect requirements Describe the system (with use cases) Identify the...
asked on 30.01.2014 / 13:38
2
answers

String Builder (or How to improve the performance of massive replacements)

TL; DR: I know there is a class called StringBuilder, either at . NET and Java , which allows you to perform operations on a text without generating a new string for each method call. It would be very convenient to have something similar in...
asked on 16.05.2014 / 16:14
1
answer

Lists of empty lists (Python)

Using Python 2.7.12 I need to create a list as follows: lista = [[],[],[],[],.........,[]] This list must have a very large number of lists within it (so the ........). I found the following way to accomplish this: lista = [[]]*n Wh...
asked on 15.05.2018 / 01:31
1
answer

Is it possible to work with Javascript Enumerators?

Commonly used in many languages Enumerators make life easier for developers when creating a "list" of constant values within an application. Within Javascript is it possible to use this structure?     
asked on 29.09.2017 / 19:35