All Questions

1
answer

How to pick up hardware and system information?

I found only the class Runtime , but it returns only values in numbers, such as total memory and processors. Is there any API that returns hardware data (processor version, RAM, architecture, etc.) as in CCleaner?     
asked on 30.07.2015 / 00:15
3
answers

What better way to create an app that works offline and synchronize data with the server? [closed]

I'm digging into the Mobile world, where I had the first challenge, which is to create an Android App for basic registration, name, age, etc. The complicated (at least for me) is that I have to update this data saved in SQLite from Android to...
asked on 20.05.2015 / 23:27
2
answers

What are the advantages and disadvantages of declaring constants as an array?

I found this new feature a lot of way around PHP 5.6. It is now possible to set a array to the value of a constant. See how cool: const BR_DATES = [ 1 => 'Janeiro', 2 => 'Fevereiro', 3 => 'Março', 4 =>...
asked on 03.03.2015 / 15:06
1
answer

What are the advantages of using an object-oriented database?

What are the advantages and disadvantages of using database object-oriented relational database? What are the most commonly used object-oriented databases?     
asked on 18.02.2016 / 13:32
2
answers

What are Exceptions and how should I create and organize them in PHP

I'm creating an MVC system and want to implement Exceptions on my system. But I've never used it particularly. So I wanted to know how the Exceptions should be applied, since I saw here in StackOverflow in Portuguese someone talking (I can not...
asked on 03.09.2015 / 22:06
1
answer

What is reverse proxy?

When I was setting PHP FPM (PHP module that allows the use of FastCGI), I ran into the Reverse Proxy when I was browsing some tutorials on how to configure it in Apache 2. Example taken from this site , where you are taught to install th...
asked on 02.10.2017 / 18:22
3
answers

Solution for scanning documents by browser

I want users to% direct from the browser to then pro server . I found APIS that do this but all are paid and the costly licenses! Can anyone present a solution? Even if the client has to install a plugin or something that outputs...
asked on 05.03.2016 / 07:37
3
answers

Is referring to an element via its id considered bad?

In Javascript, you can reference any element that has a id (and in some cases a name ) by simply using an identifier with the same name - without having to declare it: / p> <div id="teste">Teste</div> console.log(test...
asked on 26.06.2014 / 20:41
1
answer

WPF Form is going behind all windows when a ComboBox is selected

My form WPF works perfectly, but in a specific%%, after the action of selecting, the form is going behind all windows without further explanation, and this does not happen in any other form, could anyone explain why? The image before c...
asked on 23.12.2013 / 19:19
2
answers

Equal sign in Ruby method definition

I came across the following method definitions and would like to know the difference between the first and second definitions. This first one does not have the equal sign in the definition: def nome nome_exibicao(:nome) end This s...
asked on 01.11.2017 / 20:47