All Questions

2
answers

Get JSON data array and print with jQuery

I have a JSON in the following format: { "representantes": [ { "nome": "Foo LTDA", "endereco": "Alameda dos Anjos", "cep": "12345-000", "telefone": "(11) 1234-1234", "site":...
asked on 13.02.2014 / 16:08
1
answer

What are classes, how do you use them, and JavaScript?

I started studying programming and JavaScript for 3 months, but so far only in technique. However, I realized that it is much easier to understand the concept of object orientation. I already know that objects in programming are like real-life o...
asked on 11.10.2014 / 08:44
2
answers

What is the real concept and utility of POCO classes?

I am studying and developing a new project and a little studying about Windows Phone 7.1, I saw that they suggest / indicate the use of POCO classes, for database mapping (It seems to me that Windows Phone 7.1 uses some compact version of EF (...
asked on 17.09.2014 / 20:33
1
answer

HTML5 video without context menu

How do I disable context menu of the right mouse button in videos, so that the video menu does not appear? $('#nome').contextmenu( function() { return false; }); The code above, but does not work in internet explorer, the video is left...
asked on 12.04.2014 / 23:28
1
answer

Perl is it used today?

Well, I see little about Perl and I do not know much about the language, it is still used nowadays and can replace some other language like PHP or Ruby? I do not know exactly what Perl does but as I see little about it, and it seemed interesting...
asked on 01.08.2017 / 20:37
2
answers

What would be the route model for an API Rest in more complex operations?

I researched a little about the REST API model, but among many questions I had, I had one that is essentially important. The staff always gave examples of model routes similar to this: https://api.dominio.com.br/account[/{id}] GET -> ob...
asked on 03.09.2017 / 02:16
2
answers

How to clean a canvas area?

I created a function that is generating random objects in the canvas area and wanted to clear the area after the function was finished. Is there any way to do this?     
asked on 17.02.2014 / 06:51
2
answers

How to calculate the time of each year between two dates?

I need to get two dates and calculate the time period of each year in isolation . For example: between dates 12/06/2012 and 12/06/2017 the correct output would be: 2012 = 5 meses e 12 dias 2013 = 12 meses 2014 = 12 meses 2015 =...
asked on 19.08.2017 / 22:07
1
answer

How to read a file in Prism?

I was trying to read a file in Prism but I do not find the correct function: local arquivo = 'arquivo.txt' imprima(arquivo) On moon, it would be something like local file = 'file.txt'; print(file); .     
asked on 11.07.2017 / 20:42
1
answer

How to get the multiple of some value in PHP?

I need to do a search on the database and according to the value found within a range of values should return a specific value. For example, if you find values from 1 to 4, you should return 1, finding from 5 to 8, you should return 2. The...
asked on 01.01.2014 / 15:28