Posts by José Camelo de Freitas • 407 points
8 posts
-
1
votes0
answers54
viewsQ: "Reference path" and "import"
/// <reference path="arquivo.ts" /> import "./arquivo.ts"; What’s the difference and when to use each in Typescript/nodejs? It is necessary to be a file ts or I can directly import a js? Have…
-
6
votes2
answers48
viewsQ: New instance overwrites old values
Take a look at this class: class Signal: point = None view = { "x": None, "y": None, } def __init__(self, point): self.point = point self.set_position() print(self.point + " -> " +…
-
0
votes1
answer144
viewsQ: MVVM and Binding for different classes
If in the Viewmodel Model View pattern I have: Mainpagemodel.Cs Mainpageviewmodel.Cs Mainpage.Cs Mainpage.xaml MainPage.cs is also part of my layer View? If so, it is to her that I must delegate the…
-
0
votes1
answer5745
viewsQ: Failure to reference a nuget package
After installing the W10 Anniversary Update, I’ve been trying to build an open source project that I normally did before and now can’t. I get the following error in the output of Visual Studio 2015…
-
13
votes2
answers460
viewsQ: What is Closure Object and how do I get the anonymous function return as parameter?
Let’s say I have a class, and in that class i have a method, and in a parameter that method it is possible to use a anonymous function thus: Class and method: class Classe { private $exemplo = [];…
-
3
votes1
answer226
viewsQ: Treat request redirected by Htaccess
I’m studying about routing, trying to (re)create a routing solution of mine. I’ve always used the following .htaccess to redirect my requests: RewriteEngine on RewriteCond %{REQUEST_FILENAME} !-f…
-
4
votes1
answer2084
viewsQ: Set Laravel to Standard Level/Directory
I have an app Laravel and do the deploy from git to my server. But the problem is that the server always plays deploy inside the public folder, and the Laravel originally is to stay one level above.…
-
2
votes2
answers165
viewsA: Friendly URL changing file link
You are currently inserting your CSS file in a relative way, that is, like this: <link rel="stylesheet" href="/css/principal.css"> But in cases of URL friendly you should put the CSS (and…
phpanswered José Camelo de Freitas 407