All Questions

6
answers

How to vertically center the content of an element?

I'm trying to vertically center the content of an element that has position: absolute . I've been able to make the content position half-way down the container , however, halfway up the space is "left over." How can I solve this jus...
asked on 12.12.2013 / 01:06
3
answers

Why parameterized SQL queries (name =?) prevent SQL Injection?

Why parameterized SQL queries ( nome = ? ) prevent SQL Injection? Can you cite examples?     
asked on 12.05.2015 / 13:24
1
answer

Is using PDO the safest way to connect to a DB with PHP?

I am a beginner in PHP and would like to know if PDO (PHP Data Objects) is the safest way to connect to a database? I also need an example of how to make this connection and insert / select data.     
asked on 09.06.2015 / 15:26
6
answers

What is a Web Service?

Lately I've heard a lot about Web Service.    Web service is a solution used in systems integration and communication between different applications. They allow applications to send and receive data in XML format.       Web service is a...
asked on 02.10.2015 / 16:33
3
answers

When to use recursion and when to use loops?

A problem can be solved and get the same result as a loop or through Recursive calls to a function.
asked on 16.06.2014 / 19:13
2
answers

Javascript interpreted or compiled at runtime?

In this other question I asked the same thing, but in relation to Java. Now I ask about Javascript. As far as I know, Javascript historically has always been interpreted, but Google has changed that with V8 on Chromium. Am I right or wrong?...
asked on 22.07.2014 / 13:26
6
answers

Ajax is not a programming language. So what is it?

I'm asking this question because I've had enough of seeing things as requirements for a particular programming job:    You need to know the languages PHP, Javascript, CSS and AJAX I've already learned that Ajax is not a programmi...
asked on 02.03.2016 / 15:28
1
answer

What is MVC (Model, View, Controller)?

After all, how does this architectural pattern work following the model, view, and controller layers?     
asked on 23.03.2015 / 20:39
3
answers

I am suffering from SQL Injection attacks

Since I opened an online project I'm having problems with trespassing, where someone is doing direct inserts in the database. It was the one that gave me initiative to by in all the variables received through the method $_GET and $_POS...
asked on 12.12.2015 / 12:36
6
answers

Is there a JavaScript class?

I'm studying JavaScript and saw some explanations that left me with doubts. Here in StackOverflow I saw several questions about whether to create an abstract class in JavaScript. But my question is: Is it possible to create a class in JavaSc...
asked on 15.01.2016 / 17:55