Posts by Marco Garcia • 332 points
21 posts
-
0
votes2
answers893
viewsA: Modal Bootstrap for changing records
I will assume that you are showing the results in a table...and at the end of each row there is the edit button (which calls the modal), right? Well, on that button, you’d call the function…
-
6
votes1
answer1536
viewsQ: Directive differences in Angular
I would like to know the difference between the statements of directives. For example: ng-for="" *ngFor="" (o que é esse asterisco?) ngFor="" [ngStyle] I’ve seen and used them, but I haven’t found…
angularasked Marco Garcia 332 -
0
votes2
answers482
viewsQ: Style inside Vue.Component
The question is quite simple: I can insert CSS/SCSS style inside a Vue.(), to stay within the scope of the component? Something like const Color = Vue.component('Color', { props: ['row'], template:…
-
0
votes2
answers846
viewsQ: Import Vue or other components into child components
I have an application in Vuejs2, in which I have an app.js, where I install Vue and make the Imports (Templates, plugins, etc). It turns out that some plugins/libs I can normally use inside child…
-
2
votes0
answers28
viewsQ: Ionic.config.json and/or $ionicCloudProvider.init
What’s the difference between $ionicCloudProvider.init and Ionic.config.json. For example: When setting up Push, searching, there are programmers who insert the "app_id" and "sender_id" into the…
-
0
votes1
answer770
viewsQ: Upgrade version of Ionic
I have projects in Ionic 1.x, and I will start a new project, however, I would like to upgrade Ionic to its latest version (stable). My question is about compatibility, that is, I need to know if I…
ionicasked Marco Garcia 332 -
1
votes1
answer128
viewsQ: Calling multiple methods in the same instance of a PHP class
I wonder how I can do that: Class::methodA()->methodB()->methodC()...; I have a View class (MVC) in which I step parameters to create variables (assign). Currently it looks like this:…
-
1
votes2
answers1393
viewsQ: Change APP icon after installed - IONIC
I am developing an APP in Ionic 1.x and would like to know if it is possible to change the APP icon after it installed on the user’s mobile phone. I saw some solutions but all in code native to your…
ionicasked Marco Garcia 332 -
2
votes3
answers2215
viewsQ: belongsToMany Laravel - find()
I’m developing an Intranet that will contemplate Categories and Posts. A post can receive "n" categories. To that effect I’m using belongsToMany(). The problem is when returning this data with…
-
0
votes1
answer332
viewsA: Mysql database structure
You could ride a schema thus: Table: Procedures id (auto-increment) procedimentos (Fotografia, Slide, etc) valor (1.00, 2.00, etc) Table: Group of procedures id (auto-increment) grupo (Documentação…
-
1
votes1
answer37
viewsA: Pouchdb: How to delete all databases?
Pouchdb provides a plugin for this: https://github.com/nolanlawson/pouchdb-all-dbs PouchDB.resetAllDbs();…
pouchdbanswered Marco Garcia 332 -
1
votes1
answer37
viewsQ: Pouchdb: How to delete all databases?
From what I saw in the Pouchdb documentation it is possible to apply db.destroy(), however, only in the database created/chosen. It is possible to delete all databases (directly by Pouchdb)?…
pouchdbasked Marco Garcia 332 -
1
votes2
answers44
viewsA: Javascript command does not work inside Buttom
Replace that: onclick="javascript: exibe('conteudo');" That’s why: onclick="javascript: exibe(\'conteudo\');"
-
-1
votes1
answer477
viewsQ: Laravel with Site + Cms + Intranet
I’m creating a website that will contemplate a cms and an intranet. In Cakephp I separated these applications with plugins, that is, site at the root of the/cake project and plugins for others. Very…
-
1
votes1
answer743
viewsQ: Laravel x Cakephp
I’m starting at Laravel (5.x), but I’ve had years of Cakephp experience and I’d like to clear up some doubts, because I haven’t found anything like this on the Internet: 1) Can I only create models,…
-
1
votes1
answer273
viewsQ: Syntax doubt in Angularjs
I’m starting in Angular and in some cases I saw that you pass parameters in the bracket of the "module" and in other cases in the "Function", and in the function I’ve seen 2 forms of declaration.…
-
0
votes1
answer55
viewsA: Structure Cakephp
After a search in some forums the best option, in my case, was to develop the application as if it were a Cake Plugin. Many programmers use this technique.
-
0
votes1
answer55
viewsQ: Structure Cakephp
I’m starting a project on Cakephp 2.X and it has CMS + Website. I would like to know the best way (correct and usual) to structure the files, as I would not like to keep all the files together, that…
-
0
votes2
answers366
viewsQ: List all "date" attributes containing a particular code
I need to list all attributes data containing a code on their behalf (not in value). Example of HTML tag with attributes: <input type="hidden" id="products-end" data-flavor-id-15515-1="abc"…
-
0
votes0
answers87
viewsQ: Rewriterule Problem (HTACCESS)
I have the following HTACCESS code: <IfModule mod_rewrite.c> RewriteEngine On RewriteRule ^customer/$ index.php [L,NC] </IfModule> (I cleaned the rest of the code to simplify.) In the…
-
-1
votes3
answers141
viewsQ: Query problem - Accentuation
My Mysql database is in UTF-8, pages in UTF-8, so far all working. No problem with charset. The problem is when I research something (company) in the search, for example: I type "A" and it returns…