All Questions

1
answer

Laravel Eloquent Relationship Performance

I realize that in Laravel 4 Framework , when we have a relationship, instead of using JOIN of Mysql in the source code of Eloquent , it uses a select. For example. I have these two Models. class Usuario extends Elo...
asked on 29.01.2015 / 16:00
1
answer

What does this definition of resource really mean?

I'm studying about web APIs and REST and the book I'm reading says the following:    The Web is built around three main concepts: features, URIs, and representations.       A resource is anything that has a URI. A feature itself is a concept...
asked on 31.01.2015 / 03:11
1
answer

Simulate the same SQL in the Entity Framework with Linq and Lambda?

Having this data model I want to generate a SQL in the Entity Framework with < a href="http://msdn.microsoft.com/en-us/library/bb425822.aspx"> Linq and
asked on 03.07.2014 / 17:41
1
answer

Good practices with XHR requests

I have the following question: When I make a request via AJAX and I want to "mount" the HTML based on data coming from a banco , it is wrong (in terms of "good practices") to already return HTML on itself requisition...
asked on 23.01.2015 / 14:20
2
answers

Format CustomFormat value in LiveBinding

I'm having trouble trying to use the CustomFormat property of LiveBinding , I'm trying to format a value obtained from the database into the number format with a thousand separator. I'm using: Format('%d',[Self.Owner.FieldByName('som...
asked on 19.02.2015 / 17:13
4
answers

How do I update my data in the table using EntityFramework?

var contactado = ContactadoRepositorio.ObterListaContactadoPorCodigo(procedimentoVM.CodContactadoPessoa); //obtenho o contactado pelo id obtido; foreach (var c in contactado) { var contactadoPessoa = new ContactadoPessoa() {...
asked on 21.01.2015 / 13:35
1
answer

In R, create a function to change some levels of a variable

I want to create a function that makes my life easier when handling some variables I want a function that receives as input a database, a column or variable u from that database, a vector c specifying the levels to be changed and the new name...
asked on 30.01.2015 / 05:01
1
answer

I can not remove an item copied from one list to another (drag and drop)

I have the following code link . My problem occurs as follows: Add a Double Steppe in the list on the right. Add a Simple Steppe in the list on the right. Add a second Double Step in the list on the right. Drag a Double Step to the...
asked on 14.01.2015 / 14:59
2
answers

Difference between Azure Queue and Service Bus Queue

I noticed that Microsoft Azure has two queue types: Azure Queue that is part of Azure Storage and Service Bus Queue. In this tutorial of the Azure website the service is used Azure Queue to exchange messages between Web Role and Worker Role of...
asked on 02.02.2015 / 21:59
2
answers

Multiple persistence units with Spring Data

Is it possible to create multiple persistences units by connecting to different databases in the same JPA application using Spring Data? For example. I have an application that will run on MySQL normally. However, it will have to query in an O...
asked on 15.01.2015 / 13:24