All Questions

2
answers

What is a language constructor?

In PHP, I've read and heard many times about Language Builders. The cases I've heard of them have been in cases where it was said "you'd rather use X instead of Y, since Y is a function and X is a language constructor." One of the cases I've...
asked on 30.08.2018 / 14:35
2
answers

Use of '@' in variables

I see in some languages that compile for javascript, like TypeScript and CoffeeScript, the use of @ in variables, as well as cases where it is not used. For example: w = 10; @v = 11; In the end, what is the @ and what is the d...
asked on 19.04.2017 / 16:23
2
answers

Uploading Images

I'm trying to upload images to my application. I did a prototype of upload, only it does not show the image, but the ID or NAME of it. And I'm uploading to a folder I've created in my project. My questions are: How do I show this image?...
asked on 29.04.2014 / 15:27
1
answer

Difference between escape, encodeURI and encodeURIComponent

What's the difference between these three functions, and when to use each one of them? escape() encodeURI() encodeURIComponent()
asked on 18.12.2017 / 18:43
2
answers

What is the relationship between encapsulation and polymorphism?

A few days ago, I was talking to a friend about Java, and asked what part of the subject they were studying. So he replied that they were starting their studies on inheritance. As they were long overdue, I asked how they suddenly jumped to in...
asked on 22.06.2017 / 19:26
1
answer

What is type juggling?

What does the term type juggling refer to? Is it related to dynamic typing languages such as PHP and JavaScript?     
asked on 17.12.2018 / 22:30
1
answer

Importing the java.lang package. *

Adding Java studies I came across a special package, java.lang , where the author of the book mentions that we do not need to import of this package.    There is a package   special in the Java world called java.lang. This packag...
asked on 25.12.2018 / 01:35
3
answers

How to make a query through LINQ ignoring accents?

I would like to know if you can do a query with LINQ that compares two strings and ignores their accents. That's not my Collation in the database is set to AI and that I do not need to replace in the strings to exit by re...
asked on 12.05.2017 / 04:10
2
answers

What is the purpose of the Model folder of the Inphinit framework?

In the Inphinit micro-framework there is the Model folder that is inside the application , and that's where classes , but I'm very confused about these classes. View a class inside the Model folder: <?php namespace Model; class User...
asked on 15.03.2017 / 02:23
1
answer

Polymorphism or inheritance?

I'm learning about polymorphism and I'm in the doubt whether what I'm doing is actually polymorphism or just inheritance? If it is polymorphism what do you have in my code that I can clearly identify that is polymorphism? If it is not, wha...
asked on 22.09.2016 / 22:17