All Questions

3
answers

Assign type to array in PHP

I know that PHP is a poorly typed language. But is there any alternative way to "type" a array in PHP? Example, I can do this below to force a given data type to be given in a function. function exemplo(Classe $valor){ // meu cód...
asked on 04.02.2015 / 19:54
1
answer

Generate database backup

In my project, I have a database that has a lot of registry. So I wanted SQL Server to do a backup a day or a week. But I think the per day is better. But how can I make this script to be scheduled in SQL Server and it does the scheduled...
asked on 27.11.2014 / 13:23
2
answers

What happens when we run PHP scripts with long tasks?

I am running a PHP script that is responsible for downloading 55'000 images on one server and downloading these files into a folder on another server. It should take according to statistics per minute around 1h40 to complete the task....
asked on 04.11.2014 / 15:13
5
answers

How to erase data from a table with dependencies in other tables

I need to delete data from a table that has dependencies on other tables. For example so that I can delete a data from the person table first I have to delete a dependency that exists in the credential table which in turn has dependency on anoth...
asked on 29.09.2014 / 23:41
2
answers

Receiving undefined number of parameters in C #

The Main(string[] args) method receives an array of indefinite quantity parameters. But I know this does not work in a common method. How do I create a method that receives how many parameters are needed?     
asked on 01.05.2014 / 22:04
1
answer

Divide the application screen into two layouts

I want to split the screen in half. I have two LinearLayout of the same size, but it seems that the only way to do this is to place the size in the android:layout_height=<tamanho> property? <LinearLayout xmlns:android...
asked on 19.12.2014 / 13:27
2
answers

Function equivalent to "DISTINCT ON" in Oracle DB?

In Postgres, you can have distinct apply to just 1 field of the select using DISTINC ON , how can I reproduce this function in an Oracle database? Here is an example query: SELECT DISTINCT ON (CITY) CITY, STATE, ZIPCODE, ROW_ID FROM d...
asked on 23.12.2014 / 20:19
1
answer

Moving and Removing HTML Elements with jQuery

I'm having trouble with the code below. In the case I have two menus, the menuAprendido menu and the menuAprender menu and I have to add objects in menuAprender and move them to menuAprendido , so far so good. The prob...
asked on 26.10.2014 / 13:54
2
answers

Run parallel process in PHP

I have a Web service that is consumed by some applications. On the Web service server you should use the Amazon API and execute a process whenever a change of record is made via Web service . Initially, I thought about running the Amaz...
asked on 31.03.2015 / 14:52
4
answers

How to do external login authentication?

I need to develop a system to be used by the user. The user will be registered in another system, where we will have the registration, contracted plans and financial control of the same ... The idea is that when the user attempts to login to...
asked on 24.09.2014 / 21:38