TutorMe homepage
Subjects
PRICING
COURSES
SIGN IN
Start Free Trial
Bibek K.
Associate in Cognizant Tech Solutions
Tutor Satisfaction Guarantee
Web Development
TutorMe
Question:

What Is Better for Web Development, React or Angular?

Bibek K.
Answer:

It is considered in IT world that customers can completely rely on their technology partners to get their products successfully delivered but probably they have never tried to conduct their own research on the stacks, technologies, or tools required for their projects. In this article, you will learn what is the difference between React and Angular and how to make your own choice. If you'd prefer good libraries rather than some comprehensive framework, then, feel free to use React + Redux. In addition, you should be realistic about your team and organization, not only at the initial development stage but also while taking into account the long-term support of the application.

HTML5 Programming
TutorMe
Question:

What are new features introduced in HTML5?

Bibek K.
Answer:

Simplified and clear syntax <!DOCTYPE html> New elements section represents a generic document or application section. It can be used together with the h1, h2, h3, h4, h5, and h6 elements to indicate the document structure. article represents an independent piece of content of a document, such as a blog entry or newspaper article. aside represents a piece of content that is only slightly related to the rest of the page. hgroup represents the header of a section. header represents a group of introductory or navigational aids. footer represents a footer for a section and can contain information about the author, copyright information, etc. nav represents a section of the document intended for navigation. figure represents a piece of self-contained flow content, typically referenced as a single unit from the main flow of the document. video and audio for multimedia content. Both provide an API so application authors can script their own user interface, but there is also a way to trigger a user interface provided by the user agent. Source elements are used together with these elements if there are multiple streams available of different types. embed is used for plugin content. mark represents a run of text in one document marked or highlighted for reference purposes, due to its relevance in another context. progress represents a completion of a task, such as downloading or when performing a series of expensive operations. meter represents a measurement, such as disk usage. time represents a date and/or time. canvas is used for rendering dynamic bitmap graphics on the fly, such as graphs or games.

C Sharp Programming
TutorMe
Question:

SOLID principles and why we should follow them while do coding.

Bibek K.
Answer:

It is five OOP principles, the first letter of each spelling out SOLID: Single Responsibility, Open/Closed, Liskov Substitution, Interface Segregation, and Dependency Inversion. by understanding SOLID and using it properly your software can be green, lush, and growing. S Single Responsibility Principle (SRP) – A class should have only one reason to be changed. O Open-Closed Principle (OCP) – A class should be open to extension but closed to modification L Liskov Substitution Principle (LSP) – You should be able to replace a class with a subclass without the calling code knowing about the change I Interface Segregation Principle (ISP) – Many specific interfaces are better than a single, all-encompassing interface D Dependency Inversion Principle (DIP) – Code should depend upon abstractions, not concrete implementations Dependency Inversion Principle When you instantiate the class, you pass in an instance of the class you want to use through Constructor Injection. The following code shows how to do this. public interface ILogger { void WriteLog(string message); } public class DatabaseLogger : ILogger { public void WriteLog(string message) { // Format message // Build parameter // Open connection // Send command // Close connection } } public class TextFileLogger : ILogger { public void WriteLog(string message) { // Format message // Open text file // Write message // Close text file } } public class Main { public Main() { var processor = new Processor(new TextFileLogger()); } } public class Processor { private readonly ILogger _logger; public Processor(ILogger logger) { _logger = logger; } public void RunProcessing() { try { // Do the processing } catch (Exception ex) { _logger.WriteLog(ex.Message); } } } At the top, the interface is defined followed by two classes, DatabaseLogger and TextFile logger that implement the interface. In the Main class, an instance of the TextFileLogger is created and passed to the constructor of the Processor class. This is Dependency Injection. The Processor class depends on an instance of ILogger and instead of creating it every time, the instance is injected into the constructor. This also loosely couples the specific logger instance from the Processor class. The instance of the logger is then used inside the Try/Catch block. If you want to change the logger type, all you need to do is change the calling program so that you instantiate DatabaseLogger and send it instead.

Send a message explaining your
needs and Bibek will reply soon.
Contact Bibek
Ready now? Request a lesson.
Start Session
FAQs
What is a lesson?
A lesson is virtual lesson space on our platform where you and a tutor can communicate. You'll have the option to communicate using video/audio as well as text chat. You can also upload documents, edit papers in real time and use our cutting-edge virtual whiteboard.
How do I begin a lesson?
If the tutor is currently online, you can click the "Start Session" button above. If they are offline, you can always send them a message to schedule a lesson.
Who are TutorMe tutors?
Many of our tutors are current college students or recent graduates of top-tier universities like MIT, Harvard and USC. TutorMe has thousands of top-quality tutors available to work with you.