[IONIC 4] When & How to Use Services/Providers in Ionic

  Рет қаралды 24,652

Joshua Morony

Joshua Morony

Күн бұрын

Пікірлер: 23
@JeremyWinfreeDev
@JeremyWinfreeDev 5 жыл бұрын
Great examample!
@stevenetter1038
@stevenetter1038 6 жыл бұрын
I have gotten so much use out of your tutorials. Thank you so much.
@_erayerdin
@_erayerdin 5 жыл бұрын
Buffer overflow in calculateTrueLove()
@neomokono6979
@neomokono6979 5 жыл бұрын
I subscribed because of this video. Great work, really excited to see more of your content
@blessedffs
@blessedffs 5 жыл бұрын
Nicely explained. Thanks !
@vidalroland
@vidalroland 5 жыл бұрын
That was helpful ! If I understand well, Angular 7 merged services and providers into services. Right ? Should we do one service for all API requests or slice it into multiple services ?
@stewwweee
@stewwweee 6 жыл бұрын
Very well explained ..simple and near ,nice one Josh
@MyAsdfqwe
@MyAsdfqwe 5 жыл бұрын
Thank you! This was explained perfectly. Now i just use services for everything.
@dmgGeronimo
@dmgGeronimo 5 жыл бұрын
helped me a lot! thanks
@saurabrakshit405
@saurabrakshit405 3 жыл бұрын
nice vdo man ! I have this function in the service file printArray() { const arr = [1, 2, 3, 4, 5, 6, 7, 8, 9, 10]; console.log(arr); } & I'm calling this function in home.page.ts as following: import { AdServiceService } from '../ad-service.service'; constructor(adService: AdServiceService) { } printValue() { this.adService.printArray().subscribe((resp) => { console.log(resp); }) } but geting error under "adService" inside printValue() function can you suggest me any solution for this issue thanks in advance!!!!!!
@Arigatex
@Arigatex 6 жыл бұрын
Is there such a thing as too many services? Should I try to keep the number resonably low with long services or is it best practice to have many small ones? I can see arguments for both.
@JoshuaMorony
@JoshuaMorony 6 жыл бұрын
In the end, I think it comes down to what works best for your application. Generally, I would have a separate provider for each entity/concept in the application (Users, Todos, Jobs, etc).
@watsoncyrusanikwai3888
@watsoncyrusanikwai3888 6 жыл бұрын
Good one! Thanks.
@JarridLima
@JarridLima 6 жыл бұрын
Thanks. Very good
@99imre
@99imre 5 жыл бұрын
thank you, great!
@kapscreators
@kapscreators 6 жыл бұрын
Hi in ionic I am having problem like I am not able to create apk
@js_talks
@js_talks 6 жыл бұрын
Hi, maybe this help you engineerphilosophy.com/ionic-framework-setup-step-by-step-tutorial/
@TECStudy
@TECStudy 3 жыл бұрын
Thnx
@eltonleao3979
@eltonleao3979 4 жыл бұрын
Examample is gonna be my son's name
@RobsonOliveiraDosSantos22
@RobsonOliveiraDosSantos22 6 жыл бұрын
You did not show how to share data between pages with services
@JarridLima
@JarridLima 6 жыл бұрын
Basta chamar o service na outra página também e repetir o mesmo processo.
@FrancescoDeGiorgio
@FrancescoDeGiorgio 6 жыл бұрын
you can simply do these following steps: in your service page (let's say "example.service.ts) declare a variable userData = { "param1" : " ", "param2" : "" }; , in the page you want to use it -> import { ExampleService} from '../services/example.service'; and in the constructor declare it as constructor(private myService : ExampleService) {} - for using it just type this.myService.userData.param1 = "test"; this.myService.userData.param2 = "test for parameter 2" etc
@neura3964
@neura3964 5 жыл бұрын
super lazy, dont even make an real service to eschange data between pages
WELCOME - Ionic Tips Weekly Ep. 0 #ionic #angular
1:45
Joshua Morony
Рет қаралды 2,4 М.
Using Custom Components on Multiple Pages in Ionic
12:48
Joshua Morony
Рет қаралды 46 М.
SIZE DOESN’T MATTER @benjaminjiujitsu
00:46
Natan por Aí
Рет қаралды 8 МЛН
Players push long pins through a cardboard box attempting to pop the balloon!
00:31
路飞做的坏事被拆穿了 #路飞#海贼王
00:41
路飞与唐舞桐
Рет қаралды 18 МЛН
How, Why, and When to Use Providers in Ionic
16:05
Joshua Morony
Рет қаралды 30 М.
How to deeply understand Angular signals (...or anything)
10:51
Joshua Morony
Рет қаралды 6 М.
10 Tools & Services Every Ionic Developer Should Know
21:25
Simon Grimm
Рет қаралды 26 М.
Angular Resource API - Everything You Have To Know (so far)
27:58
Decoded Frontend
Рет қаралды 15 М.
How to pass Data to Ionic 4 Modals, Pages & Popover
17:58
Simon Grimm
Рет қаралды 58 М.
Understanding Angular Routing in Ionic 4 Apps
19:50
Simon Grimm
Рет қаралды 18 М.
Angular 19 is a BEAST of a release!
19:39
Maximilian Schwarzmüller
Рет қаралды 42 М.
Styling a Shadow DOM in Ionic #ionic #angular
14:46
Joshua Morony
Рет қаралды 26 М.
How to Pass Data Between Pages in Ionic Apps using Angular
27:00
Simon Grimm
Рет қаралды 15 М.
Angular v19 is out!... and it changed my apps (significantly)
3:52
Joshua Morony
Рет қаралды 18 М.
SIZE DOESN’T MATTER @benjaminjiujitsu
00:46
Natan por Aí
Рет қаралды 8 МЛН