All Questions

2
answers

What is the difference between an XML file and an XSD file?

We know that these two types of files are correlated - .XSD e XML . What is the difference between the two? Is it possible to work with an XML without an XSD?
asked on 30.06.2015 / 15:56
2
answers

REST and HTTP are the same thing?

I'd like to know the difference between REST and HTTP. For a while, I've been studying these two subjects and they seem to me to be the same thing.     
asked on 01.11.2015 / 20:20
3
answers

Is it possible to use pointers in Java?

In language C we can use ponteiros as follows: int *ponteiro, teste; ponteiro = &teste; And in Java is there any alternative?     
asked on 13.04.2015 / 22:42
1
answer

Is it a good practice not to close the .php file with? after an XHR call made from an .html file?

Should I close the PHP <?php tag with ?> ? A friend with more experience advised me not to close saying it was a "good programming practice", I never understood why, but I follow the recommendation ever. Is this really a g...
asked on 09.09.2014 / 04:27
4
answers

Vehicle-to-Board Query on sinesp via PHP - no captcha

Has anyone managed to consult Sinesp, via php? I'm trying to put this code to work without success. $placa = 'KCK2486'; $request = '<?xml version="1.0" encoding="utf-8" standalone="yes" ?><soap:Envelope xmlns:soap="http://schema...
asked on 16.04.2015 / 21:11
4
answers

Difference between null, empty, 0 and false

The goal Differentiate day-to-day usage of null , empty , 0 and false . The problem Coping with these 4 representations of variables is complicated and I do not know how to differentiate them, even more so with...
asked on 29.01.2014 / 13:53
1
answer

Is a framework based on a programming language?

I know that a framework is like an application to be used in applications, but is it correct to say that a framework is based on a certain language? Example:    jQuery is a JavaScript-based framework And what's the difference of a fr...
asked on 13.04.2015 / 03:54
2
answers

Object orientation in R: S3, S4 and Reference Class

The R has, among others, three main forms of object orientation: S3; S4; e, Reference Classes. What are the main differences between the three methods? And how to implement them (preferably provide a minimal and simple example with...
asked on 12.09.2014 / 15:34
3
answers

How to execute a function after two or more asynchronous events?

I have a jQuery script that starts two or more asynchronous operations at the same time, and I would like to execute a callback when all are complete. An example would be to start an animation to hide the current page, while I make an Ajax r...
asked on 20.01.2014 / 16:30
3
answers

Simulate placeholder in IE8

I was reading the documentation here and it seems that the placeholder attribute does not work in IE8. Would you have any way to simulate the placeholder you use? HTML example that does not work in IE8: <input type="text"...
asked on 16.12.2014 / 18:30