Ember.js tutorial for beginners #10 Ember data, store, adapter, serializer (2022)

  Рет қаралды 12,948

Shawn C

Shawn C

Күн бұрын

Пікірлер: 29
@luhnorrah
@luhnorrah 3 жыл бұрын
I believe this is a great intro into Ember Data. I needed something a bit more approachable and this did it for me. This video made it digestible. I think I understand enough of the base info to move forward to real world applications. Thanks a ton.
@alexyoungjiecho4789
@alexyoungjiecho4789 3 жыл бұрын
This tutorial was helpful! Btw, if you have time, it really helped me review the content when I added the 'star' section to the data, so the stars could show up dynamically based on the data 😊
@paulofernandes2015
@paulofernandes2015 3 жыл бұрын
Elegant and beautiful tutorial. Thanks a lot for putting so much effort on this. It's getting increasingly harder to find good content about Ember nowadays. Besides the default tutorial, where would a novice find good content to get a deeper understand of the framework?
@ShawnCTech
@ShawnCTech 3 жыл бұрын
The official tutorial is good, you can also try to look at developer.mozilla.org/en-US/docs/Learn/Tools_and_testing/Client-side_JavaScript_frameworks/Ember_getting_started And I also plan to make videos on the advanced technique of Emberjs
@paulofernandes2015
@paulofernandes2015 3 жыл бұрын
@@ShawnCTech thanks for the response! I am really looking forward your next videos!
@yoyowang3729
@yoyowang3729 3 жыл бұрын
Thanks for your tutorial, very helpful!
@mArtinko5MB
@mArtinko5MB 3 жыл бұрын
HI there, keep up the good work. Just one thing, you do not need to import store as service. It's available in route by default as this.store without @service store. ;)
@ShawnCTech
@ShawnCTech 3 жыл бұрын
Thanks for sharing this. Yes, that is true, but its good to inject the store explicitly to reduce confusion. Also inject store service is a standard way in ember official docs: guides.emberjs.com/release/tutorial/part-2/ember-data/#toc_the-ember-data-store
@mArtinko5MB
@mArtinko5MB 3 жыл бұрын
@@ShawnCTech i didn't know that, just to sum up. if you do not import it as a service, it will always load the data from server, but if you will, it will take it from cache as it was loaded before rather than make a request, right ? that is neat
@truekasun
@truekasun 3 жыл бұрын
Hi, I was following the full set of tutorials and this is so impressive. Thank you very much for creating this set of tutorials. One more thing, will you be able to add authentication (session handling) for this playlist?
@ShawnCTech
@ShawnCTech 3 жыл бұрын
Thanks! I didn't plan to add that section, since is not ember specific thing, you can easily doing that with ember service and localStorage / sessionStorage.
@truekasun
@truekasun 3 жыл бұрын
@@ShawnCTech Yeah that's right. What I was really confused was how to redirect unauthenticated users using routes. Lately I found the documentation for ember-simple-auth. Thank you!
@sivasubramanianramanathan6945
@sivasubramanianramanathan6945 3 жыл бұрын
Great Stuff👍
@mathanp3777
@mathanp3777 2 жыл бұрын
can you please upload simple login with use local storage/ Session , after that login go to another page please,
@jellyhan7530
@jellyhan7530 2 жыл бұрын
hi, wanna to know if the data is not from the static data in a local `.json` file but a real HTTP response data, does the adapter at the time 7:18 with the `buildURL()` can be a real http URL?
@alvarouribe8416
@alvarouribe8416 3 жыл бұрын
Thanks for the tutorial. I think this is the most complex topic in Ember but sadly you are just scratching the surface and in any real project your audience would not be able to finish their real problems. I think the changes of the jsonApi to RestApi that you did doesn't explain much, maybe explaining the different queries to the store method and explain how to drive through the api reference to know what to overwrite in the adapter would be beneficial...
@ShawnCTech
@ShawnCTech 3 жыл бұрын
Agree, but this is just a beginner series to help people quickly ramp up.
@arunkumars5352
@arunkumars5352 3 жыл бұрын
Right now I am working on ember.js with front end and servlets at back end. I have achieved redirection from ember to jsp for the backend works but I have to check upon the response and redirect to corresponding ember.js webpage. Can anyone tell me how to do this? Thanks in advance.
@angelapan4447
@angelapan4447 2 жыл бұрын
what's the advantage of using ember data vs "fetch"? seems like fetch is easier than "generating adapters and serializers"?
@ShawnCTech
@ShawnCTech 2 жыл бұрын
Generalize everything in a very standard way to use in various places across the application
@akbarkazimov8486
@akbarkazimov8486 2 жыл бұрын
is it possible to execute a jar file in ember js?
@IvoSlanina
@IvoSlanina 3 жыл бұрын
Hello, thank for tutorial. A have one questing on this topic. Have Ember some mechanism for mocking data on development? I would like to have data for dev stored in file, but fetch data from REST API on production. I can't find any documentation about this.
@ShawnCTech
@ShawnCTech 3 жыл бұрын
Yes, it does, but through 3rd party add-on, is called Mirage. www.ember-cli-mirage.com/
@IvoSlanina
@IvoSlanina 3 жыл бұрын
@@ShawnCTech looks promising. Thank you 🙂
@HAL29209
@HAL29209 3 жыл бұрын
At 1:59 did he say "Asynchronized" function ?!?!
@lings628
@lings628 Жыл бұрын
Yes
@sandeepmandal9998
@sandeepmandal9998 3 жыл бұрын
why are we overwritting buildURL function?
@ShawnCTech
@ShawnCTech 3 жыл бұрын
See 06:04, because it can help us to add .json automatically for all the api calls
@sandeepmandal9998
@sandeepmandal9998 3 жыл бұрын
@@ShawnCTech ok got it❤️
ПРИКОЛЫ НАД БРАТОМ #shorts
00:23
Паша Осадчий
Рет қаралды 5 МЛН
Customize Your Ember.js Adapters and Serializers using Ember Data
21:47
Program With Erik
Рет қаралды 4,9 М.
Ranking The Most Popular Javascript Frameworks 2023
24:43
developedbyed
Рет қаралды 156 М.
How To Use Ember Data and Ember Models
11:45
Program With Erik
Рет қаралды 11 М.
Ember.js: The Documentary
25:21
Honeypot
Рет қаралды 127 М.
Ember.js tutorial for beginners #08 Services (2022)
8:24
Shawn C
Рет қаралды 9 М.
Ember.js tutorial for beginners #04 Component Part 1 (2022)
10:02
The Story of Next.js
12:13
uidotdev
Рет қаралды 576 М.
Ember.js Fundamentals
14:54
Kyle Robinson Young
Рет қаралды 33 М.