Posts by SkullFire • 117 points
11 posts
-
0
votes0
answers32
viewsQ: Prevent user from entering token manually by browser
Is there a way to prevent a user from manually typing the access_token by browser? For example, if I put a key with the name access_token direct by the browser, and type any value, I can enter a…
-
1
votes0
answers334
viewsQ: After all, where should the rules of business be maintained?
I am going through this doubt at the moment, I am researching about design patterns. Using the Framework, which has by default the MVC. Where should we keep business rules? I read that some people…
-
1
votes1
answer57
viewsQ: Send gps location to a server
I have a service to get the user’s location, but I need to pass the latitude and longitude via request to a server, however I tried to make this request within the method onLocationChanged() using…
-
1
votes1
answer73
viewsQ: Passing properties by events
I have a component in which in it is just a modal which has the following header: <b-modal id="mdgroup" ref="mdgroup" size="lg" title="Nova categoria de receita" @ok="save" ok-title="Salvar"…
-
0
votes2
answers184
viewsQ: Exchange object values from the api?
it is possible to change values in the frontend by coming to api? For example, I have an api that returns this: "data":[ "nome": "sp", "nome": "mg", "nome": "rj" ] Then I make a simple request using…
-
0
votes0
answers100
viewsQ: Insertion with relationship N:N
I have these text inputs, in a way people can choose to fill them or not. Or just fill in some of them. I send the data from this form via Xios in an array (I don’t know if it’s the best way, so I’m…
-
0
votes0
answers29
viewsQ: Show in json a Relationship
I am making a system that there is a register of products, these products the same can be part of only one group, or not. I have this model for Products: class Products extends Model { protected…
-
2
votes3
answers873
viewsQ: Key modal Event
Can you call a Vue bootstrap modal using a keyevent in VUEJS?? I don’t want any kind of button on the screen or inputs, I want to know if I can call the modal just by pressing a specific key. Such…
-
1
votes1
answer83
viewsQ: Query in two tables
Well, how do I query two sql tables? For example, I have a table Enterprise with the fields id,social reason, and cnpj. I also have another table, Subsidiary with the fields id,addressee,loan. I…
-
4
votes1
answer86
viewsQ: How to handle ids with php?
while ($row = mysqli_fetch_array($result)) { echo "<li class='list-inline-item'><a href='news.php?id=" .$row['id']. "'>". $row['titulo'] ."</a></li>"; echo "<br>"; } I…
-
0
votes1
answer671
viewsQ: "Undefined index" message when accessing $_POST index
<div class="modal fade" id="adcmodal" tabindex="-1" role="dialog" aria-labelledby="exampleModalLabel"> <div class="modal-dialog" role="document"> <div class="modal-content">…