All Questions

1
answer

PHP code refactoring to provide image with specific size

The code below aims to provide an image with specific measures to minimize its size and thus optimize web-site loading. Problem The image takes more than 1 second to render, making it a heavy load on the initial upload of the web-site:...
asked on 12.03.2014 / 19:55
2
answers

What are really the sets of Git modifications?

I'm now starting to use Git and one thing I heard in the course I'm seeing was this: what Git actually saves are not the different versions of the files, but sets of modifications. In this way, by doing a commit , instead of saving the...
asked on 28.01.2015 / 21:29
1
answer

How to upload Dynamic Images in JSF?

What is the best strategy for uploading and using images in JSF? I do not want to use blob field in the database, so how do I solve the image storage folder problem, since the .war file is closed.     
asked on 29.01.2014 / 03:56
2
answers

HTML table export to excel

I'm trying to export a table in html to file in Excel. This jquery plugin works almost perfectly for me. My problem is with accentuation, which comes to excel with strange characters. Any tips on how to solve?     
asked on 11.03.2014 / 14:32
2
answers

What are database model migrations?

Some MVC frameworks (Rails, Laravel, and others) provide migrations of the database model. What are they, how do they work and what are the advantages / disadvantages of using them?     
asked on 19.02.2014 / 01:41
2
answers

Configure Jenkins to build build for each commit?

I have Jenkins properly installed and generating build every 30 minutes, but I'd like to build build with every commit in the svn repository. I tried to configure the option: Check the SCM periodically, but I did not succeed. Does anyone k...
asked on 14.01.2014 / 17:55
1
answer

Why does Visual Studio 2013 not let me use version 4 of the Entity Framework?

I do not know why, but whenever I try to update the Object Model of an old project we have, Visual Studio 2013 asks if we want to keep version 4 of EF, but even marking the right version it updates and includes references to version 5. With t...
asked on 10.02.2014 / 21:11
2
answers

Impact of exchange - MyISAM by InnoDB

In a medium database (~ 2GB) MySQL that is all with the MyISAM engine. Realizing the conversion to InnoDB, what will be the impact on my system? Can I simply convert by phpMyAdmin, for example? Has anyone ever had this experience?     
asked on 17.02.2014 / 18:44
2
answers

How do I persist database objects in Delphi?

Work with Delphi, but always procedurally and using Data-Aware components. I recently started reading a few things about working with POO in Delphi, and I've done some pretty basic examples, my doubts are these: How can I work with a class (T...
asked on 09.02.2014 / 16:54
1
answer

Load content dynamically with AJAX

I have the following HTML code: <label id="meuTemplate" for="criaAssoc" class="instAssoc" style="display:none"> <strong>ID:</strong> <input name="idInstrucao" type="text"> <strong>Ordem:</strong>...
asked on 30.01.2014 / 23:04