Posts by Sileno Brito • 1,437 points
68 posts
-
1
votes1
answer104
viewsQ: Doubt about how to share information
Create a static control for the menus, the goal was for each Bundle to register its menu item. <?php namespace Test\RegisterBundle\Controller; use…
-
2
votes3
answers2537
viewsA: Detect no characters in a string
In php there are some functions to detect characters that are not printable: ctype_print() - Checks whether characters are printable ctype_cntrl() - Checks that characters are controlled…
-
3
votes2
answers459
viewsA: Creating Logs page
The fields you will put is optional and depends on what exactly you want to store, but I believe the main one is missing to inform what happened (a message in the log to identify what that record is…
-
2
votes1
answer306
viewsQ: What is the difference and advantages of SDL and Unity3d
I wanted to know the main difference between SDL and Unity3d in terms of performance and ease of use and when one is more suitable than the other.
-
4
votes1
answer55032
viewsQ: What is the difference and advantages of Opengl and Directx and when to use?
I have entered some sites and some speak well of Opengl for being cross-platform, others advocating the use of directx due to being microsoft and say it is easier to use, others talk to instead of…
-
2
votes2
answers9928
viewsA: Tables with Bootstrap
Bootstrap is an HTML5 and CSS3 framework designed to help you with front-end development of web applications and websites, but its features are more visual-oriented and its programming is more…
-
5
votes2
answers14652
viewsA: How to make the initial budget for a software project?
I believe that to estimate a budget you must: Knowing the client’s request Split client requests into tasks Knowing the team’s ability Budget the time your team members will spend to develop the…
project-managementanswered Sileno Brito 1,437 -
0
votes1
answer3045
viewsQ: How to develop a basic game using opengl that accepts keyboard commands
I tried to follow the source of a tutorial Metar Gearn Nanna, because I was interested in creating a game in opengl and c++, it could be something simple, with precarious validations, just to…
-
1
votes2
answers444
viewsA: Streaming data over HTTP in Javascript
At first what you seek seems to be a socket in this link you will find an example implementation in php, another way to solve this would be paging, bringing 50 records at a time, making javascript…
-
9
votes3
answers864
viewsA: What happens in detail in the destruction of a variable?
php is a language produced in C and C++ today your source code is available on github information about unset use may not found on the official php page. The first concept that we must understand is…
phpanswered Sileno Brito 1,437 -
2
votes3
answers1576
viewsA: Amazon Server Mysql Remote Access
Mysql has a my.cnf configuration file this file by default restricts access, making it possible only to access it locally by ip blocking. Through the following line: bind-address = 127.0.0.1 If you…
-
1
votes1
answer389
viewsA: Problems loading "mssql" in PHP
You may need to update the php driver to access mssql, you can download the updated driver directly on the Microsoft website (Microsoft Drivers 3.0 for PHP for SQL Server) you also have the option…
phpanswered Sileno Brito 1,437 -
3
votes1
answer135
viewsA: Difficulty positioning controls with bootstrap
From what I understand, you have a table and want to keep it aligned to the left and a collection of Labels aligned to the left of the table, however you should only have two Labels per row. If I…
-
1
votes1
answer114
viewsA: Data insertion with PHP OO (Similar to Entitymanager.persist (Object) java manager)
It exists just like the Java Hibernate framework, php frameworks for ORM one that I started using a little while ago, but today I do not give up is Doctrine (ORM Framework) through it you can define…
-
2
votes1
answer354
viewsA: Is it possible to run a query (Insert) and only then check if it is duplicated?
When errors occur in mysql they trigger a kind of exception, do not close the connection to mysql, but interrupt the instruction that is running, however in some cases this behavior can be modified.…
-
3
votes2
answers767
viewsA: Take data from Forms
You can use jQuery to serialize data from all forms and submit using jQuery’s $.get or $.post In this link you will get information on how to serialize 1 (one) form In this link you will have…
-
1
votes1
answer153
viewsQ: Using Symfony to start the database automatically when deploying the project
Is there any place in Symfony reserved for me to provide scripts or run a class that populates the database with the initial information I need? The ideal would be during the first run and each…
-
1
votes3
answers415
viewsA: Automatic method execution
You will still have to run cron to schedule the php call, since php depends on a request to be interpreted. You can write a class in PHP and use the methods class_exists to check whether the class x…