Ive been watching your video for over a year now... and i will in the future
@programingtales7514 Жыл бұрын
One of the best content ever on KZbin! You are very good in that... thank you very much Mr Dave.
@0xtz_ Жыл бұрын
Was waiting for this 👏🔥
@austinevick Жыл бұрын
This is exactly what I needed in my project. I really appreciate your great style of teaching. Kindly add mongodb for data persistence. Thank you Dave
@kelvinoritsetimeyin81197 ай бұрын
You are done with your project now?
@9dwd Жыл бұрын
ur the best thanks for the consistency, quality and precision in your work
@TSpods Жыл бұрын
Thank you very much for the video, perfectly explained as always, I'm already waiting for the next one 😄
@romylloydcruz32444 ай бұрын
Hi Dave, I have a question. How do we fully encrypt end to end chat app to secure the messages?
@tetyanagon3342 Жыл бұрын
TY, Dave! You are my guru!
@KrunalKRG02129 ай бұрын
Awesome playlist
@ahmadshabaz2724 Жыл бұрын
Sir i watched your vedio html to node.js
@yw3546 Жыл бұрын
Hi Dave, have you heard of N + 1 problem when writing a query? Someone asked me about it but I couldn’t answer. It hit me pretty hard because I realize that there might be lots of such problems that I did not pay attention to, but they’re actually important. It’ll be awesome if you could have a series discussing this kind of knowledge/skills/things to avoid on your way towards senior level?
@nagame859 Жыл бұрын
Hi there! The N+1 problem is a common issue that can occur when fetching data from a database, particularly in the context of Object-Relational Mapping (ORM) tools like Hibernate, SQLAlchemy, or others. Let me explain with a simple example: Imagine you have two related entities: Author and Book, where each author can have multiple books. Now, you want to fetch all authors and their books.N+1 Problem Example:You query the database to fetch all authors.Then, for each author, you query the database again to fetch their books. In this scenario, if you have N authors, you end up executing N+1 queries to the database, where the extra 1 query is for fetching authors. This can lead to a significant performance overhead, especially when dealing with a large number of authors.Solution - Eager Loading:To solve the N+1 problem, you can use eager loading. Eager loading allows you to fetch the related data (books in this case) along with the main query in a single query, reducing the number of database queries. In most ORM frameworks, you would specify eager loading in your query to fetch authors and their associated books in one go.Here's a simple example using SQLAlchemy in Python:from sqlalchemy.orm import joinedload # Fetch authors and their books with eager loading authors = session.query(Author).options(joinedload(Author.books)).all()By using eager loading, you optimize the query and avoid the N+1 problem by minimizing the number of database queries. internally, eager loading uses techniques like JOINS. this is from ChatGPT. I hope you get it.
@shineLouisShine10 ай бұрын
Cool.. Thank you :)
@MalachiDraven9 ай бұрын
If I wanted to use SocketIO on a standalone backend server, would I still use Express? Or is Express just for serving the index.html webpage coupled with the NodeJS/Socketio stuff?
@DaveGrayTeachesCode9 ай бұрын
You could have a separate frontend. Express would not need to serve the html. For example, a React app or another framework on the front and your Node.js server on the back.
@saeedkhazalvand4821 Жыл бұрын
Hello Dave, I have a question : I learned markup , css framework (tailwind,bootstrap) , github , js , ES6 , React Library and Redux toolkit .. but does it need learn Typescript or ECMA .. in advance I forgot to appreciate you for your gold package of react, redux and ... I don know how can be graefull of you .❤❤
@DaveGrayTeachesCode Жыл бұрын
Learning TypeScript is a good idea because it has become an industry expectation.
@Dreamer4777 Жыл бұрын
Thanks a lot
@swananddhere74666 күн бұрын
hey for someone who is reading this can someone help me i am listining to server at port 3500 but when i am opening my html file in browser it is opening at port 3000 or 3001 idk why it is happening
@tanaphatlochanat5955 Жыл бұрын
can I ask, what is vs code theme you use
@VinayakSoni98 Жыл бұрын
Lets code together ❤
@alexanaderemeka3954 Жыл бұрын
anyone else getting cors error?
@Infinite_Null Жыл бұрын
Just add cors true in Server()
@zunnoorainrafi5985 Жыл бұрын
0:49 what is the difference between a library and a framework?
@rishadali2866 Жыл бұрын
Library is like a collection of code while framework is like a collection of Library like react is a library while jextjd, is a frameo
@ahmad-murery Жыл бұрын
A library is collection of functionalities you can connect to from your code and use it as needed, A frameworks is a higher level code that dictates how your code should be written, so, in short words, you code inside the framework and you collaborate with libraries to achieve your goal. This may not be totally right, but just to make it more digestible.
@zunnoorainrafi5985 Жыл бұрын
Okay thanks
@Suto_Ko Жыл бұрын
A library is a collection of pre-written code that provides specific functionality, which you can use in your own code. A framework, on the other hand, is a more comprehensive set of tools and libraries that provides a structure for building applications. While you use a library, you typically write the flow of control in your code. In contrast, with a framework, the flow of control is often dictated by the framework itself.