Posts by Guilherme Oderdenge • 2,771 points
59 posts
-
1
votes2
answers4081
viewsA: How to create user validation with access levels in codeigniter?
The first option you have is to create this "privilege system" on your arm. Like? In your user table or in a related third, create a column called role or function and determine such a value. Then…
-
1
votes1
answer136
viewsA: Scrolling area graph when clicking and dragging mouse
In fact, the ideal is not to reinvent the wheel, but you quoted: store back this information in the database... Well, what’s the difficulty? Before storing in the bank, save the X and Y coordinates…
-
1
votes2
answers384
viewsA: jQuery app works on Localhost, Mobile, but does not work on browsers
pagebeforeshow and pageshow, as a whole, they are not compatible with desktop browsers. For this, choose $(document).ready(...); or $(window).on('load', ...);.…
-
0
votes6
answers6049
viewsA: How to make a textbox that updates every time you change the content?
You want to use the database as you type into one textarea of html, right? If yes, you will need to use the AJAX. There are some methods to capture user typing in the DOM: onKeyUp and onKeyDown are…
-
1
votes2
answers546
viewsA: Ruby Bematech integration (or similar)
No specific Gem for Bematech printers, unfortunately. You know that in the case of Windows printers install drivers and with them comes an UI implementation provided by the operating system, right?…
-
0
votes6
answers1639
viewsA: Remove an undetermined number of " " in a column in the database
Since you want to "save" old results, then let’s give a update in the database. UPDATE table SET field = REPLACE(field, '\\\'', '\'') WHERE field LIKE '%\\\''…
-
14
votes4
answers20996
viewsA: Difference between null, Empty, 0 and false
Setting I left PHP to venture into the world of C# and felt an immense difficulty to understand a little bit about typography. In fact, it took me a while to understand why I couldn’t compare string…
-
13
votes4
answers20996
viewsQ: Difference between null, Empty, 0 and false
The goal Differentiate the day-to-day use of null, empty, 0 and false. The problem Dealing every day with these 4 representations of variables is complicated and I don’t know how to differentiate…
-
5
votes1
answer235
viewsQ: Folder Structure for Backbone without Requirejs
The goal Assemble a sufficient and intelligent folder structure for an application Rails 4 + Backbone. The problem How am I in the Rails 4 and I yet I can’t handle the Asset Pipeline of him + the…