Posts by Victor • 81 points
7 posts
-
0
votes1
answer48
viewsQ: Why are object orientation codes different from structural ones?
I see identical codes that do the same thing, both work on structural and in the POO (object-oriented programming), but object-oriented is different from structural programming. For example, in my…
-
2
votes1
answer248
viewsQ: Association, aggregation, etc. in practice?
I am studying POO and still can not see, in practice, the difference between them. Basically everything ends up in one class having as attribute the instance of another class. But if it is…
-
0
votes1
answer70
viewsQ: Algorithm does not enter Catch (Try/catch)
I’m learning programming and came across the Try catch, however my code never enters the catch.. <?php class NewsLetter{ public function cadastrarEmail($email){…
-
0
votes1
answer58
viewsQ: Problem with catching javascript page size
My script works normal, when it arrives at the end of the main page it calls another in which it will return a text, adding a text at the end of the main page. The problem is q, after adding the…
-
4
votes2
answers284
viewsQ: Is it safe to leave crucial information in an Hidden input in HTML?
I can leave, for example, the ID of a user q I will do select in the hidden, and use it (the id) without having to confirm that that ID belongs to the logged in user? In other words, the user can…
-
0
votes0
answers18
viewsQ: Backend- will I have trouble renaming real-time accessed folder via php?
Users access pages within a folder. My site will have a function for moderators to rename the folder name if they want. What would happen if the folder was being accessed and some moderator changed…
-
1
votes1
answer57
viewsQ: Javascript beginner - Pass argument to javascript
<a onclick="onclick_edit(<?php echo 'aaa';?>);"> function onclick_edit(name){ alert(name); } The Javascript function is not even called, only works if I try to pass PHP number. If I try…