N Tier Architecture Tutorial - Software Design

Поделиться
HTML-код
  • Опубликовано: 8 июн 2024
  • In this video, we'll explore n-tier architecture, a powerful software design pattern used to build scalable, modular, and maintainable applications.
    N-tier architecture divides an application into three logical layers: the presentation layer, the business layer, and the data layer.
    The presentation layer handles the user interface and interactions, while the business layer implements the application's logic and processes, and the data layer stores and retrieves data. By separating these layers, we can create a flexible and modular system that's easier to develop, test, and maintain.
    In this video, we'll cover:
    ➡️ The benefits of n-tier architecture, including scalability, modularity, and maintainability
    ➡️ The three layers of n-tier architecture, including their roles and responsibilities
    ➡️ How n-tier architecture is used in real-world applications
    Tips for designing and implementing n-tier architecture effectively
    ➡️ How to test each layer
    Whether you're a software developer, architect, or just curious about how software works, this video will provide a clear and concise explanation of n-tier architecture and how it can help you build better software.
    Don't forget to subscribe to our channel for more videos on software development, architecture, and best practices!
    🔥 Join the waiting list here: 🔗 waiting-list.amigoscode.com
    Don't Forget to
    ===========================================
    💯 Subscribe to Amigoscode - bit.ly/2HpF5V8
    💯 Courses Available for free here - amigoscode.com/courses
    💯 Join Private Facebook Group and Discord - amigoscode.com/p/join-community
    ⭐ Table Of Contents ⭐
    ===========================================
    00:00 - Intro
    01:12 - Full Stack Course
    02:31 - N Tier
    03:33 - Presentation Layer
    04:34 - Business Layer
    05:56 - Data Layer
    06:56; - The Benefits
    08:43 - Example
    19:28 - Outro
    🙊 Here are the goods for all my videos video 🙊
    ► Recommended Books
    ===========================================
    - Clean Code - amzn.to/2UGDPlX
    - HTTP: The Definitive Guide - amzn.to/2JDVi8s
    - Clean Architecture - amzn.to/2xOBNXW
    ► Computer and Monitor
    ===========================================
    - New Apple MacBook Pro - amzn.to/3464Mmn
    - Dell 27 INCH Ultrasharp U2719D Monitor - amzn.to/2xM3nW1
    - Double Arm Stand Desk Mount - amzn.to/3aYKKfs
    - USB C Hub Multiport Adapter - amzn.to/2Jz7NlL
    ► Camera Gear
    =============================================
    - Sony ILCE7M3B Full Frame Mirrorless Camera - amzn.to/346QIJn
    - Sigma 16 mm F1.4 DC DN - amzn.to/2wbic3Q
    - Sigma 33B965 30 mm F1.4 DC DC - amzn.to/39G37Fd
    ► IDE & Tools I use for coding 💻 🎒
    ===========================================
    - ITerm
    - VsCode
    - GoLand
    - IntelliJ Ultimate
    - Sublime
    P.S
    ===========================================
    💯 Don't forget to subscribe | bit.ly/2HpF5V8
    💯 Join Private Facebook Group and Discord - amigoscode.com/p/join-community
    💯 Follow me on Instagram | bit.ly/2TSkA9w
    ❤️ Thanks for watching
  • НаукаНаука

