Posts by Dimi Antoni Vargas • 316 points
13 posts
-
1
votes2
answers351
viewsA: Doubt with mongodb test
Dude you are in need to see all the most basic operations of the Ngo I suggest you these references here, they have helped me a lot in my day to day.…
-
3
votes1
answer1339
viewsQ: Automate enter input in command line while running a bash script
I created a script in bash to automate the installation and configuration of my environment necessary to run my project, but some of the tasks require that the actions are confirmed giving enter, I…
-
0
votes2
answers327
viewsA: Mongodb problem in listing data with php
The driver Mongo returns a cursor and not a PHP array, you will not debug your query with a var_dump as you are doing in your PHP example, In the case of your example with Mongoose for Node works…
-
0
votes1
answer187
viewsQ: Which PHP frameworks have better support for working with Nosql databases?
I’d like to know which PHP frameworks have the best support for working with Nosql databases? The Nosql banks I already have experience with are Mongodb, Redis and Cassandra, but I am interested in…
-
0
votes1
answer187
viewsA: Which PHP frameworks have better support for working with Nosql databases?
While elaborating the question I found in the official Mongodb documentation a reference of the PHP Libraries to work with Mongo, answering part of my questions…
-
1
votes2
answers126
viewsQ: Which method is most efficient for scaling, using a redis a service or redis on disk?
I have a question regarding the best approach to caching data using redis. I would like to use a Redis as a Service as Amazon Elasti Cachi or some other. However I am in doubt if the network latency…
-
0
votes5
answers628
viewsA: List keyspaces in Cassandra
You don’t have any KEYSPACE set yet, your book is probably outdated from the current version of CQL available in your installation, look for this datastax reference who is the current maintainer of…
-
1
votes1
answer287
viewsA: Structure Array coming from mysql with PDO (organize)
Cara makes a two-dimensional array, is a main array with several two-position arrays inside. I will try to exemplify using your query: <?php $imageSearch = 00001::conect_sql(); $imageSearch =…
-
7
votes1
answer79
viewsQ: Why can’t a Trait implement an interface?
Why a Trait cannot implement an interface in PHP?
-
1
votes0
answers85
viewsQ: Evolution of the code-controlled data model
In a scenario where the application is deployed for production through a pipe line run by an CI server, where the server performs the following tasks: Installs front end and back end dependencies.…
-
4
votes2
answers1010
viewsQ: Does the use of traits replace the role of multiple inheritance?
What happens if I use in a class two traits different, and both have a method with the same name, but different implementations in this method?
-
1
votes1
answer79
viewsQ: Can I use GZIP compression on files that have been minified by Gulp or Grunt?
Can I use GZIP compression on files that have been minified by Gulp or Grunt? I wonder if there is possibility that I have problems regarding this. Or if I would have an even faster upload on the…
-
0
votes3
answers756
viewsA: Send parameters via GET
before running PDO you need to bind in the parameters, for example below, you are assigning a direct bind in your array, I’ve never seen it used this way. //exemplo de bind $stmt->bindParam("id",…