All Questions

1
answer

DataAnnotation validating property with Javascript plugin. ASP.NET MVC

I need to validate a field in my model that has a text editor in Javascript . So far so good, because the problem only occurs in the registry that I do not get in the Action parameter "Create" an object, but a FormCollection . In the...
asked on 16.07.2014 / 05:41
1
answer

Perform mathematical calculations with values from a PivotTable

I have a table in form-wizard that as soon as I click on "add item" I call a function and it adds a row in the table to add a new item to be purchased by the client. This table with each click adds an item has an autocomplete function in the...
asked on 26.06.2014 / 20:08
2
answers

Static Methods in Factory Method

I'm creating a simple class using Factory Method and the following question came up for me. Is it good practice to use static methods in Factories? In many examples I found there, we have an instance of the Factory class, and I have not...
asked on 08.07.2014 / 14:53
1
answer

Practically speaking, is it good to use Self Join?

Regarding this question: What is a "self join" , technically speaking it is performative to do this, or use 1N, 2N and 3N (normal forms) is the best way? Just remembering that I have never stated that one breaks rule of the other, it is pure...
asked on 01.07.2014 / 15:16
1
answer

Helper to write HtmlHelpers

I'm trying to write an HtmlHelper and seeing some basic examples I found one with the class TagBuilder already help : namespace MyNamespace { public static class MyHeleprs { public static MvcHtmlString Image(t...
asked on 02.07.2014 / 22:55
1
answer

High memory consumption Swing Java application

I'm developing a Java application, but when I run some tests, I noticed that when I run the application, my memory consumption increases. And according to usage, it always allocates more and more memory. It does not happen to drop the memory use...
asked on 14.04.2015 / 21:08
1
answer

Adding inputs to a report with more than one table!

I am generating a report and it has several tables. In jQuery I have to add 2 inputs of each table, the problem is that it only adds the one of the first table. I tried to use next() , but it did not work. Follow the HTML code: <td...
asked on 03.07.2014 / 21:47
1
answer

Apache Maven Scopes Usage Scenarios

The question is about the different values that can be assigned to the <scope> property of Apache Maven dependencies, and what criteria should I set for using each of them. Apache Maven has the following scopes: compile , impor...
asked on 29.06.2014 / 06:38
2
answers

How to make a manual system to check for new updates?

My application will not be published on Google Play, so I need to make a system to check for new updates and download them, without relying on Google Play. And preferably without spending anything, using free services (like Dropbox or the like)....
asked on 01.07.2014 / 01:03
1
answer

How to Create a New Account (Domain) via SSH?

Some time ago I asked a question - already resolved - about how to do an automatic update remotely using PHP ( See here ) Now I would like to create via SSH a new account on the server in order to replicate the system. In other words, the...
asked on 04.07.2014 / 20:58