Комментарии • 50

  • @amigoscode
    @amigoscode  Год назад +3

    Join waiting list here folks - waiting-list.amigoscode.com/

    • @_mounir
      @_mounir Год назад +2

      Hi
      Please we need tutorial about Servlet, JSP, JDBC, Tomcat, and the basics Java EE architecture, most suffer from the basics.

    • @tranhuudan6403
      @tranhuudan6403 Год назад +1

      when start sell ?

    • @zakariabedjaoui8645
      @zakariabedjaoui8645 Год назад

      salam alikum i missed vlogs so much

    • @daniel_paez
      @daniel_paez Год назад

      Hi Nelson, When you release the course PROFESSIONAL Full Stack Developer?, I need it

  • @haltsmaul.
    @haltsmaul. Год назад +10

    Good job shedding some light onto what the different layers of an application do and how they work together.
    I think understanding the big picture is crucial to understanding some of your other, more in-depth videos.
    A video on the DAO pattern would be much appreciated.

  • @lxdzii
    @lxdzii Год назад +4

    beautiful stuff!!.. A database design/data model course would be nice to compliment this section of the course to consolidate everything, specifically how the data will be when it is stored in the database

  • @BetulKaplan
    @BetulKaplan 3 месяца назад

    Such a clear and extensive explanation, thank you!

  • @pmig81
    @pmig81 Год назад +1

    Hi Nelson. Great video. Looking forward for the course release. Regarding databases, I would love to see examples of stored procedures, transactions, and triggers and when is useful to use them. Also, any input about how we can check how performant is the application regarding database operations, identifying botlenecks etc would be very useful.

  • @juanbarman
    @juanbarman 2 месяца назад

    well done mate !! very solid !

  • @boazkips
    @boazkips Год назад

    Always the Best tutor of all time, I have been following your content and I love it...I'm still a junior developer wishing to be like you in future

  • @Salehalanazi-7
    @Salehalanazi-7 Год назад

    Great Job, No one could've made it better!

  • @_mounir
    @_mounir Год назад +19

    Please we need tutorial about Servlet, JSP, JDBC, Tomcat, and the basics Java EE architecture, most suffer from the basics.

    • @IvanRandomDude
      @IvanRandomDude Год назад +8

      JSP? It's not 2000

    • @_mounir
      @_mounir Год назад

      ​@Ivan
      Hi, you should know it if you want to get Java EE 7 Application Developer Certification from Oracle

    • @aaqibhamdule73
      @aaqibhamdule73 Год назад +1

      no use of learning servlet jsp and jdbc , i learnt that in 2010 and it was outdated that time itself

    • @belina65
      @belina65 Год назад

      isn’t java EE deprecated?

  • @felipefigueira9689
    @felipefigueira9689 8 месяцев назад +2

    TLDR: The key idea of the video is that N Tier architecture separates code into layers for scalable, reusable, and secure software, and the speaker emphasizes the importance of testing and announces a full stack development course.
    1. 🏢 N Tier architecture separates code into layers for scalable, reusable, and secure software; the speaker emphasizes testing and announces a full stack development course covering back-end, front-end, testing, and typescript.
    2. 📚 The presentation layer receives requests from clients and passes them to the business layer, which performs business logic, and then to the data layer, which interacts with data sources, with the API producing data in formats like JSON or XML and exposing endpoints for various HTTP methods.
    3. 📝 The business layer validates input data and communicates between multiple classes, while the data layer allows for easy changes between different data sources by implementing an interface.
    4. 🏢 The N Tier Architecture separates concerns into different layers, with the presentation layer handling requests, the business layer performing logic and validation, and the data layer being tested with unit tests on database queries.
    5. 📝 The speaker demonstrates the functionality of a deployed application within AWS, showcasing features such as login validation, customer management, and email uniqueness validation.
    6. 📚 The video explains how to connect different layers of an N Tier architecture using dependency injection, with the service class handling business logic and connecting to the Dao, while also discussing the importance of testing.
    7. 📝 Unit testing code with a real database like PostgreSQL is important, but avoid duplicating tests already done in the Dao; integration tests are needed to test the entire application's HTTP functionality.
    8. 👉 The video covers setting up data source and migrations, starting Tomcat on a random port, and promoting a course that teaches various aspects of software development.

  • @TheCesarGarciaITPro
    @TheCesarGarciaITPro Год назад

    Would love a course on Java EE 10. Looks like many changes on JSF on EE 10, but would also like to see the other features, such as JNDI, JMS, and REST. Thanks for the video and signed up as well for waiting list. Great work!

  • @javierdetena8830
    @javierdetena8830 Год назад +3

    Hi Nelson! Could you make a video about hexagonal architecture? Thanks for your amazing job

  • @IsmailAdebiyi
    @IsmailAdebiyi Год назад

    Walaikum salam waramotulahi wabarakatu bro, i really love the way you always simplify your designs .. Jazakumllahu khairan

  • @felipefigueira9689
    @felipefigueira9689 8 месяцев назад +2

    Key insights
    🏗 The N Tier architecture is used in the industry for building scalable, reusable, and secure enterprise applications.
    💡 N-tier architecture separates the application into distinct layers, including the presentation layer, business layer, and data layer, allowing for better organization and scalability.
    💡 Using the Data Access Object (DAO) pattern allows for easy switching between different data sources, such as PostgreSQL and MySQL, by simply changing the implementation.
    💡 The N Tier Architecture promotes the idea of separation of concerns, where each layer focuses on a specific task and performs it well.
    🏢 The N Tier Architecture allows for flexibility in choosing different implementations without breaking anything.
    🏭 Integration tests involve spinning up the entire application, including the database, to ensure accurate testing against the running application.

  • @samiali5833
    @samiali5833 Год назад

    Great job

  • @oumardicko5593
    @oumardicko5593 Год назад

    Nice video. I would like to add one more thing.
    If you start a new project, go without any architecture and when things start to get messy, the look what goes together and boom you have something

  • @myworldletsplay
    @myworldletsplay Год назад

    i love your videos, very easy to understand, could u please cover the topic of hexagonal architecture ?

  • @maulkunnn
    @maulkunnn Год назад

    Nice bro.

  • @eduardovieira9902
    @eduardovieira9902 Год назад +1

    Hello Nelson! First of all, congratulations on your excellent work!
    I have two questions...
    To run the N Tier Architecture can I build my project instead of using packages within the same module, can I build through modules?
    Second question, in what situations does the service layer also appear? i.e. separate it from the business layer
    Thank you!

  • @georgepro8481
    @georgepro8481 Год назад

    Hi, Nelson! It seems to me that it will be better to push all the java classes into an appropriate packages (controller, repository, etc ...). It will be more obvious to explain. In this case we can also use ArchUnit to test the project architecture.

  • @bolovy6093
    @bolovy6093 Год назад

    Assalamou Aleykoum bro, thank you for a very high-quality content💪🏻 Could you make a crash course of Hibernate please

  • @lxdzii
    @lxdzii Год назад +1

    hey Nelson, you kind of went quick when going thru the DAO layer... do you use Hibernate anywhere in the connecting layer or everything is built from scratch? a bit confused on the implementation when try to think about
    can anyone answer this please

  • @140times
    @140times Год назад +1

    I have the assumption that with those 3 layers you focus on, you basically describe the "Layer-Architecture". It confused me when I saw the "N-Tier-Architecture" because I was wondering how does it differ from the layered. After googling, I think you basically described the layered architecture instead of the tiered. The tiered architecture is the hardware abstraction and the layered is more the way how you structure your code, which is what you described. Would be happy to get feedback on this assumption since I am still a bit unsure what the differentiation is. Cheers!

  • @sardorbekyorqulov
    @sardorbekyorqulov Год назад

    Hello there ! it would be great if you could also teach about spring security privileges and roles !

  • @danimusbar
    @danimusbar Год назад

    Awesome Sir,
    Btw please make fresh tutorial about Postgresql 15.1 for beginner to pro

  • @techme6053
    @techme6053 Год назад

    U r best . Pls provide notes too

  • @brijeshkanchan9776
    @brijeshkanchan9776 Год назад +1

    Thank You Nelson. Love from India🙏
    Please give some discount for indian user, as we cannot afford.

  • @enriquemarin5122
    @enriquemarin5122 Год назад

    hey man big fan here xD... can you a video about Oauth2 plz !!!

  • @pawel80
    @pawel80 Год назад

    What about calculations? My app calculates factors based on user input, API output, and database data. Should I place all the calculations in the service layer, or would it be better to create separate component classes for this purpose?

  • @centfox
    @centfox Год назад

    Hi Nelson, can you make a video on hexagonal architecture? (port-adaptor + DDD)

  • @eugenendjaka342
    @eugenendjaka342 Год назад

    Please Make a content of Thread in Java, and show us how you, can use it in web applications.

  • @onore9264
    @onore9264 Год назад

    Can you share github repo of the sample code you had walked though in the video? Thanks for this great content

  • @rajab1365
    @rajab1365 Год назад

    Bro what math software engineering of must learn?

  • @lts8683
    @lts8683 Год назад

    Can you talk about soft delete

  • @erythsea
    @erythsea 4 месяца назад

    Walaikum Assalam

  • @Im_not_scareddd
    @Im_not_scareddd Год назад

    Hey bro could you please record a video on "how to draw the software architecture " using any tool.

  • @jopadjr
    @jopadjr Год назад

    263rd...Thanks

  • @luongtrongvinh9457
    @luongtrongvinh9457 Год назад

    We need project including the course

  • @cashlion6988
    @cashlion6988 Год назад

    Hey man. Do you need a video editor?

  • @heyprotagonist
    @heyprotagonist Месяц назад

    Bruh...