<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Php Archives - scmGalaxy</title>
	<atom:link href="https://www.scmgalaxy.com/tutorials/tag/php/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.scmgalaxy.com/tutorials/tag/php/</link>
	<description>A Platform for Software Engineers</description>
	<lastBuildDate>Sat, 21 Feb 2026 07:13:52 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=7.1</generator>
	<item>
		<title>Zend Framework: A Comprehensive Guide to Architecture, Use Cases, and Getting Started</title>
		<link>https://www.scmgalaxy.com/tutorials/zend-framework-a-comprehensive-guide-to-architecture-use-cases-and-getting-started/</link>
					<comments>https://www.scmgalaxy.com/tutorials/zend-framework-a-comprehensive-guide-to-architecture-use-cases-and-getting-started/#respond</comments>
		
		<dc:creator><![CDATA[Vijay K]]></dc:creator>
		<pubDate>Sat, 21 Jun 2025 12:36:00 +0000</pubDate>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[Framework]]></category>
		<category><![CDATA[mvc]]></category>
		<category><![CDATA[Php]]></category>
		<category><![CDATA[PHPFramework]]></category>
		<category><![CDATA[TechGuide]]></category>
		<category><![CDATA[WebDevelopment]]></category>
		<category><![CDATA[Zend]]></category>
		<category><![CDATA[ZendFramework]]></category>
		<guid isPermaLink="false">https://www.scmgalaxy.com/tutorials/?p=12926</guid>

					<description><![CDATA[<p>What is Zend Framework? Zend Framework is an open-source web application framework written in PHP. Initially developed by Zend Technologies, [&#8230;]</p>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/zend-framework-a-comprehensive-guide-to-architecture-use-cases-and-getting-started/">Zend Framework: A Comprehensive Guide to Architecture, Use Cases, and Getting Started</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></description>
										<content:encoded><![CDATA[
<figure class="wp-block-image size-full"><img fetchpriority="high" decoding="async" width="1024" height="576" src="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2025/06/image-176.png" alt="" class="wp-image-12930" srcset="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2025/06/image-176.png 1024w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2025/06/image-176-300x169.png 300w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2025/06/image-176-768x432.png 768w" sizes="(max-width: 1024px) 100vw, 1024px" /></figure>



<hr class="wp-block-separator has-alpha-channel-opacity">



<h3 class="wp-block-heading">What is Zend Framework?</h3>



<p class="wp-block-paragraph"><strong>Zend Framework</strong> is an open-source web application framework written in <strong>PHP</strong>. Initially developed by Zend Technologies, Zend Framework is known for its flexibility, scalability, and robustness. It follows the <strong>Model-View-Controller (MVC)</strong> design pattern, making it an ideal choice for building complex web applications. Zend Framework is widely used by developers to create secure, scalable, and maintainable applications, thanks to its <strong>component-based architecture</strong> that allows developers to pick only the features they need.</p>



<p class="wp-block-paragraph">Zend Framework can be used in a wide variety of web development applications, from enterprise-level solutions to smaller personal websites. The <strong>Zend Framework 3</strong>, the latest version, emphasizes performance and flexibility, supporting all versions of PHP from PHP 5.6 to PHP 7.4.</p>



<p class="wp-block-paragraph">Some of the key highlights of Zend Framework include:</p>



<ul class="wp-block-list">
<li><strong>Component-based architecture</strong>: Each feature of the framework is separated into standalone components, which can be used independently or combined based on project needs.</li>



<li><strong>MVC design pattern</strong>: A structured approach to organizing code by separating concerns (model, view, and controller).</li>



<li><strong>Extensive documentation</strong>: Provides detailed documentation and tutorials for developers, ensuring that setting up and using Zend Framework is as easy as possible.</li>



<li><strong>Robust performance and scalability</strong>: Zend Framework is designed for high-performance applications, and it provides tools and configurations for optimizing large-scale applications.</li>



<li><strong>Security</strong>: Zend Framework offers robust features for handling authentication, authorization, and input validation to ensure the integrity and security of web applications.</li>
</ul>



<hr class="wp-block-separator has-alpha-channel-opacity">



<h3 class="wp-block-heading">What are the Major Use Cases of Zend Framework?</h3>



<p class="wp-block-paragraph">Zend Framework’s flexibility, scalability, and modularity make it ideal for a wide variety of use cases. Some of the key use cases of Zend Framework include:</p>



<h4 class="wp-block-heading">1. <strong>Enterprise-Level Applications</strong></h4>



<ul class="wp-block-list">
<li>Zend Framework is used extensively for <strong>enterprise-level applications</strong> due to its ability to handle complex business logic and large-scale data operations. It supports scalability and modularity, which is essential when building large and enterprise-level solutions that require high availability, performance, and security.</li>



<li>Example: <strong>Customer Relationship Management (CRM)</strong> systems, <strong>Enterprise Resource Planning (ERP)</strong> systems, and custom <strong>enterprise solutions</strong> for large organizations.</li>
</ul>



<h4 class="wp-block-heading">2. <strong>Content Management Systems (CMS)</strong></h4>



<ul class="wp-block-list">
<li>Zend Framework can be used to build <strong>custom content management systems (CMS)</strong> where users need to create, edit, and manage content on their websites. With its powerful <strong>database management</strong> and <strong>security features</strong>, Zend Framework is well-suited to manage content for websites, blogs, and e-commerce platforms.</li>



<li>Example: Building custom CMS solutions for specific business needs or internal content management systems.</li>
</ul>



<h4 class="wp-block-heading">3. <strong>Building RESTful APIs</strong></h4>



<ul class="wp-block-list">
<li><strong>RESTful APIs</strong> are critical for modern web applications, and Zend Framework has built-in tools to develop and manage APIs. It provides powerful routing features, flexible controllers, and support for handling JSON and XML, making it ideal for creating secure, high-performance APIs.</li>



<li>Example: <strong>APIs</strong> for mobile applications, third-party integrations, or microservices architecture.</li>
</ul>



<h4 class="wp-block-heading">4. <strong>E-Commerce Websites</strong></h4>



<ul class="wp-block-list">
<li>Zend Framework can be extended to build powerful e-commerce platforms with features such as product catalogs, shopping carts, order processing, and payment gateway integration. Its <strong>modular approach</strong> enables developers to pick the right components for the specific needs of an e-commerce site.</li>



<li>Example: <strong>Custom e-commerce platforms</strong> that require specific business logic, payment integrations, and inventory management.</li>
</ul>



<h4 class="wp-block-heading">5. <strong>Social Networking Websites</strong></h4>



<ul class="wp-block-list">
<li>Zend Framework can be used to develop <strong>social networking platforms</strong> where users can interact, share content, and manage their profiles. By utilizing Zend Framework’s built-in components, developers can focus on creating the user interface and features that make the social network unique.</li>



<li>Example: A <strong>custom social network</strong> tailored to a specific industry or niche.</li>
</ul>



<h4 class="wp-block-heading">6. <strong>Real-Time Applications</strong></h4>



<ul class="wp-block-list">
<li>For real-time applications such as <strong>chat applications</strong> or <strong>collaboration tools</strong>, Zend Framework’s <strong>WebSocket</strong> support and asynchronous features make it a viable choice. The framework provides excellent tools for handling real-time communication between users.</li>



<li>Example: <strong>Live chat applications</strong>, <strong>real-time collaborative platforms</strong> like Google Docs, or <strong>real-time data analytics dashboards</strong>.</li>
</ul>



<h4 class="wp-block-heading">7. <strong>Business Intelligence and Data Analytics Platforms</strong></h4>



<ul class="wp-block-list">
<li>Zend Framework can be utilized for developing <strong>business intelligence (BI)</strong> solutions that require data manipulation, reporting, and dashboards. Its robust database handling and ability to scale make it ideal for applications that need to process and visualize large datasets.</li>



<li>Example: <strong>BI tools</strong> for sales forecasting, financial analysis, and user engagement metrics.</li>
</ul>



<hr class="wp-block-separator has-alpha-channel-opacity">



<h3 class="wp-block-heading">How Zend Framework Works Along with Architecture?</h3>



<figure class="wp-block-image size-full is-resized"><img decoding="async" width="779" height="569" src="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2025/06/image-177.png" alt="" class="wp-image-12931" style="width:797px;height:auto" srcset="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2025/06/image-177.png 779w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2025/06/image-177-300x219.png 300w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2025/06/image-177-768x561.png 768w" sizes="(max-width: 779px) 100vw, 779px" /></figure>



<p class="wp-block-paragraph">Zend Framework is based on a <strong>component-based architecture</strong>, meaning each feature of the framework is a separate, reusable component that can be independently used. This modular design makes it easier for developers to customize their application by choosing only the components they need, enhancing both flexibility and performance.</p>



<h4 class="wp-block-heading">1. <strong>MVC Architecture</strong></h4>



<ul class="wp-block-list">
<li>Zend Framework follows the <strong>Model-View-Controller (MVC)</strong> design pattern, which divides the application into three layers:
<ul class="wp-block-list">
<li><strong>Model</strong>: Represents the data layer, responsible for data manipulation and interaction with the database.</li>



<li><strong>View</strong>: Handles the presentation layer and outputs the user interface. It takes data from the model and formats it for the user.</li>



<li><strong>Controller</strong>: Acts as an intermediary between the model and view, receiving input from the user, calling the necessary model methods, and selecting the appropriate view.</li>
</ul>
</li>



<li>MVC ensures that the application’s business logic, user interface, and data storage are separated, making it easier to maintain and scale applications.</li>
</ul>



<h4 class="wp-block-heading">2. <strong>Zend Framework Components</strong></h4>



<ul class="wp-block-list">
<li><strong>Zend_Controller</strong>: Manages routing and dispatching, determining which controller and action to call based on the user&#8217;s request.</li>



<li><strong>Zend_Db</strong>: Provides a powerful abstraction layer for database access. It supports multiple databases and simplifies querying and transaction handling.</li>



<li><strong>Zend_Auth</strong>: Handles user authentication and authorization, including login/logout functionality, user sessions, and access control.</li>



<li><strong>Zend_Form</strong>: Simplifies form creation and validation. It allows developers to quickly create and validate HTML forms, reducing the need for custom validation logic.</li>



<li><strong>Zend_Mail</strong>: A component to handle email sending and receiving functionality within your application, with support for SMTP and MIME.</li>
</ul>



<h4 class="wp-block-heading">3. <strong>Request Handling and Routing</strong></h4>



<ul class="wp-block-list">
<li>When a request is made, Zend Framework routes the request to the appropriate controller and action using the <strong>Zend_Controller_Front</strong> component. The router checks the URL and matches it with routes defined in the application. The controller processes the request, interacts with the model, and returns a response.</li>
</ul>



<h4 class="wp-block-heading">4. <strong>Database Handling</strong></h4>



<ul class="wp-block-list">
<li>Zend Framework uses <strong>Zend_Db</strong> for seamless interaction with databases. It provides an abstraction layer that allows developers to interact with databases using SQL queries, and it supports multiple database systems (e.g., MySQL, PostgreSQL).</li>



<li>The <strong>Zend_Db_Table</strong> class makes it easy to interact with tables, providing an object-oriented way to manipulate database rows.</li>
</ul>



<h4 class="wp-block-heading">5. <strong>View Rendering</strong></h4>



<ul class="wp-block-list">
<li>The view layer is responsible for presenting the final output to the user. It uses <strong>Zend_View</strong> to generate HTML or other content formats. Views are typically associated with specific controllers and actions, and they can be extended with custom templates.</li>
</ul>



<hr class="wp-block-separator has-alpha-channel-opacity">



<h3 class="wp-block-heading">What Are the Basic Workflows of Zend Framework?</h3>



<p class="wp-block-paragraph">Here’s a breakdown of the basic workflow in Zend Framework:</p>



<ol class="wp-block-list">
<li><strong>Request Handling</strong>
<ul class="wp-block-list">
<li>The application receives an HTTP request from the user, and Zend Framework’s <strong>router</strong> maps this request to the appropriate controller and action.</li>



<li>Example: A user requests the URL <code>https://www.example.com/products/view/123</code>, which maps to the <code>ProductsController</code> and the <code>viewAction</code>.</li>
</ul>
</li>



<li><strong>Controller Logic</strong>
<ul class="wp-block-list">
<li>The controller processes the request and interacts with the model (database) to retrieve or manipulate data.</li>



<li>Example: The <code>ProductsController</code> fetches product details using <strong>Zend_Db</strong> and prepares the data for display.</li>
</ul>
</li>



<li><strong>View Rendering</strong>
<ul class="wp-block-list">
<li>The controller passes data to the view, which is responsible for rendering the HTML output for the user.</li>



<li>Example: The view associated with <code>viewAction</code> renders a detailed product page using data from the model.</li>
</ul>
</li>



<li><strong>Response to User</strong>
<ul class="wp-block-list">
<li>The final rendered output is sent back to the user, completing the request-response cycle.</li>
</ul>
</li>
</ol>



<hr class="wp-block-separator has-alpha-channel-opacity">



<h3 class="wp-block-heading">Step-by-Step Getting Started Guide for Zend Framework</h3>



<p class="wp-block-paragraph">Here’s a step-by-step guide to getting started with <strong>Zend Framework</strong>:</p>



<h4 class="wp-block-heading">Step 1: Install Zend Framework</h4>



<ul class="wp-block-list">
<li>Install <strong>Zend Framework</strong> via <strong>Composer</strong>, which is the recommended method: </li>
</ul>



<pre class="wp-block-code"><code>composer require zendframework/zendframework
</code></pre>



<ul class="wp-block-list">
<li>Alternatively, you can download the <strong>Zend Framework Skeleton Application</strong> from GitHub for a quick start.</li>
</ul>



<h4 class="wp-block-heading">Step 2: Set Up a New Project</h4>



<ul class="wp-block-list">
<li>After installing Zend Framework, create a new <strong>Zend Skeleton Application</strong> to get started: </li>
</ul>



<pre class="wp-block-code"><code>composer create-project zendframework/skeleton-application my-project
cd my-project
php -S 0.0.0.0:8080 -t public/
</code></pre>



<ul class="wp-block-list">
<li>This sets up a basic project with routing, controllers, and a default view.</li>
</ul>



<h4 class="wp-block-heading">Step 3: Configure Database Connection</h4>



<ul class="wp-block-list">
<li>Configure the database settings in <code>config/autoload/global.php</code>: </li>
</ul>



<pre class="wp-block-code"><code>'db' =&gt; [
    'driver' =&gt; 'Pdo_Mysql',
    'hostname' =&gt; 'localhost',
    'database' =&gt; 'my_database',
    'username' =&gt; 'root',
    'password' =&gt; '',
]
</code></pre>



<h4 class="wp-block-heading">Step 4: Create a Controller</h4>



<ul class="wp-block-list">
<li>Create a new controller under the <code>module/Application/src/Controller</code> directory: </li>
</ul>



<pre class="wp-block-code"><code>class ProductsController extends AbstractActionController {
    public function indexAction() {
        // Fetch products from the database
    }
}
</code></pre>



<h4 class="wp-block-heading">Step 5: Create Views</h4>



<ul class="wp-block-list">
<li>Create views for the controller actions in <code>module/Application/view/application/products/index.phtml</code>.</li>
</ul>



<h4 class="wp-block-heading">Step 6: Handle Forms and Validation</h4>



<ul class="wp-block-list">
<li>Use <strong>Zend_Form</strong> to handle form creation, validation, and submission: </li>
</ul>



<pre class="wp-block-code"><code>$form = new ProductForm();
if ($this-&gt;getRequest()-&gt;isPost() &amp;&amp; $form-&gt;isValid($this-&gt;params()-&gt;fromPost())) {
    // Process the form data
}
</code></pre>



<h4 class="wp-block-heading">Step 7: Implement Authentication and Security</h4>



<ul class="wp-block-list">
<li>Set up authentication using <strong>Zend_Auth</strong> for managing user login and registration functionality.</li>



<li>Use <strong>ACL (Access Control List)</strong> for controlling access based on user roles.</li>
</ul>



<h4 class="wp-block-heading">Step 8: Deploy and Test</h4>



<ul class="wp-block-list">
<li>Test the application locally, make necessary optimizations (e.g., caching), and deploy to your production server.</li>
</ul>



<hr class="wp-block-separator has-alpha-channel-opacity">



<p class="wp-block-paragraph">This detailed guide provides a complete overview of <strong>Zend Framework</strong>, including its architecture, use cases, and how to get started. Whether you&#8217;re building a small project or a large-scale enterprise application, Zend Framework provides the tools to create robust, secure, and scalable web solutions.</p>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/zend-framework-a-comprehensive-guide-to-architecture-use-cases-and-getting-started/">Zend Framework: A Comprehensive Guide to Architecture, Use Cases, and Getting Started</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.scmgalaxy.com/tutorials/zend-framework-a-comprehensive-guide-to-architecture-use-cases-and-getting-started/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Eloquent: A Complete Guide to Laravel&#8217;s ORM for Efficient Database Interaction</title>
		<link>https://www.scmgalaxy.com/tutorials/eloquent-a-complete-guide-to-laravels-orm-for-efficient-database-interaction/</link>
					<comments>https://www.scmgalaxy.com/tutorials/eloquent-a-complete-guide-to-laravels-orm-for-efficient-database-interaction/#respond</comments>
		
		<dc:creator><![CDATA[Vijay K]]></dc:creator>
		<pubDate>Sat, 07 Jun 2025 12:30:00 +0000</pubDate>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[DatabaseAbstraction]]></category>
		<category><![CDATA[DatabaseManagement]]></category>
		<category><![CDATA[Eloquent]]></category>
		<category><![CDATA[laravel]]></category>
		<category><![CDATA[LaravelDevelopment]]></category>
		<category><![CDATA[ORM]]></category>
		<category><![CDATA[Php]]></category>
		<category><![CDATA[PHPFramework]]></category>
		<category><![CDATA[SoftwareDevelopment]]></category>
		<category><![CDATA[WebDevelopment]]></category>
		<guid isPermaLink="false">https://www.scmgalaxy.com/tutorials/?p=12590</guid>

					<description><![CDATA[<p>Introduction In modern web development, efficient interaction with databases is essential for building scalable applications. Eloquent, the Object-Relational Mapping (ORM) [&#8230;]</p>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/eloquent-a-complete-guide-to-laravels-orm-for-efficient-database-interaction/">Eloquent: A Complete Guide to Laravel&#8217;s ORM for Efficient Database Interaction</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></description>
										<content:encoded><![CDATA[
<figure class="wp-block-image size-full"><img decoding="async" width="1000" height="420" src="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2025/06/image-49.png" alt="" class="wp-image-12596" srcset="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2025/06/image-49.png 1000w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2025/06/image-49-300x126.png 300w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2025/06/image-49-768x323.png 768w" sizes="(max-width: 1000px) 100vw, 1000px" /></figure>



<hr class="wp-block-separator has-alpha-channel-opacity">



<h2 class="wp-block-heading"><strong>Introduction</strong></h2>



<p class="wp-block-paragraph">In modern web development, efficient interaction with databases is essential for building scalable applications. <strong>Eloquent</strong>, the <strong>Object-Relational Mapping (ORM)</strong> framework for <strong>Laravel</strong>, is one of the most powerful tools in PHP for interacting with databases. It provides a seamless, elegant syntax for managing database records and relationships, simplifying complex database queries and enhancing code readability.</p>



<p class="wp-block-paragraph">By abstracting database operations into PHP models, Eloquent allows developers to interact with database tables as if they were objects, making database interactions smoother and more intuitive. This guide will explore <strong>what Eloquent is</strong>, its <strong>major use cases</strong>, <strong>how Eloquent works</strong> with the underlying architecture, the <strong>basic workflow</strong>, and a <strong>step-by-step guide</strong> for getting started with Eloquent in Laravel.</p>



<hr class="wp-block-separator has-alpha-channel-opacity">



<h2 class="wp-block-heading"><strong>What is Eloquent?</strong></h2>



<p class="wp-block-paragraph"><strong>Eloquent</strong> is Laravel’s built-in <strong>ORM (Object-Relational Mapping)</strong>, providing an elegant and expressive syntax to interact with relational databases. It allows developers to work with database records as if they were objects in their PHP code, abstracting complex SQL queries into simple and readable methods.</p>



<h3 class="wp-block-heading"><strong>Core Features of Eloquent ORM:</strong></h3>



<ul class="wp-block-list">
<li><strong>Model Representation</strong>: Eloquent uses <strong>models</strong> to represent database tables. Each model corresponds to a specific table, and each instance of a model represents a row in that table.</li>



<li><strong>Database Queries</strong>: Instead of writing raw SQL, you can use Eloquent’s expressive query builder to perform CRUD operations (Create, Read, Update, Delete) directly.</li>



<li><strong>Relationships</strong>: Eloquent makes it easy to define and manage relationships between tables, such as <strong>one-to-many</strong>, <strong>many-to-many</strong>, <strong>one-to-one</strong>, and <strong>polymorphic relationships</strong>.</li>



<li><strong>Model Methods</strong>: Eloquent models come with built-in methods for common database operations like <code>save()</code>, <code>delete()</code>, and <code>find()</code>.</li>



<li><strong>Query Scopes</strong>: You can define reusable query conditions as <strong>local scopes</strong>, making it easier to apply commonly-used filters across your models.</li>
</ul>



<p class="wp-block-paragraph">Example:</p>


<div class="wp-block-syntaxhighlighter-code "><pre class="brush: plain; title: ; notranslate">
use AppModelsPost;

// Retrieving a post by its ID
$post = Post::find(1);

// Creating a new post
$post = new Post();
$post-&amp;gt;title = &#039;My First Post&#039;;
$post-&amp;gt;content = &#039;This is the content.&#039;;
$post-&amp;gt;save();

</pre></div>


<p class="wp-block-paragraph">In this example, <code>Post</code> is an Eloquent model that interacts with the <code>posts</code> table in the database.</p>



<hr class="wp-block-separator has-alpha-channel-opacity">



<h2 class="wp-block-heading"><strong>Major Use Cases of Eloquent</strong></h2>



<p class="wp-block-paragraph">Eloquent ORM simplifies and speeds up common database tasks by providing an elegant and intuitive syntax for developers. Below are some of the <strong>major use cases</strong> for using Eloquent in web development:</p>



<h3 class="wp-block-heading"><strong>1. Simplified Database Queries</strong></h3>



<p class="wp-block-paragraph">Eloquent provides an easy-to-use interface for performing common database operations such as selecting, inserting, updating, and deleting records, without needing to write complex SQL queries.</p>



<ul class="wp-block-list">
<li><strong>Example</strong>: Retrieving all records from a table. <code>$posts = Post::all(); // Retrieves all posts from the 'posts' table</code></li>
</ul>



<h3 class="wp-block-heading"><strong>2. Handling Relationships Between Tables</strong></h3>



<p class="wp-block-paragraph">One of the biggest advantages of Eloquent is its ability to define and manage <strong>relationships</strong> between tables with simple methods.</p>



<ul class="wp-block-list">
<li><strong>One-to-Many</strong>: Eloquent simplifies the definition of <strong>one-to-many relationships</strong>. For example, a <code>User</code> can have many <code>Post</code> records. <code>public function posts() { return $this-&gt;hasMany(Post::class); }</code></li>



<li><strong>Many-to-Many</strong>: Eloquent also simplifies <strong>many-to-many relationships</strong>, such as users belonging to multiple roles. <code>public function roles() { return $this-&gt;belongsToMany(Role::class); }</code></li>



<li><strong>One-to-One</strong>: Establishing <strong>one-to-one</strong> relationships is straightforward with methods like <code>hasOne()</code> or <code>belongsTo()</code>. <code>public function profile() { return $this-&gt;hasOne(Profile::class); }</code></li>
</ul>



<h3 class="wp-block-heading"><strong>3. Query Builder and Aggregations</strong></h3>



<p class="wp-block-paragraph">Eloquent provides a fluent <strong>query builder</strong> that makes it easy to construct complex database queries using a simple, chainable syntax. It also supports common <strong>aggregations</strong> such as <code>count()</code>, <code>avg()</code>, <code>max()</code>, and <code>sum()</code>.</p>



<ul class="wp-block-list">
<li><strong>Example</strong>: Retrieving the number of posts by a user: <code>$postCount = $user-&gt;posts()-&gt;count();</code></li>
</ul>



<h3 class="wp-block-heading"><strong>4. Soft Deleting</strong></h3>



<p class="wp-block-paragraph">Eloquent includes built-in support for <strong>soft deleting</strong> records, meaning that deleted records are not actually removed from the database, but are instead flagged as deleted.</p>



<ul class="wp-block-list">
<li><strong>Example</strong>: Soft deleting a post: <code>$post = Post::find(1); $post-&gt;delete(); // Soft delete the post</code></li>



<li>You can then restore soft-deleted records: <code>$post-&gt;restore(); // Restore the deleted post</code></li>
</ul>



<h3 class="wp-block-heading"><strong>5. Model Events</strong></h3>



<p class="wp-block-paragraph">Eloquent supports model events like <code>creating</code>, <code>updating</code>, <code>deleting</code>, and more, allowing you to hook into these lifecycle events and execute custom logic.</p>



<ul class="wp-block-list">
<li><strong>Example</strong>: Automatically setting a <code>slug</code> before creating a post: <code>protected static function boot() { parent::boot(); static::creating(function ($post) { $post-&gt;slug = Str::slug($post-&gt;title); }); }</code></li>
</ul>



<hr class="wp-block-separator has-alpha-channel-opacity">



<h2 class="wp-block-heading"><strong>How Eloquent Works: Architecture</strong></h2>



<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="1024" height="563" src="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2025/06/image-50-1024x563.png" alt="" class="wp-image-12597" srcset="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2025/06/image-50-1024x563.png 1024w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2025/06/image-50-300x165.png 300w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2025/06/image-50-768x422.png 768w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2025/06/image-50-1536x845.png 1536w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2025/06/image-50.png 1540w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></figure>



<p class="wp-block-paragraph">Eloquent operates within the <strong>Laravel framework</strong> and is designed to simplify the interaction between your application’s code and the database. The key components of Eloquent’s architecture include <strong>models</strong>, <strong>queries</strong>, <strong>relationships</strong>, and <strong>query scopes</strong>.</p>



<h3 class="wp-block-heading"><strong>1. Eloquent Models</strong></h3>



<p class="wp-block-paragraph">Each Eloquent model corresponds to a table in the database and is a representation of that table’s rows. The model interacts with the database using <strong>CRUD</strong> operations, and Laravel automatically provides an interface for interacting with the database.</p>



<ul class="wp-block-list">
<li><strong>Example</strong>: The <code>Post</code> model will interact with the <code>posts</code> table in the database, and each instance of the model represents a row in that table.</li>
</ul>



<h3 class="wp-block-heading"><strong>2. Query Builder</strong></h3>



<p class="wp-block-paragraph">Eloquent uses the <strong>query builder</strong> to allow developers to perform operations like selecting records, adding conditions, and filtering results in a chainable and expressive manner.</p>



<ul class="wp-block-list">
<li><strong>Example</strong>: Filtering posts by a certain author: <code>$posts = Post::where('author_id', $authorId)-&gt;get();</code></li>
</ul>



<h3 class="wp-block-heading"><strong>3. Eloquent Relationships</strong></h3>



<p class="wp-block-paragraph">Eloquent&#8217;s relationship methods make it easy to define how models are related to each other. It uses <strong>foreign keys</strong> and <strong>pivot tables</strong> to handle these relationships automatically, providing a clean API to define complex data interactions.</p>



<ul class="wp-block-list">
<li><strong>Example</strong>: A <code>User</code> model might have a <strong>one-to-many</strong> relationship with <code>Post</code>: <code>public function posts() { return $this-&gt;hasMany(Post::class); }</code></li>
</ul>



<h3 class="wp-block-heading"><strong>4. Timestamps and Time Handling</strong></h3>



<p class="wp-block-paragraph">Eloquent models automatically manage <strong>timestamps</strong> such as <code>created_at</code> and <code>updated_at</code> by default. If your table uses these columns, you don’t need to manually handle them. You can also customize the timestamp format if needed.</p>



<ul class="wp-block-list">
<li><strong>Example</strong>: Disabling automatic timestamps for a model: <code>public $timestamps = false;</code></li>
</ul>



<h3 class="wp-block-heading"><strong>5. Query Scopes</strong></h3>



<p class="wp-block-paragraph">Eloquent allows you to define <strong>local query scopes</strong> that can be reused across queries. Scopes provide an elegant way to define commonly used query logic.</p>



<ul class="wp-block-list">
<li><strong>Example</strong>: Defining a scope to retrieve active posts: <code>public function scopeActive($query) { return $query-&gt;where('status', 'active'); }</code></li>
</ul>



<hr class="wp-block-separator has-alpha-channel-opacity">



<h2 class="wp-block-heading"><strong>Basic Workflow of Eloquent</strong></h2>



<p class="wp-block-paragraph">Here is the basic workflow of how you would typically interact with <strong>Eloquent</strong> in a Laravel project:</p>



<ol class="wp-block-list">
<li><strong>Create a Model</strong>: Each database table should have a corresponding <strong>Eloquent model</strong>. <code>php artisan make:model Post</code></li>



<li><strong>Define Relationships</strong>: Define the relationships between models using methods like <code>hasOne()</code>, <code>hasMany()</code>, <code>belongsTo()</code>, etc. <code>public function user() { return $this-&gt;belongsTo(User::class); }</code></li>



<li><strong>Perform Database Operations</strong>:
<ul class="wp-block-list">
<li>Create a new record: <code>$post = new Post; $post-&gt;title = 'My First Post'; $post-&gt;save();</code></li>



<li>Retrieve records: <code>$posts = Post::all();</code></li>



<li>Update records: <code>$post = Post::find(1); $post-&gt;title = 'Updated Title'; $post-&gt;save();</code></li>



<li>Delete records: <code>$post = Post::find(1); $post-&gt;delete();</code></li>
</ul>
</li>



<li><strong>Error Handling</strong>: Use try-catch blocks or validation to catch errors, especially when dealing with database operations like inserts and updates.</li>



<li><strong>Use Query Scopes</strong>: Define reusable query scopes to abstract commonly used queries. <code>public function scopeActive($query) { return $query-&gt;where('status', 'active'); }</code></li>
</ol>



<hr class="wp-block-separator has-alpha-channel-opacity">



<h2 class="wp-block-heading">**Step-by-Step Getting</h2>



<p class="wp-block-paragraph">Started Guide for Eloquent**</p>



<h3 class="wp-block-heading"><strong>Step 1: Install Laravel</strong></h3>



<p class="wp-block-paragraph">First, make sure you have <strong>Composer</strong> installed on your machine. You can then install Laravel by running:</p>


<div class="wp-block-syntaxhighlighter-code "><pre class="brush: plain; title: ; notranslate">
composer create-project --prefer-dist laravel/laravel myapp

</pre></div>


<h3 class="wp-block-heading"><strong>Step 2: Create a Model</strong></h3>



<p class="wp-block-paragraph">To create a model for a database table, use the Artisan command:</p>


<div class="wp-block-syntaxhighlighter-code "><pre class="brush: plain; title: ; notranslate">
php artisan make:model Post

</pre></div>


<p class="wp-block-paragraph">This will generate a model file in <code>app/Models/Post.php</code>.</p>



<h3 class="wp-block-heading"><strong>Step 3: Define Relationships</strong></h3>



<p class="wp-block-paragraph">In your model, define relationships with other models. For example, a <code>Post</code> may belong to a <code>User</code>:</p>


<div class="wp-block-syntaxhighlighter-code "><pre class="brush: plain; title: ; notranslate">
public function user() {
  return $this-&amp;gt;belongsTo(User::class);
}

</pre></div>


<h3 class="wp-block-heading"><strong>Step 4: Perform CRUD Operations</strong></h3>



<p class="wp-block-paragraph">Use Eloquent to perform database operations, such as creating, retrieving, updating, and deleting records:</p>


<div class="wp-block-syntaxhighlighter-code "><pre class="brush: plain; title: ; notranslate">
$post = new Post();
$post-&amp;gt;title = &#039;Eloquent in Laravel&#039;;
$post-&amp;gt;content = &#039;Eloquent ORM makes database interaction easy.&#039;;
$post-&amp;gt;save();

</pre></div>


<h3 class="wp-block-heading"><strong>Step 5: Querying Data</strong></h3>



<p class="wp-block-paragraph">Use Eloquent&#8217;s query builder to fetch data. For example, retrieve all posts:</p>


<div class="wp-block-syntaxhighlighter-code "><pre class="brush: plain; title: ; notranslate">
$posts = Post::all();

</pre></div>


<h3 class="wp-block-heading"><strong>Step 6: Handling Errors and Exceptions</strong></h3>



<p class="wp-block-paragraph">Use <strong>try-catch</strong> blocks or Laravel&#8217;s built-in validation to handle potential errors or invalid data inputs.</p>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/eloquent-a-complete-guide-to-laravels-orm-for-efficient-database-interaction/">Eloquent: A Complete Guide to Laravel&#8217;s ORM for Efficient Database Interaction</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.scmgalaxy.com/tutorials/eloquent-a-complete-guide-to-laravels-orm-for-efficient-database-interaction/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>PHP OOP: Traits</title>
		<link>https://www.scmgalaxy.com/tutorials/php-oop-traits/</link>
					<comments>https://www.scmgalaxy.com/tutorials/php-oop-traits/#respond</comments>
		
		<dc:creator><![CDATA[vikashdev k]]></dc:creator>
		<pubDate>Mon, 25 Oct 2021 07:20:16 +0000</pubDate>
				<category><![CDATA[php]]></category>
		<category><![CDATA[Guide]]></category>
		<category><![CDATA[How]]></category>
		<category><![CDATA[multi taits use in php oop]]></category>
		<category><![CDATA[Perforce]]></category>
		<category><![CDATA[Php]]></category>
		<category><![CDATA[php oop traits]]></category>
		<category><![CDATA[Process]]></category>
		<category><![CDATA[scmgalaxy]]></category>
		<category><![CDATA[scmGalaxy Blogs]]></category>
		<category><![CDATA[scmGalaxy DevOps Training Online]]></category>
		<category><![CDATA[scmgalaxy php oop]]></category>
		<category><![CDATA[scmGalaxy Tutorials]]></category>
		<category><![CDATA[single traits use in php oop]]></category>
		<category><![CDATA[Tutorial]]></category>
		<category><![CDATA[What]]></category>
		<guid isPermaLink="false">https://www.scmgalaxy.com/tutorials/?p=9509</guid>

					<description><![CDATA[<p>What is Traits? Code is shortened by using Traits. One code is used everywhere just by writing the trait function. [&#8230;]</p>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/php-oop-traits/">PHP OOP: Traits</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></description>
										<content:encoded><![CDATA[
<h3 class="wp-block-heading">What is Traits?</h3>



<ul class="wp-block-list"><li>Code is shortened by using Traits.</li><li>One code is used everywhere just by writing the trait function.</li></ul>



<h3 class="wp-block-heading">Example :</h3>



<script src="https://gist.github.com/vikash-cotocus/fa2cdc30dd529ec34246b195d38fb680.js"></script>



<h3 class="wp-block-heading">Output:</h3>



<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="1024" height="551" src="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/10/traits-1024x551.png" alt="" class="wp-image-9510" srcset="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/10/traits-1024x551.png 1024w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/10/traits-300x162.png 300w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/10/traits-768x414.png 768w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/10/traits-1536x827.png 1536w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/10/traits.png 1920w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></figure>



<h3 class="wp-block-heading">Multi traits use example:</h3>



<script src="https://gist.github.com/vikash-cotocus/bad9c044a8272548d3c404610bb391b2.js"></script>



<h3 class="wp-block-heading">Output:</h3>



<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="1024" height="554" src="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/10/multi-tratis-1024x554.png" alt="" class="wp-image-9511" srcset="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/10/multi-tratis-1024x554.png 1024w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/10/multi-tratis-300x162.png 300w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/10/multi-tratis-768x416.png 768w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/10/multi-tratis-1536x831.png 1536w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/10/multi-tratis.png 1920w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></figure>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/php-oop-traits/">PHP OOP: Traits</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.scmgalaxy.com/tutorials/php-oop-traits/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>PHP OOP: Late Static Binding</title>
		<link>https://www.scmgalaxy.com/tutorials/php-oop-late-static-binding/</link>
					<comments>https://www.scmgalaxy.com/tutorials/php-oop-late-static-binding/#respond</comments>
		
		<dc:creator><![CDATA[vikashdev k]]></dc:creator>
		<pubDate>Mon, 25 Oct 2021 06:09:44 +0000</pubDate>
				<category><![CDATA[php]]></category>
		<category><![CDATA[Example php oop late static binding]]></category>
		<category><![CDATA[Guide]]></category>
		<category><![CDATA[How]]></category>
		<category><![CDATA[late static binding in php oop]]></category>
		<category><![CDATA[Perforce]]></category>
		<category><![CDATA[Php]]></category>
		<category><![CDATA[Process]]></category>
		<category><![CDATA[scmgalaxy]]></category>
		<category><![CDATA[scmGalaxy DevOps Training Online]]></category>
		<category><![CDATA[scmgalaxy php oop]]></category>
		<category><![CDATA[scmGalaxy Tutorials]]></category>
		<category><![CDATA[Tutorial]]></category>
		<category><![CDATA[What]]></category>
		<guid isPermaLink="false">https://www.scmgalaxy.com/tutorials/?p=9505</guid>

					<description><![CDATA[<p>Late static Binding: Late static binding helps to override name by using static in echo keyword. It helps lot for [&#8230;]</p>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/php-oop-late-static-binding/">PHP OOP: Late Static Binding</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></description>
										<content:encoded><![CDATA[
<h3 class="wp-block-heading">Late static Binding:</h3>



<ul class="wp-block-list"><li>Late static binding helps to override name by using static in echo keyword.</li><li>It helps lot for writing minimum coding. </li><li>The message of the base class is printed using the self keyword and the message of the derived class is printed using the static keyword.</li></ul>



<h3 class="wp-block-heading">Example to printing the message of base class:</h3>



<script src="https://gist.github.com/vikash-cotocus/7ea1a651d4f5d9ff20ee56236c243309.js"></script>



<h3 class="wp-block-heading">Output:</h3>



<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="1024" height="550" src="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/10/base-class-print-messages-1024x550.png" alt="" class="wp-image-9506" srcset="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/10/base-class-print-messages-1024x550.png 1024w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/10/base-class-print-messages-300x161.png 300w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/10/base-class-print-messages-768x412.png 768w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/10/base-class-print-messages-1536x825.png 1536w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/10/base-class-print-messages.png 1920w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></figure>



<h3 class="wp-block-heading">Example of printing the message of derived class:</h3>



<script src="https://gist.github.com/vikash-cotocus/7e245b5bb863a08800c48bd76a0859df.js"></script>



<h3 class="wp-block-heading">Output:</h3>



<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="1024" height="551" src="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/10/static-message-print-1024x551.png" alt="" class="wp-image-9507" srcset="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/10/static-message-print-1024x551.png 1024w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/10/static-message-print-300x162.png 300w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/10/static-message-print-768x414.png 768w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/10/static-message-print-1536x827.png 1536w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/10/static-message-print.png 1920w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></figure>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/php-oop-late-static-binding/">PHP OOP: Late Static Binding</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.scmgalaxy.com/tutorials/php-oop-late-static-binding/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>PHP OOP : Static Members</title>
		<link>https://www.scmgalaxy.com/tutorials/php-oop-static-members/</link>
					<comments>https://www.scmgalaxy.com/tutorials/php-oop-static-members/#respond</comments>
		
		<dc:creator><![CDATA[vikashdev k]]></dc:creator>
		<pubDate>Sat, 23 Oct 2021 12:59:17 +0000</pubDate>
				<category><![CDATA[php]]></category>
		<category><![CDATA[Example of php oop static members]]></category>
		<category><![CDATA[Guide]]></category>
		<category><![CDATA[How]]></category>
		<category><![CDATA[Php]]></category>
		<category><![CDATA[Process]]></category>
		<category><![CDATA[scmgalaxy]]></category>
		<category><![CDATA[scmGalaxy DevOps Training Online]]></category>
		<category><![CDATA[scmgalaxy php oop]]></category>
		<category><![CDATA[scmGalaxy Tutorials]]></category>
		<category><![CDATA[static members in php oop]]></category>
		<category><![CDATA[Tutorial]]></category>
		<category><![CDATA[using constructor in static members in php oop]]></category>
		<category><![CDATA[What]]></category>
		<category><![CDATA[what is static members]]></category>
		<guid isPermaLink="false">https://www.scmgalaxy.com/tutorials/?p=9501</guid>

					<description><![CDATA[<p>What is Static Members ? Static properties and methods can be used without creating an instance of the class. The [&#8230;]</p>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/php-oop-static-members/">PHP OOP : Static Members</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></description>
										<content:encoded><![CDATA[
<h3 class="wp-block-heading">What is Static Members ?</h3>



<ul class="wp-block-list"><li>Static properties and methods can be used without creating an instance of the class.</li><li>The static keyword is used to declare properties and methods of a class as static.</li><li>Object not create.</li><li>Stack keyword use before access modifier.</li><li>Inside class use self::(use static method).</li><li>inherit use parent class name ::(properties).</li></ul>



<h3 class="wp-block-heading">Example :</h3>



<script src="https://gist.github.com/vikash-cotocus/23afe9f75bd2f3738680963654622559.js"></script>



<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="1024" height="555" src="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/10/static-1024x555.png" alt="" class="wp-image-9502" srcset="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/10/static-1024x555.png 1024w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/10/static-300x163.png 300w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/10/static-768x416.png 768w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/10/static-1536x832.png 1536w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/10/static.png 1920w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></figure>



<h3 class="wp-block-heading">Example Constructor :-</h3>



<script src="https://gist.github.com/vikash-cotocus/a4b3343081a01f80a78e9cd4c2c405e9.js"></script>



<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="1024" height="555" src="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/10/sconstructor-1024x555.png" alt="" class="wp-image-9503" srcset="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/10/sconstructor-1024x555.png 1024w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/10/sconstructor-300x163.png 300w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/10/sconstructor-768x416.png 768w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/10/sconstructor-1536x832.png 1536w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/10/sconstructor.png 1920w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></figure>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/php-oop-static-members/">PHP OOP : Static Members</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.scmgalaxy.com/tutorials/php-oop-static-members/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>PHP OOP : Interfaces</title>
		<link>https://www.scmgalaxy.com/tutorials/php-oop-interfaces/</link>
					<comments>https://www.scmgalaxy.com/tutorials/php-oop-interfaces/#respond</comments>
		
		<dc:creator><![CDATA[vikashdev k]]></dc:creator>
		<pubDate>Sat, 23 Oct 2021 11:33:07 +0000</pubDate>
				<category><![CDATA[php]]></category>
		<category><![CDATA[Example of interface]]></category>
		<category><![CDATA[Guide]]></category>
		<category><![CDATA[How]]></category>
		<category><![CDATA[Perforce]]></category>
		<category><![CDATA[Php]]></category>
		<category><![CDATA[php oop]]></category>
		<category><![CDATA[php oop interfaces]]></category>
		<category><![CDATA[php oops]]></category>
		<category><![CDATA[Process]]></category>
		<category><![CDATA[scmGalaxy DevOps Training Online]]></category>
		<category><![CDATA[scmgalaxy php oop]]></category>
		<category><![CDATA[scmGalaxy Tutorials]]></category>
		<category><![CDATA[Tutorial]]></category>
		<category><![CDATA[What]]></category>
		<category><![CDATA[what is interfaces in php oop]]></category>
		<guid isPermaLink="false">https://www.scmgalaxy.com/tutorials/?p=9497</guid>

					<description><![CDATA[<p>What is Interfaces? Interfaces help us to use multiple classes in a single class inherit. Interfaces are declared with the interface keyword. [&#8230;]</p>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/php-oop-interfaces/">PHP OOP : Interfaces</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></description>
										<content:encoded><![CDATA[
<h3 class="wp-block-heading">What is Interfaces?</h3>



<ul class="wp-block-list"><li>Interfaces help us to use multiple classes in a single class inherit.</li><li>Interfaces are declared with the <strong>interface </strong>keyword.</li><li>Derived class is called derived class.</li><li>object not be created in interface.</li><li>Property should not be defined in interface(class).</li><li>All interface methods must be public.</li><li>All methods in an interface are abstract.</li><li>To implement an interface, a class must use the implements keyword.</li></ul>



<h3 class="wp-block-heading">Example :-</h3>



<script src="https://gist.github.com/vikash-cotocus/b4b964c9f001cc7b30a676d0e61f8eb2.js"></script>



<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="1024" height="554" src="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/10/interface-1024x554.png" alt="" class="wp-image-9498" srcset="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/10/interface-1024x554.png 1024w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/10/interface-300x162.png 300w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/10/interface-768x415.png 768w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/10/interface-1536x830.png 1536w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/10/interface.png 1920w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></figure>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/php-oop-interfaces/">PHP OOP : Interfaces</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.scmgalaxy.com/tutorials/php-oop-interfaces/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>PHP OOP : Abstract Classes</title>
		<link>https://www.scmgalaxy.com/tutorials/php-oop-abstract-classes/</link>
					<comments>https://www.scmgalaxy.com/tutorials/php-oop-abstract-classes/#respond</comments>
		
		<dc:creator><![CDATA[vikashdev k]]></dc:creator>
		<pubDate>Thu, 07 Oct 2021 12:36:56 +0000</pubDate>
				<category><![CDATA[php]]></category>
		<category><![CDATA[abstract class in php]]></category>
		<category><![CDATA[Guide]]></category>
		<category><![CDATA[How]]></category>
		<category><![CDATA[Perforce]]></category>
		<category><![CDATA[Php]]></category>
		<category><![CDATA[Process]]></category>
		<category><![CDATA[SCM]]></category>
		<category><![CDATA[scm php oop]]></category>
		<category><![CDATA[scmgalaxy]]></category>
		<category><![CDATA[scmGalaxy Blogs]]></category>
		<category><![CDATA[scmGalaxy DevOps Training Online]]></category>
		<category><![CDATA[Tutorial]]></category>
		<category><![CDATA[What]]></category>
		<guid isPermaLink="false">https://www.scmgalaxy.com/tutorials/?p=9462</guid>

					<description><![CDATA[<p>Abstract Class : when we create abstract class then we can not create object of that abstract class. If we [&#8230;]</p>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/php-oop-abstract-classes/">PHP OOP : Abstract Classes</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></description>
										<content:encoded><![CDATA[
<h3 class="wp-block-heading">Abstract Class :</h3>



<ul class="wp-block-list"><li>when we create abstract class then we can not create object of that abstract class.</li><li>If we want to use abstract class then we only access with derived class .</li><li>Just abstract write before the class name.</li><li>when we create abstract class two condition occurs one is abstract method like :- abstract protected function name ( );</li><li>abstract means incomplete method we declare but not implement (code).</li><li>In derived class we have to implement of that abstract method.</li></ul>



<script src="https://gist.github.com/vikash-cotocus/80652d0ff050ba3375c6534567e30412.js"></script>



<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="1024" height="551" src="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/10/php8-1-1024x551.png" alt="" class="wp-image-9463" srcset="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/10/php8-1-1024x551.png 1024w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/10/php8-1-300x162.png 300w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/10/php8-1-768x414.png 768w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/10/php8-1-1536x827.png 1536w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/10/php8-1.png 1920w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></figure>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/php-oop-abstract-classes/">PHP OOP : Abstract Classes</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.scmgalaxy.com/tutorials/php-oop-abstract-classes/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>PHP OOP : Overriding properties and Methods</title>
		<link>https://www.scmgalaxy.com/tutorials/php-oop-overriding-properties-and-methods/</link>
					<comments>https://www.scmgalaxy.com/tutorials/php-oop-overriding-properties-and-methods/#respond</comments>
		
		<dc:creator><![CDATA[vikashdev k]]></dc:creator>
		<pubDate>Thu, 07 Oct 2021 12:09:17 +0000</pubDate>
				<category><![CDATA[php]]></category>
		<category><![CDATA[Guide]]></category>
		<category><![CDATA[method overriding in php oop]]></category>
		<category><![CDATA[overriding properties and overriding methods]]></category>
		<category><![CDATA[Perforce]]></category>
		<category><![CDATA[Php]]></category>
		<category><![CDATA[php oop]]></category>
		<category><![CDATA[php oop overriding properties]]></category>
		<category><![CDATA[Process]]></category>
		<category><![CDATA[properties overriding in php oop]]></category>
		<category><![CDATA[scmGalaxy Blogs]]></category>
		<category><![CDATA[scmGalaxy DevOps Training Online]]></category>
		<category><![CDATA[scmGalaxy Tutorials]]></category>
		<category><![CDATA[Tutorial]]></category>
		<category><![CDATA[What]]></category>
		<guid isPermaLink="false">https://www.scmgalaxy.com/tutorials/?p=9457</guid>

					<description><![CDATA[<p>Overriding Properties : Same properties on both classes (base and derived class). Overriding Methods : Same name of method on [&#8230;]</p>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/php-oop-overriding-properties-and-methods/">PHP OOP : Overriding properties and Methods</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></description>
										<content:encoded><![CDATA[
<h3 class="wp-block-heading">Overriding Properties :</h3>



<ul class="wp-block-list"><li>Same properties on both classes (base and derived class).</li></ul>



<script src="https://gist.github.com/vikash-cotocus/abb37ed33297c73988b0df5871fb6d2e.js"></script>



<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="1024" height="551" src="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/10/php6-1-1024x551.png" alt="" class="wp-image-9458" srcset="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/10/php6-1-1024x551.png 1024w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/10/php6-1-300x161.png 300w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/10/php6-1-768x413.png 768w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/10/php6-1-1536x827.png 1536w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/10/php6-1.png 1908w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></figure>



<h3 class="wp-block-heading">Overriding Methods :</h3>



<ul class="wp-block-list"><li>Same name of method on both classes base or derived class.</li></ul>



<script src="https://gist.github.com/vikash-cotocus/8bb35e7b9f3e910a46eaef841293336a.js"></script>



<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="1024" height="553" src="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/10/php7-1-1024x553.png" alt="" class="wp-image-9459" srcset="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/10/php7-1-1024x553.png 1024w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/10/php7-1-300x162.png 300w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/10/php7-1-768x415.png 768w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/10/php7-1-1536x830.png 1536w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/10/php7-1.png 1920w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></figure>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/php-oop-overriding-properties-and-methods/">PHP OOP : Overriding properties and Methods</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.scmgalaxy.com/tutorials/php-oop-overriding-properties-and-methods/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>PHP OOP : Access Modifier (public, protected,  private)</title>
		<link>https://www.scmgalaxy.com/tutorials/php-access-modifier-public-protected-private/</link>
					<comments>https://www.scmgalaxy.com/tutorials/php-access-modifier-public-protected-private/#respond</comments>
		
		<dc:creator><![CDATA[vikashdev k]]></dc:creator>
		<pubDate>Wed, 06 Oct 2021 10:17:30 +0000</pubDate>
				<category><![CDATA[php]]></category>
		<category><![CDATA[access modifier in php]]></category>
		<category><![CDATA[DevOps Online Training Advantage at scmGalaxy]]></category>
		<category><![CDATA[Guide]]></category>
		<category><![CDATA[How]]></category>
		<category><![CDATA[HTML]]></category>
		<category><![CDATA[Perforce]]></category>
		<category><![CDATA[Php]]></category>
		<category><![CDATA[Process]]></category>
		<category><![CDATA[public private protected]]></category>
		<category><![CDATA[public private protected in php]]></category>
		<category><![CDATA[public protected privated in php]]></category>
		<category><![CDATA[scmgalaxy]]></category>
		<category><![CDATA[scmGalaxy DevOps Training Online]]></category>
		<category><![CDATA[scmGalaxy Tutorials]]></category>
		<category><![CDATA[Tutorial]]></category>
		<category><![CDATA[What]]></category>
		<guid isPermaLink="false">https://www.scmgalaxy.com/tutorials/?p=9431</guid>

					<description><![CDATA[<p>What is the access modifier? Restrictions on properties and methods. Types of access modifier public protected private Public : Access [&#8230;]</p>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/php-access-modifier-public-protected-private/">PHP OOP : Access Modifier (public, protected,  private)</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></description>
										<content:encoded><![CDATA[
<h3 class="wp-block-heading">What is the access modifier?</h3>



<p class="wp-block-paragraph">Restrictions on properties and methods.</p>



<h3 class="wp-block-heading">Types of access modifier</h3>



<ol class="wp-block-list"><li>public </li><li>protected</li><li>private</li></ol>



<figure class="wp-block-image size-full"><img loading="lazy" decoding="async" width="869" height="261" src="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/10/php5-1.png" alt="" class="wp-image-9434" srcset="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/10/php5-1.png 869w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/10/php5-1-300x90.png 300w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/10/php5-1-768x231.png 768w" sizes="auto, (max-width: 869px) 100vw, 869px" /></figure>



<h3 class="wp-block-heading">Public :</h3>



<ul class="wp-block-list"><li>Access on base as well as derived class and outside of the class.</li><li>Everyone can see and access the data.</li><li>Not secure.</li><li>Override use.</li></ul>



<script src="https://gist.github.com/vikash-cotocus/789dd6d2a9c9ecdf3ae98f65b6c291bc.js"></script>



<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="1024" height="556" src="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/10/php6-1024x556.png" alt="" class="wp-image-9433" srcset="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/10/php6-1024x556.png 1024w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/10/php6-300x163.png 300w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/10/php6-768x417.png 768w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/10/php6-1536x834.png 1536w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/10/php6.png 1920w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></figure>



<h3 class="wp-block-heading">Protected :</h3>



<ul class="wp-block-list"><li>Base and Derived class.</li><li>No one gets access throughout the class.</li><li>Declare like protected property and method.</li><li>Not use override function.</li><li>Without permission no one can access any of these (properties &amp; method).</li></ul>



<script src="https://gist.github.com/vikash-cotocus/6c778485ea5c726d31e5c2034f96d250.js"></script>



<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="1024" height="550" src="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/10/php7-1024x550.png" alt="" class="wp-image-9435" srcset="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/10/php7-1024x550.png 1024w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/10/php7-300x161.png 300w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/10/php7-768x413.png 768w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/10/php7-1536x826.png 1536w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/10/php7.png 1920w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></figure>



<h3 class="wp-block-heading">Private :</h3>



<ul class="wp-block-list"><li>Access itself.</li><li>Highly secured.</li><li>No one can access without permission.</li><li>Highly costly.</li></ul>



<script src="https://gist.github.com/vikash-cotocus/6b45c23d0b6390dea21f76522aa40a40.js"></script>



<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="1024" height="549" src="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/10/php8-1024x549.png" alt="" class="wp-image-9436" srcset="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/10/php8-1024x549.png 1024w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/10/php8-300x161.png 300w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/10/php8-768x412.png 768w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/10/php8-1536x824.png 1536w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/10/php8.png 1920w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></figure>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/php-access-modifier-public-protected-private/">PHP OOP : Access Modifier (public, protected,  private)</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.scmgalaxy.com/tutorials/php-access-modifier-public-protected-private/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>PHP OOP : Inheritance</title>
		<link>https://www.scmgalaxy.com/tutorials/php-inheritance/</link>
					<comments>https://www.scmgalaxy.com/tutorials/php-inheritance/#respond</comments>
		
		<dc:creator><![CDATA[vikashdev k]]></dc:creator>
		<pubDate>Wed, 06 Oct 2021 06:20:14 +0000</pubDate>
				<category><![CDATA[php]]></category>
		<category><![CDATA[example of inheritance in php]]></category>
		<category><![CDATA[explain main and derived class]]></category>
		<category><![CDATA[Guide]]></category>
		<category><![CDATA[How]]></category>
		<category><![CDATA[how to use inheritance in php]]></category>
		<category><![CDATA[Perforce]]></category>
		<category><![CDATA[Php]]></category>
		<category><![CDATA[php inheritance]]></category>
		<category><![CDATA[Process]]></category>
		<category><![CDATA[scmGalaxy DevOps Training Online]]></category>
		<category><![CDATA[scmgalaxy php]]></category>
		<category><![CDATA[scmGalaxy Tutorials]]></category>
		<category><![CDATA[Tutorial]]></category>
		<category><![CDATA[What]]></category>
		<category><![CDATA[what is inheritance in php]]></category>
		<guid isPermaLink="false">https://www.scmgalaxy.com/tutorials/?p=9422</guid>

					<description><![CDATA[<p>What is inheritance in php? Inheritance is properties of PHP. Accessing the feature of one class of another class. Three [&#8230;]</p>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/php-inheritance/">PHP OOP : Inheritance</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></description>
										<content:encoded><![CDATA[
<h3 class="wp-block-heading">What is inheritance in php?</h3>



<ul class="wp-block-list"><li>Inheritance is properties of PHP.</li><li>Accessing the feature of one class of another class.</li><li>Three types that is single, multiple and multilevel inheritance.</li><li>It is the four pillars of oops.</li><li>It allows a class to reuse the code from another class without duplicating it.</li><li>Two classes one is base/main another one is derived class.</li><li>Base class only use its own function but in Derived class it use both function base or derived class.</li></ul>



<h3 class="wp-block-heading">How to use inheritance in php?</h3>


<div class="wp-block-syntaxhighlighter-code "><pre class="brush: plain; title: ; notranslate">
class school {
}
class students extends school {
}
$sch =new school (); // only use class school 
$stu = new students (); // use both class school students (properties and methods)
</pre></div>


<h3 class="wp-block-heading">Example of main/base class use :-</h3>



<script src="https://gist.github.com/vikash-cotocus/1f7b68919052d8717b7ca3b533760172.js"></script>



<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="1024" height="523" src="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/10/php3-1024x523.png" alt="" class="wp-image-9424" srcset="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/10/php3-1024x523.png 1024w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/10/php3-300x153.png 300w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/10/php3-768x392.png 768w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/10/php3-1536x784.png 1536w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/10/php3.png 1638w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></figure>



<h3 class="wp-block-heading">Example of inheritance:</h3>



<script src="https://gist.github.com/vikash-cotocus/2ff225a54be4148e3799012c82393c72.js"></script>



<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="1024" height="607" src="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/10/php4-1024x607.png" alt="" class="wp-image-9428" srcset="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/10/php4-1024x607.png 1024w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/10/php4-300x178.png 300w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/10/php4-768x455.png 768w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/10/php4.png 1520w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></figure>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/php-inheritance/">PHP OOP : Inheritance</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.scmgalaxy.com/tutorials/php-inheritance/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>PHP OOP : Constructor function</title>
		<link>https://www.scmgalaxy.com/tutorials/php-constructor-function/</link>
					<comments>https://www.scmgalaxy.com/tutorials/php-constructor-function/#respond</comments>
		
		<dc:creator><![CDATA[vikashdev k]]></dc:creator>
		<pubDate>Tue, 05 Oct 2021 09:50:12 +0000</pubDate>
				<category><![CDATA[php]]></category>
		<category><![CDATA[constructor function]]></category>
		<category><![CDATA[constructor in php]]></category>
		<category><![CDATA[css]]></category>
		<category><![CDATA[example of constructor in php]]></category>
		<category><![CDATA[Guide]]></category>
		<category><![CDATA[How]]></category>
		<category><![CDATA[HTML]]></category>
		<category><![CDATA[Javascript]]></category>
		<category><![CDATA[Php]]></category>
		<category><![CDATA[Process]]></category>
		<category><![CDATA[Tutorial]]></category>
		<category><![CDATA[What]]></category>
		<category><![CDATA[what is constructor]]></category>
		<guid isPermaLink="false">https://www.scmgalaxy.com/tutorials/?p=9405</guid>

					<description><![CDATA[<p>What is Constructor ? Constructor is a special type of function of a class which is automatically executed when object [&#8230;]</p>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/php-constructor-function/">PHP OOP : Constructor function</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></description>
										<content:encoded><![CDATA[
<h3 class="wp-block-heading">What is Constructor ?</h3>



<p class="wp-block-paragraph">Constructor is a special type of function of a class which is automatically executed when object of that class is created. Constructor is also called as magic function because in php constructor is start usually with two underscore characters. It saves lot of time on big project.</p>


<div class="wp-block-syntaxhighlighter-code "><pre class="brush: plain; title: ; notranslate">
function __constructor(){
body part;
}
</pre></div>


<h3 class="wp-block-heading">Example of Constructor :-</h3>



<script src="https://gist.github.com/vikash-cotocus/e4d69979edee9c03a21d53657f04c224.js"></script>



<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="1024" height="470" src="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/10/php2-1024x470.png" alt="" class="wp-image-9408" srcset="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/10/php2-1024x470.png 1024w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/10/php2-300x138.png 300w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/10/php2-768x353.png 768w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/10/php2.png 1466w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></figure>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/php-constructor-function/">PHP OOP : Constructor function</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.scmgalaxy.com/tutorials/php-constructor-function/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Introduction to PHP OOP</title>
		<link>https://www.scmgalaxy.com/tutorials/introduction-to-php/</link>
					<comments>https://www.scmgalaxy.com/tutorials/introduction-to-php/#respond</comments>
		
		<dc:creator><![CDATA[vikashdev k]]></dc:creator>
		<pubDate>Tue, 05 Oct 2021 07:16:03 +0000</pubDate>
				<category><![CDATA[php]]></category>
		<category><![CDATA[Guide]]></category>
		<category><![CDATA[Perforce]]></category>
		<category><![CDATA[Php]]></category>
		<category><![CDATA[Process]]></category>
		<category><![CDATA[simple example of php]]></category>
		<category><![CDATA[Tutorial]]></category>
		<category><![CDATA[What]]></category>
		<category><![CDATA[what is class and object]]></category>
		<category><![CDATA[what is php]]></category>
		<category><![CDATA[what is php in scmgalaxy]]></category>
		<category><![CDATA[what is properties and methods]]></category>
		<category><![CDATA[why is it so popular]]></category>
		<category><![CDATA[why php is so popular]]></category>
		<guid isPermaLink="false">https://www.scmgalaxy.com/tutorials/?p=9400</guid>

					<description><![CDATA[<p>What is PHP? PHP stands for hypertext preprocessor. It is widely used in backend programming language. PHP programming patterns are [&#8230;]</p>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/introduction-to-php/">Introduction to PHP OOP</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></description>
										<content:encoded><![CDATA[
<h3 class="wp-block-heading">What is PHP?</h3>



<ul class="wp-block-list"><li>PHP stands for hypertext preprocessor.</li><li>It is widely used in backend programming language.</li><li>PHP programming patterns are procedural/core php and object oriented.</li><li>Lots of framework are use like laravel, CakePHP, Yii, Zend, Codeigniter etc.</li><li>Code more modular and reusable. </li><li>Well organised code. </li><li>Easier to debug.</li><li>Best for large website projects.</li></ul>



<h3 class="wp-block-heading">Why is it so popular ?</h3>



<ul class="wp-block-list"><li>Code reusable</li><li>Easier to debug</li><li>Best for medium and large website project </li><li>Backend programming use </li><li>Code more modular </li><li>Understanding code easier </li></ul>



<h3 class="wp-block-heading">What are class and object ? </h3>



<ul class="wp-block-list"><li>Class are the blueprint of object ; Object use blueprint to build their project or functions.</li><li>Class example :- blueprint of house ; Object example :- built house.</li><li>Class function one ; Object function are lots that are related to class function.</li><li>If there is a function which is written in object but not written in class then that function will not work.</li></ul>



<h3 class="wp-block-heading">What is properties and methods ?</h3>



<p class="wp-block-paragraph"><strong>properties like :- </strong></p>


<div class="wp-block-syntaxhighlighter-code "><pre class="brush: plain; title: ; notranslate">
$a;
$b;
$c;
$d;
</pre></div>


<p class="wp-block-paragraph"><strong>Methods like :-</strong></p>


<div class="wp-block-syntaxhighlighter-code "><pre class="brush: plain; title: ; notranslate">
sum(){
$c=$a+$b;
return $c;
}
</pre></div>


<h3 class="wp-block-heading">Example of PHP :-</h3>



<script src="https://gist.github.com/vikash-cotocus/59797cba085894773e599de757ebfa75.js"></script>



<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="1024" height="482" src="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/10/php1-1024x482.png" alt="" class="wp-image-9401" srcset="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/10/php1-1024x482.png 1024w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/10/php1-300x141.png 300w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/10/php1-768x362.png 768w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/10/php1.png 1421w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></figure>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/introduction-to-php/">Introduction to PHP OOP</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.scmgalaxy.com/tutorials/introduction-to-php/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Top programming languages in the world &#038; their courses and certifications?</title>
		<link>https://www.scmgalaxy.com/tutorials/top-programming-languages-in-the-world-their-courses-and-certifications/</link>
					<comments>https://www.scmgalaxy.com/tutorials/top-programming-languages-in-the-world-their-courses-and-certifications/#respond</comments>
		
		<dc:creator><![CDATA[uttam.]]></dc:creator>
		<pubDate>Mon, 06 Sep 2021 11:03:18 +0000</pubDate>
				<category><![CDATA[JavaScript]]></category>
		<category><![CDATA[Node js]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[Programming Scripting Languages]]></category>
		<category><![CDATA[certification]]></category>
		<category><![CDATA[Courses]]></category>
		<category><![CDATA[java]]></category>
		<category><![CDATA[Javascript]]></category>
		<category><![CDATA[Php]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[Programming Language]]></category>
		<category><![CDATA[TypeScript]]></category>
		<guid isPermaLink="false">https://www.scmgalaxy.com/tutorials/?p=8791</guid>

					<description><![CDATA[<p>The world is turning into smarter day by day with the quick development of Automation, computing, Blockchain, etc. And at [&#8230;]</p>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/top-programming-languages-in-the-world-their-courses-and-certifications/">Top programming languages in the world &amp; their courses and certifications?</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></description>
										<content:encoded><![CDATA[
<p class="wp-block-paragraph">The world is turning into smarter day by day with the quick development of Automation, computing, Blockchain, etc. And at the middle of it, somewhere, are programming languages. In fact, Labour Statistics have expected a 21% growth for programming jobs within the returning decade, which is quite 4x the common for all occupations. however attempting to start out out with programming is a frightening escapade, particularly for professionals with no previous expertise. thus if you’re one who cannot decide wherever to start, don’t worry as a result of we’ve got you coated. the following article aims to grant you a fast examine the highest Programming Languages within the world &amp; their courses and certifications?</p>



<ul class="wp-block-list"><li><strong><a href="https://www.devopsschool.com/certification/selenium-with-java.html" target="_blank" rel="noreferrer noopener">JAVA</a></strong></li><li><strong><a href="https://www.devopsschool.com/certification/master-in-golang-with-gin.html" target="_blank" rel="noreferrer noopener">Golang</a></strong></li><li><strong><a href="https://www.devopsschool.com/certification/master-in-typescript-with-nestjs.html" target="_blank" rel="noreferrer noopener">TypeScript</a></strong></li><li><strong><a href="https://www.devopsschool.com/certification/master-in-scala-with-spark.html" target="_blank" rel="noreferrer noopener">Scala</a></strong></li><li><strong><a href="https://www.devopsschool.com/certification/master-in-javascript-with-angularjs-and-nodejs.html" target="_blank" rel="noreferrer noopener">JavaScript</a></strong></li><li><strong><a href="https://www.devopsschool.com/certification/master-in-php-with-laravel.html" target="_blank" rel="noreferrer noopener">PHP</a></strong></li><li><strong><a href="https://www.devopsschool.com/certification/master-in-javascript-with-angularjs-and-nodejs.html" target="_blank" rel="noreferrer noopener">AngularJs</a></strong></li><li><strong><a href="https://www.devopsschool.com/certification/master-in-javascript-with-angularjs-and-nodejs.html" target="_blank" rel="noreferrer noopener">NodeJS</a></strong></li></ul>



<p class="wp-block-paragraph"><strong>Java</strong></p>



<figure class="wp-block-image size-full"><img loading="lazy" decoding="async" width="800" height="418" src="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/09/javao1.jpeg" alt="" class="wp-image-8792" srcset="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/09/javao1.jpeg 800w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/09/javao1-300x157.jpeg 300w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/09/javao1-768x401.jpeg 768w" sizes="auto, (max-width: 800px) 100vw, 800px" /></figure>



<p class="wp-block-paragraph">Owned by the Oracle Corporation, Java is one of the oldest, most typical, in-demand programming languages in use these days. Well, think about a number of your favorite internet apps and games. It’s extremely probably that Java plays an enormous role within the code that creates their work. Another necessary factor that has kept Java’s magic intact among internet development corporations is its independence from platforms. This helps developers to basically “write once, work anywhere”(WORA). Java is everyplace and also the demand for sturdy developers is virtually high.</p>



<p class="wp-block-paragraph"><strong>How does it work?</strong></p>



<p class="wp-block-paragraph">In Java, programs don&#8217;t seem to be compiled into practicable files; they&#8217;re compiled into bytecode (as mentioned earlier), that the JVM (Java Virtual Machine) then executes at runtime. Java source code is compiled into bytecode after we use the javac compiler. The bytecode gets saved on the disk with the file extension.</p>



<p class="wp-block-paragraph"><strong>Reasons for Demand</strong>:</p>



<ul class="wp-block-list"><li>With its presence in almost 3 billion devices, Java’s new frameworks such as Spring, Struts, and Hibernate have also become very popular.</li><li>It is favored by enterprises, with roughly 90 percent of Fortune 500 companies use Java for building applications and back-end systems.</li><li>Java is highly recognized for its scalability and portability across multiple platforms from mainframe data centers to smartphones.</li><li>With millions of users across the globe, the popular users of Java include Barclays, HCL, Capital One, etc.</li><li>Forms the base for and is used in a multitude of domains including mobile application, web development, system programming, and big data.</li><li>Its powerful features include strong memory management, high performance, backward compatible and top-notch security.</li></ul>



<p class="wp-block-paragraph"><strong>Golang</strong></p>



<figure class="wp-block-image size-full"><img loading="lazy" decoding="async" width="602" height="339" src="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/09/main-qimg-bde1fc0efd05ea8ba16ca42d58e8020e.jpg" alt="" class="wp-image-8793" srcset="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/09/main-qimg-bde1fc0efd05ea8ba16ca42d58e8020e.jpg 602w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/09/main-qimg-bde1fc0efd05ea8ba16ca42d58e8020e-300x169.jpg 300w" sizes="auto, (max-width: 602px) 100vw, 602px" /></figure>



<p class="wp-block-paragraph">Developed by the technical school big Google itself, Go is one of the newest players within the programming platform. it&#8217;s an open-source language that produces it simple to form easy, secure, and productive computer code. It combines the most effective aspects of useful and object-oriented programming, also as options a valuable set of intrinsical development tools.</p>



<p class="wp-block-paragraph"><strong>How does it work?</strong></p>



<p class="wp-block-paragraph">Go was originally designed for programs associated with networking and infrastructure. it absolutely was meant to switch widespread high-performance server-side languages like Java and C++. Today, Go is used for a spread of applications like cloud and server-side applications, DevOps, command-line tools, and far additional.</p>



<p class="wp-block-paragraph"><strong>Reasons for Demand</strong>:</p>



<ul class="wp-block-list"><li>Popular projects like Kubernetes, Docker, Hugo, Hyperledger Blockchain, and Ethereum are developed using Golang.</li><li>The language is straightforward to grasp even for the new programmers while being extremely powerful at the same time.</li><li>Supports multithreading at large and is hence used by a lot of companies that rely heavily on distributed systems.</li><li>Go has been optimized by Google to be incredibly efficient with memory and has blazing fast speed.</li><li>It provides high performance like C/C++ and has efficient concurrency handling like Java.</li><li>It is widely used in startups and some of the companies that use the language are Walmart, Springboard, Siemens, Dell.</li></ul>



<p class="wp-block-paragraph"><strong>TypeScript</strong></p>



<figure class="wp-block-image size-full"><img loading="lazy" decoding="async" width="1009" height="286" src="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/09/typescript-programming-language.png" alt="" class="wp-image-8794" srcset="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/09/typescript-programming-language.png 1009w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/09/typescript-programming-language-300x85.png 300w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/09/typescript-programming-language-768x218.png 768w" sizes="auto, (max-width: 1009px) 100vw, 1009px" /></figure>



<p class="wp-block-paragraph">TypeScript might be a superset of the JavaScript language that has a single open-source compiler and is developed within the main by one trafficker (Microsoft.) The goal of the matter is to help catch mistakes early through a sorting system and to make JavaScript development further economical.</p>



<p class="wp-block-paragraph"><strong>How does it work?</strong></p>



<p class="wp-block-paragraph">TypeScript works by adding increased syntax to JavaScript so transforming it to JavaScript when the typescript compiler will its own checks. It does not modification JavaScript&#8217;s kind of system. Instead, it adds a lot of checks to it.</p>



<p class="wp-block-paragraph"> <strong>Reasons for Demand</strong>: </p>



<ul class="wp-block-list"><li>TypeScript simplifies JavaScript code, making it easier to read and debug.</li><li>TypeScript gives us all the benefits of ES6 (ECMAScript 6), plus more productivity.</li><li>TypeScript can help us to avoid painful bugs that developers commonly run into when writing JavaScript by type checking the code.</li><li>TypeScript is a modern programming language loved by engineers for making web development a lot easier.</li><li>You can use TypeScript everywhere instead of JavaScript, as it compiles to regular JS code. That&#8217;s another reason for its demand.</li></ul>



<p class="wp-block-paragraph"><strong>Scala</strong></p>



<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="1024" height="341" src="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/09/scala-1024x341.png" alt="" class="wp-image-8795" srcset="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/09/scala-1024x341.png 1024w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/09/scala-300x100.png 300w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/09/scala-768x256.png 768w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/09/scala.png 1200w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></figure>



<p class="wp-block-paragraph">Scala could be a programming language used for practical programming and powerful static systems. It&#8217;s object-oriented and runs on JVM. It&#8217;s the aptitude to interoperate with existing Java code and libraries. It&#8217;s powerfully thought of to be a static kind of language and doesn&#8217;t have an idea of primitive information.</p>



<p class="wp-block-paragraph"><strong>How does it work?</strong></p>



<p class="wp-block-paragraph">The compiler in Scala works during a similar fashion because of the Java compiler. It gets the source code and generates Java byte-code which will be dead severally on any commonplace JVM (Java Virtual Machine). Scala could be a statically typed language. Scala will execute Java.</p>



<p class="wp-block-paragraph"> <strong>Reasons for Demand</strong>: </p>



<ul class="wp-block-list"><li>Scala programming language variables are immutable and can be easily overloaded in Java. In addition to this, it also offers to adopt new languages like Python, Ruby, etc. to implement functional programming.</li><li>Scala is a language that is inherently more expressive than Java. The developers who learn Scala after Java find it easier and interesting to write code in Scala. To get the beauty of this language in comparison with Java.</li><li>A developer needs to be in demand always. The main reason or use of Scala is a better growth and job. Learning Scala will increase your demand and will make you even more marketable. Many companies like Twitter, LinkedIn, Foursquare, etc are using Scala.</li><li>Scala can be said as a language that is growing fast and lots of programmers going to join the Scala bandwagon. Even developers who know Java are now moving to learn Scala. There are many new libraries and frameworks that are being built on application of Scala.</li><li>A Java programming finds it difficult to learn any functional language. uses of Scala is easy due to its object-oriented functionality. Scala has clean syntax, nice libraries, good online documentation, and lots of people in the industry using it.</li></ul>



<p class="wp-block-paragraph"><strong>JavaScript</strong></p>



<figure class="wp-block-image size-full"><img loading="lazy" decoding="async" width="800" height="300" src="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/09/javascript-illustration.png" alt="" class="wp-image-8796" srcset="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/09/javascript-illustration.png 800w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/09/javascript-illustration-300x113.png 300w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/09/javascript-illustration-768x288.png 768w" sizes="auto, (max-width: 800px) 100vw, 800px" /></figure>



<p class="wp-block-paragraph">Along with HTML and CSS, Javascript is that the programming language that engineered the internet. So, it’s a fairly huge deal. Universally referred to as the language of internet developers, javascript could be a feature-rich object-based scripting language that includes asynchronous event handling and crisp syntax, it&#8217;s found widespread use within the field of internet development. What started off as an easy client-side scripting language, is currently a highlight inside the net development community that includes multiple frameworks for each backend and frontend development.</p>



<p class="wp-block-paragraph"><strong>How does it work?</strong></p>



<p class="wp-block-paragraph">JavaScript is what&#8217;s known as a Client-side Scripting Language. within a standard website, you place some JavaScript code See however sites Work for details on sites. once the browser loads the page, the browser features a constitutional interpreter that reads the JavaScript code it finds on the page and runs it.</p>



<p class="wp-block-paragraph">  <strong>Reasons for Demand</strong>: </p>



<ul class="wp-block-list"><li>In extension to absolute JavaScript, various popular libraries and frameworks make JavaScript development easier.</li><li>Most accessible supporting technologies related to JavaScript are JSON, jQuery, Angular, React (JS Library), etc.</li><li>Fundamentally a front-end language, it can also be practiced on the server-side throughout Node.js to create scalable network applications.</li><li>Majority of tech giants like Google, Facebook, SAP, Dell, Accenture, etc rely on Javascript to design interactive web pages and dynamically display content to users.</li></ul>



<p class="wp-block-paragraph"><strong>PHP</strong></p>



<figure class="wp-block-image size-full"><img loading="lazy" decoding="async" width="860" height="481" src="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/09/heres-why-php-is-still-popular-in-2020.png" alt="" class="wp-image-8797" srcset="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/09/heres-why-php-is-still-popular-in-2020.png 860w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/09/heres-why-php-is-still-popular-in-2020-300x168.png 300w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/09/heres-why-php-is-still-popular-in-2020-768x430.png 768w" sizes="auto, (max-width: 860px) 100vw, 860px" /><figcaption>PHP is used by 79% of all the websites whose server-side programming language we all know. it&#8217;s the main used for developing dynamic and data-heavy websites and applications. it&#8217;s been the cornerstone of the net for a protracted time. PHP could be an easy, fast, and platform-independent general programming language with over 631,000 repositories on GitHub.</figcaption></figure>



<p class="wp-block-paragraph"><strong>How does it work?</strong></p>



<p class="wp-block-paragraph">The PHP software system works with the webserver, which is that the software system that delivers sites to the planet. after you A URL into your net browser&#8217;s address bar, you are causation a message to the webserver at that URL, asking it to send you an HTML file. Your browser reads the HTML file and displays the online page.</p>



<p class="wp-block-paragraph"> <strong>Reasons for Demand</strong>:  </p>



<ul class="wp-block-list"><li>PHP is used by 79.0% of all the websites whose server-side programming languages are known.</li><li>PHP is simple, fast and platform-independent.</li><li>It is 631k repositories on GitHub and has a community of 5.9M to back it up.</li><li>Companies that have publicly declared usage of PHP include Facebook, Yahoo, Wikipedia.</li></ul>



<p class="wp-block-paragraph"><strong>AngularJs</strong></p>



<figure class="wp-block-image size-full is-resized"><img loading="lazy" decoding="async" src="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/09/angular-JS-online-training-nareshit.jpg" alt="" class="wp-image-8799" width="837" height="419" srcset="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/09/angular-JS-online-training-nareshit.jpg 500w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/09/angular-JS-online-training-nareshit-300x150.jpg 300w" sizes="auto, (max-width: 837px) 100vw, 837px" /></figure>



<p class="wp-block-paragraph">AngularJS could be a client-side JavaScript MVC framework to develop a dynamic internet application. It extends the flexibility of HTML by adding intrinsical attributes and parts and additionally provides a capability to form custom attributes victimization easy JavaScript.</p>



<p class="wp-block-paragraph"><strong>How does it work?</strong></p>



<p class="wp-block-paragraph">AngularJS could also be a structural framework for dynamic net apps. It permits you to use hypertext markup language as your model language and permits you to extends HTML syntax to specify your application&#8217;s elements clearly and compactly. AngularJS&#8217;s information binding and dependency injection eliminate a lot of the code you&#8217;d otherwise need to write.</p>



<p class="wp-block-paragraph"> <strong>Reasons for Demand</strong>:  </p>



<ul class="wp-block-list"><li>Modularity is one of the prime reasons why AngularJS is popular among web developers.</li><li>AngularJS recognizes the need to create an additional module so that it can be combined with other developed application modules.</li><li>It allows and enables web developers to create multiple modules for a single web application.</li><li>AngularJS is one of the skills unique to this job, along with React. js, Code. js, Javascript, and CSS.</li><li>Today, AngularJS is a leading framework for building dynamic, single-page web applications (known as SPAs), including ones like PayPal and Netflix.</li></ul>



<p class="wp-block-paragraph"><strong>NodeJs</strong></p>



<figure class="wp-block-image size-full"><img loading="lazy" decoding="async" width="730" height="487" src="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/09/using-inbuilt-nodejs-profiler.png" alt="" class="wp-image-8800" srcset="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/09/using-inbuilt-nodejs-profiler.png 730w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/09/using-inbuilt-nodejs-profiler-300x200.png 300w" sizes="auto, (max-width: 730px) 100vw, 730px" /><figcaption>Node. js is primarily used for non-blocking, event-driven servers, because of its single-threaded nature. It&#8217;s used for ancient websites and back-end API services time period was designed with the period of time, push-based architectures in mind.</figcaption></figure>



<p class="wp-block-paragraph"><strong>How does it work?</strong></p>



<p class="wp-block-paragraph">Node. js is the JavaScript runtime environment which is based on Google&#8217;s V8 Engine with the help of Node, Js we can run the JavaScript outside of the browser, js is that it is single-threaded, based on event-driven architecture, and non-blocking based on the I/O model.</p>



<p class="wp-block-paragraph"><strong>Reasons for Demand</strong>:   </p>



<ul class="wp-block-list"><li>A Single Language for All Layers. Another key benefit of Node.</li><li>It can be Hosted Anywhere.</li><li>It&#8217;s lightning Fast. Node.</li><li>It is JavaScript Everywhere. One of the biggest reasons why Node.</li><li>It is Lightweight. Typically, Node.</li><li>High Performance.</li><li>It is Easy to Modify and Maintain.</li></ul>



<p class="wp-block-paragraph"></p>



<p class="wp-block-paragraph"><strong>Conclusion</strong></p>



<p class="wp-block-paragraph">In this article, we have listed the top most popular programming languages to learn. Now, it’s your choice where you want to land your career or choose the right programming language for you, If you wanna learn then i would suggest you check out <strong>DevOpsSchool</strong> it is a great platform for learning. Get an insight to all the details we mentioned, and choose accordingly. So, make sure you should hold a good command on a specific language you choose for programming.You’ll even also join our Online and Classroom Programs.<br>And that concludes my list of the Top Programming Languages. Hope this article proved useful to you.</p>



<p class="wp-block-paragraph"></p>



<p class="wp-block-paragraph">Thank you!</p>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/top-programming-languages-in-the-world-their-courses-and-certifications/">Top programming languages in the world &amp; their courses and certifications?</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.scmgalaxy.com/tutorials/top-programming-languages-in-the-world-their-courses-and-certifications/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Tutorial for Polymorphism in OOPS</title>
		<link>https://www.scmgalaxy.com/tutorials/tutorial-for-polymorphism-in-oops/</link>
					<comments>https://www.scmgalaxy.com/tutorials/tutorial-for-polymorphism-in-oops/#respond</comments>
		
		<dc:creator><![CDATA[Ashwani Kumar]]></dc:creator>
		<pubDate>Thu, 02 Sep 2021 13:16:06 +0000</pubDate>
				<category><![CDATA[JavaScript]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[benefits of Polymorphism]]></category>
		<category><![CDATA[Javascript]]></category>
		<category><![CDATA[oops]]></category>
		<category><![CDATA[Php]]></category>
		<category><![CDATA[Polymorphism]]></category>
		<category><![CDATA[Polymorphism in OOPS]]></category>
		<category><![CDATA[The benefits of Polymorphism are:]]></category>
		<category><![CDATA[Tutorial]]></category>
		<category><![CDATA[Tutorial for Polymorphism in OOPS]]></category>
		<category><![CDATA[What is Polymorphism]]></category>
		<guid isPermaLink="false">https://www.scmgalaxy.com/tutorials/?p=8655</guid>

					<description><![CDATA[<p>What is Polymorphism? Polymorphism, as its name implies, comes in a variety of forms. OOP allows for the use of a [&#8230;]</p>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/tutorial-for-polymorphism-in-oops/">Tutorial for Polymorphism in OOPS</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></description>
										<content:encoded><![CDATA[
<h3 class="wp-block-heading">What is <strong>Polymorphism</strong>?</h3>



<p class="wp-block-paragraph">Polymorphism, as its name implies, comes in a variety of forms. OOP allows for the use of a variety of techniques I. Simply expressed, they have to do with how methods are used, and how different methods operate for different objects. Method Overriding and Method Overloading are two ways that polymorphic methods allow for different actions to be done.</p>



<p class="wp-block-paragraph"><strong>The benefits of Polymorphism are:</strong></p>



<ul class="wp-block-list"><li>Objects of different types can be passed through the same interface</li><li>Method overriding</li><li>Method overloading</li></ul>



<p class="wp-block-paragraph"><strong>Method Overriding</strong>:- Overriding is used in the polymorphism of runtime. By overriding a parent class&#8217;s method, a child class can implement a different method. In the case of our dogs, we may prefer a specific type of bark that is distinct from the generic type of dog (<code><span class="has-inline-color has-vivid-red-color">TrackingDog</span></code>).</p>



<p class="wp-block-paragraph"><strong>Example:-</strong></p>



<script src="https://gist.github.com/AdarshAshwani/2f14c51fb9288cff503e2f683a4a540b.js"></script>



<div class="wp-block-image"><figure class="aligncenter is-resized"><img loading="lazy" decoding="async" src="https://www.devopsschool.com/blog/wp-content/uploads/2021/05/image-61.png" alt="" width="443" height="369"/><figcaption>TrackingDog’s overriding the bark() method</figcaption></figure></div>



<p class="wp-block-paragraph"><strong>Method Overloading</strong>:- Overloading is used at the polymorphic build time. Although methods and functions may have the same name, the call method has its own set of arguments. Different results may be obtained depending on the number of parameters entered.</p>



<p class="wp-block-paragraph"><strong>Example</strong>:- There are no parameters supplied to the <code><span class="has-inline-color has-vivid-red-color">updateAttendance()</span></code> method. The count will be added one day. When the <code><span class="has-inline-color has-vivid-red-color">updateAttendance(4)</span></code> argument is used, the x <code><span class="has-inline-color has-vivid-red-color">xupdateAttendance(x)</span></code> parameter is used, and four days are added to the total.</p>



<script src="https://gist.github.com/AdarshAshwani/5a4dc586be245a338a81b7127ea425c9.js"></script>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/tutorial-for-polymorphism-in-oops/">Tutorial for Polymorphism in OOPS</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.scmgalaxy.com/tutorials/tutorial-for-polymorphism-in-oops/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Tutorial for Abstraction in OOPS</title>
		<link>https://www.scmgalaxy.com/tutorials/tutorial-for-abstraction-in-oops/</link>
					<comments>https://www.scmgalaxy.com/tutorials/tutorial-for-abstraction-in-oops/#respond</comments>
		
		<dc:creator><![CDATA[Ashwani Kumar]]></dc:creator>
		<pubDate>Thu, 02 Sep 2021 13:00:08 +0000</pubDate>
				<category><![CDATA[JavaScript]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[Abstraction]]></category>
		<category><![CDATA[Abstraction in OOPS]]></category>
		<category><![CDATA[Javascript]]></category>
		<category><![CDATA[Object-oriented programming]]></category>
		<category><![CDATA[oops]]></category>
		<category><![CDATA[Php]]></category>
		<category><![CDATA[the Function of Abstraction?]]></category>
		<category><![CDATA[Tutorial for Abstraction in OOPS]]></category>
		<category><![CDATA[What is]]></category>
		<category><![CDATA[What is the Function of Abstraction]]></category>
		<guid isPermaLink="false">https://www.scmgalaxy.com/tutorials/?p=8645</guid>

					<description><![CDATA[<p>What is Abstraction? Abstraction in OOP allows information/access about how codes are applied to be concealed, allowing just the required [&#8230;]</p>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/tutorial-for-abstraction-in-oops/">Tutorial for Abstraction in OOPS</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></description>
										<content:encoded><![CDATA[
<h3 class="wp-block-heading">What is <strong>Abstraction</strong>?</h3>



<div class="wp-block-image"><figure class="aligncenter"><img decoding="async" src="https://images.slideplayer.com/26/8597046/slides/slide_2.jpg" alt="Basics of Computation Theory. What is &quot;abstraction&quot;? Abstraction unifies  multiple and different objects into one concept  describes the common  properties. - ppt download"/></figure></div>



<p class="wp-block-paragraph">Abstraction in OOP allows information/access about how codes are applied to be concealed, allowing just the required access. These details may be found in the object definitions. A famous example is the counting approach that works with list items. One thing to keep in mind is that, given the same OOP concept, all Python I data types and structures are objects. In this sense, a list is a class that has methods for completing tasks.</p>



<div class="wp-block-image"><figure class="aligncenter"><img decoding="async" src="https://cdn.journaldev.com/wp-content/uploads/2019/09/abstraction.png" alt="What is Abstraction in OOPS? - JournalDev"/></figure></div>



<h3 class="wp-block-heading"><strong>What is the Function of <strong>Abstraction</strong>?</strong></h3>



<p class="wp-block-paragraph"><strong>Abstraction use simpler high-level instruments to get access to a complex object:</strong></p>



<ul class="wp-block-list"><li>Using simple things to represent complexity</li><li>Hide complex details from user</li></ul>



<div class="wp-block-image"><figure class="aligncenter"><img decoding="async" src="https://i.ytimg.com/vi/1eSCCQPBqP0/maxresdefault.jpg" alt="JavaScript ES7 OOP. Abstraction. Class. #1 - YouTube"/></figure></div>



<p class="wp-block-paragraph">Abstraction also serves a significant security role. We only present selected data items and provide data access via classes and methods to protect the data from being exposed. In the case of an automobile, an open gas tank would make it impossible to continue driving.</p>



<div class="wp-block-image"><figure class="aligncenter size-full"><img loading="lazy" decoding="async" width="608" height="547" src="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/09/Tutorial-for-Abstraction-in-OOPS.jpg" alt="" class="wp-image-8651" srcset="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/09/Tutorial-for-Abstraction-in-OOPS.jpg 608w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/09/Tutorial-for-Abstraction-in-OOPS-300x270.jpg 300w" sizes="auto, (max-width: 608px) 100vw, 608px" /></figure></div>



<p class="wp-block-paragraph"><strong>There are some benefits of abstraction which is mention below:</strong></p>



<ul class="wp-block-list"><li>Simple, high level user interfaces</li><li>Complex code is hidden</li><li>Security</li><li>Easier software maintenance</li><li>Code updates rarely change abstraction</li></ul>



<p class="wp-block-paragraph"></p>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/tutorial-for-abstraction-in-oops/">Tutorial for Abstraction in OOPS</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.scmgalaxy.com/tutorials/tutorial-for-abstraction-in-oops/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Tutorial for Inheritance in OOPS</title>
		<link>https://www.scmgalaxy.com/tutorials/tutorial-for-inheritance-in-oops/</link>
					<comments>https://www.scmgalaxy.com/tutorials/tutorial-for-inheritance-in-oops/#respond</comments>
		
		<dc:creator><![CDATA[Ashwani Kumar]]></dc:creator>
		<pubDate>Wed, 01 Sep 2021 13:13:35 +0000</pubDate>
				<category><![CDATA[php]]></category>
		<category><![CDATA[Function of Inheritance]]></category>
		<category><![CDATA[Inheritance]]></category>
		<category><![CDATA[Object-oriented programming]]></category>
		<category><![CDATA[oops]]></category>
		<category><![CDATA[Php]]></category>
		<category><![CDATA[php tutorial]]></category>
		<category><![CDATA[what is Inheritance]]></category>
		<category><![CDATA[What is the Function of Inheritance]]></category>
		<guid isPermaLink="false">https://www.scmgalaxy.com/tutorials/?p=8623</guid>

					<description><![CDATA[<p>what is Inheritance? In OOP, the concept of inheritance allows a class to accept or have the properties of another class [&#8230;]</p>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/tutorial-for-inheritance-in-oops/">Tutorial for Inheritance in OOPS</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></description>
										<content:encoded><![CDATA[
<h3 class="wp-block-heading">what is <strong>Inheritance</strong>?</h3>



<p class="wp-block-paragraph">In OOP, the concept of inheritance allows a class to accept or have the properties of another class (inherited). A sub-class or derived class is a class that inherits the characteristics/methods of another class. Heritage reduces code redundancy, allowing the class to use other class methods without having to rewrite the code. This allows for dynamic programming using the main class&#8217;s methods (also called the parent class). A subclass has the same properties as a primary class, but it can also have additional methods that are either completely independent or not present in the main class.</p>



<h3 class="wp-block-heading"><strong>What is the Function of Inheritance?</strong></h3>



<p class="wp-block-paragraph">Children&#8217;s classes may be built to enhance the parent&#8217;s class functionality and add more characteristics once essential properties and behaviors have been defined in the parent&#8217;s class.</p>



<p class="wp-block-paragraph"><strong>Example:-</strong> </p>



<p class="wp-block-paragraph">This distinction is demonstrated by creating a parent class child class(HerdingDog) (Dog) and then adding a single herd() behaviour.</p>



<p class="wp-block-paragraph">The following code shows how the child class (HerdingDog) inherits a parent class method (bark) (Dog), and the child class adds an extra method herd().</p>



<script src="https://gist.github.com/AdarshAshwani/56dd53858a250d518c8102194f9489c4.js"></script>



<p class="wp-block-paragraph">When the code uses the fluffy.bark() function, the method bark() travels up the child&#8217;s chain to find out where the bark method is declared.</p>



<script src="https://gist.github.com/AdarshAshwani/1b76d5c5645ed236d281b5d1af95eb7e.js"></script>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/tutorial-for-inheritance-in-oops/">Tutorial for Inheritance in OOPS</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.scmgalaxy.com/tutorials/tutorial-for-inheritance-in-oops/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Tutorial for Object-oriented programming (OOP) Concept</title>
		<link>https://www.scmgalaxy.com/tutorials/tutorial-for-object-oriented-programming-oop-concept/</link>
					<comments>https://www.scmgalaxy.com/tutorials/tutorial-for-object-oriented-programming-oop-concept/#respond</comments>
		
		<dc:creator><![CDATA[Ashwani Kumar]]></dc:creator>
		<pubDate>Wed, 01 Sep 2021 12:56:28 +0000</pubDate>
				<category><![CDATA[php]]></category>
		<category><![CDATA[Object-oriented programming]]></category>
		<category><![CDATA[Object-oriented programming (OOP)]]></category>
		<category><![CDATA[Object-oriented programming (OOP) Concept]]></category>
		<category><![CDATA[Php]]></category>
		<category><![CDATA[php tutorial]]></category>
		<category><![CDATA[the principles of Object-oriented programming (OOP)?]]></category>
		<category><![CDATA[Tutorial for Object-oriented programming (OOP) Concept]]></category>
		<category><![CDATA[What are the principles of Object-oriented programming]]></category>
		<category><![CDATA[What are the principles of Object-oriented programming (OOP)]]></category>
		<category><![CDATA[What is Object-oriented programming]]></category>
		<category><![CDATA[What is Object-oriented programming (OOP)?]]></category>
		<guid isPermaLink="false">https://www.scmgalaxy.com/tutorials/?p=8611</guid>

					<description><![CDATA[<p>Computer programming skills is in high demand in today&#8217;s technology culture for programming. Understanding object-oriented programming may be useful in [&#8230;]</p>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/tutorial-for-object-oriented-programming-oop-concept/">Tutorial for Object-oriented programming (OOP) Concept</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></description>
										<content:encoded><![CDATA[
<p class="wp-block-paragraph">Computer programming skills is in high demand in today&#8217;s technology culture for programming. Understanding object-oriented programming may be useful in the creation and management of software systems (OOP). This article covers the core concepts of OOP and illustrates them with simple examples.</p>



<h3 class="wp-block-heading">What is Object-oriented programming (OOP)?</h3>



<div class="wp-block-image"><figure class="aligncenter"><img decoding="async" src="https://i2.wp.com/francescolelli.info/wp-content/uploads/2019/08/java-oops.png?fit=557%2C429&amp;ssl=1" alt="Object Oriented Programming: A curated set of resources"/></figure></div>



<p class="wp-block-paragraph">Object-oriented programming is the process of integrating variables (properties) and functions (methods) into a single object. These products are organized into classes that may be mixed and matched. OOP allows you to think about the objects in a program&#8217;s code as well as the various actions that go along with them.</p>



<h3 class="wp-block-heading">What are the principles of Object-oriented programming (OOP)?</h3>



<div class="wp-block-image"><figure class="aligncenter"><img decoding="async" src="https://miro.medium.com/max/1142/1*GDZKZyaSfQGm8HL-CtYWtA.jpeg" alt="What are four basic principles of Object Oriented Programming? | by Munish  Chandel | Medium"/></figure></div>



<p class="wp-block-paragraph">Encapsulation, Abstraction, Inheritance, and Polymorphism are the four basic concepts of object-oriented programming. Although these concepts appear to be extremely complicated, understanding the broad framework of how they work is beneficial. The four basic hypotheses are as follows:</p>



<ol class="wp-block-list"><li><strong>Inheritance:</strong> child classes inherit data and behaviors from parent class</li><li><strong>Encapsulation:</strong> containing information in an object, exposing only selected information</li><li><strong>Abstraction:</strong> only exposing high level public methods for accessing an object</li><li><strong>Polymorphism:</strong> many methods can do the same task</li></ol>



<p class="wp-block-paragraph"></p>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/tutorial-for-object-oriented-programming-oop-concept/">Tutorial for Object-oriented programming (OOP) Concept</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.scmgalaxy.com/tutorials/tutorial-for-object-oriented-programming-oop-concept/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Tutorial for Name Attribute in HTML for PHP</title>
		<link>https://www.scmgalaxy.com/tutorials/tutorial-for-name-attribute-in-html-for-php/</link>
					<comments>https://www.scmgalaxy.com/tutorials/tutorial-for-name-attribute-in-html-for-php/#respond</comments>
		
		<dc:creator><![CDATA[Ashwani Kumar]]></dc:creator>
		<pubDate>Wed, 01 Sep 2021 08:57:38 +0000</pubDate>
				<category><![CDATA[php]]></category>
		<category><![CDATA[HTML]]></category>
		<category><![CDATA[name attribute]]></category>
		<category><![CDATA[Name Attribute Used with]]></category>
		<category><![CDATA[Php]]></category>
		<category><![CDATA[Tutorial for Name Attribute]]></category>
		<category><![CDATA[Tutorial for Name Attribute in HTML for PHP]]></category>
		<category><![CDATA[What]]></category>
		<category><![CDATA[What is Name Attribute]]></category>
		<guid isPermaLink="false">https://www.scmgalaxy.com/tutorials/?p=8523</guid>

					<description><![CDATA[<p>What is Name Attribute? A set of attribute values plus an attribute identifier make up an attribute. The attribute identifier, [&#8230;]</p>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/tutorial-for-name-attribute-in-html-for-php/">Tutorial for Name Attribute in HTML for PHP</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></description>
										<content:encoded><![CDATA[
<h3 class="wp-block-heading">What is Name Attribute?</h3>



<p class="wp-block-paragraph">A set of attribute values plus an attribute identifier make up an attribute. The attribute identifier, often known as the attribute name, is a string that uniquely identifies a property. The content of an attribute is its value, and its type is not limited to that of a string. When you wish to define a specific attribute for retrieval, searches, or update, you use an attribute name. Operations that yield characteristics also return names (such as when you perform reads or searches in the directory).<br>You must be aware of specific directory server characteristics while using attribute names so that the result does not surprise you. These characteristics are discussed in the next section.</p>



<h3 class="wp-block-heading">Uses of  Name Attribute </h3>



<ul class="wp-block-list"><li>The <code>name</code> attribute specifies a name for an HTML element.</li><li>This <code>name</code> attribute can be used to reference the element in a JavaScript.</li><li>For a <code>&lt;form></code> element, the <code>name</code> attribute is  used as a reference when the data is submitted.</li><li>For an <code>&lt;iframe></code> element, the <code>name</code> attribute can be used to target a form submission.</li><li>For a <code>&lt;map></code> element, the <code>name</code> attribute is associated with the <code>&lt;img></code>&#8216;s <code>usemap</code> attribute and creates a relationship between the image and the map.</li><li>For a <code>&lt;meta></code> element, the <code>name</code> attribute specifies a name for the information/value of the <code>content</code> attribute.</li><li>For a <code>&lt;param></code> element, the <code>name</code> attribute is used together with the <code>value</code> attribute to specify parameters for the plugin specified with the <code>&lt;object></code> tag.</li></ul>



<h3 class="wp-block-heading">Name Attribute Used with:-</h3>



<figure class="wp-block-table"><table><tbody><tr><th>Elements</th><th>Attribute</th></tr><tr><td>&lt;button></td><td>name</td></tr><tr><td>&lt;fieldset></td><td>name</td></tr><tr><td>&lt;form></td><td>name</td></tr><tr><td>&lt;iframe></td><td>name</td></tr><tr><td>&lt;input></td><td>name</td></tr><tr><td>&lt;map></td><td>name</td></tr><tr><td>&lt;meta></td><td>name</td></tr><tr><td>&lt;object></td><td>name</td></tr><tr><td>&lt;output></td><td>name</td></tr><tr><td>&lt;param></td><td>name</td></tr><tr><td>&lt;select></td><td>name</td></tr><tr><td>&lt;textarea></td><td>name</td></tr></tbody></table></figure>



<p class="wp-block-paragraph"></p>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/tutorial-for-name-attribute-in-html-for-php/">Tutorial for Name Attribute in HTML for PHP</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.scmgalaxy.com/tutorials/tutorial-for-name-attribute-in-html-for-php/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Tutorial for $_GET in Super Global Variables</title>
		<link>https://www.scmgalaxy.com/tutorials/tutorial-for-_get-in-super-global-variables/</link>
					<comments>https://www.scmgalaxy.com/tutorials/tutorial-for-_get-in-super-global-variables/#respond</comments>
		
		<dc:creator><![CDATA[Ashwani Kumar]]></dc:creator>
		<pubDate>Mon, 30 Aug 2021 12:56:02 +0000</pubDate>
				<category><![CDATA[php]]></category>
		<category><![CDATA[$_GET]]></category>
		<category><![CDATA[$_GET in Super Global Variables]]></category>
		<category><![CDATA[Php]]></category>
		<category><![CDATA[php tutorial]]></category>
		<category><![CDATA[Super Global Variables]]></category>
		<category><![CDATA[Super Global Variables in PHP]]></category>
		<category><![CDATA[Tutorial for $_GET in Super Global Variables]]></category>
		<category><![CDATA[Tutorial for Super Global Variables]]></category>
		<category><![CDATA[What]]></category>
		<category><![CDATA[What is $_GET]]></category>
		<guid isPermaLink="false">https://www.scmgalaxy.com/tutorials/?p=8514</guid>

					<description><![CDATA[<p>What is $_GET? $_GET is a global variable that is used to collect data from an HTML form after it [&#8230;]</p>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/tutorial-for-_get-in-super-global-variables/">Tutorial for $_GET in Super Global Variables</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></description>
										<content:encoded><![CDATA[
<h2 class="wp-block-heading">What is $_GET?</h2>



<p class="wp-block-paragraph">$_GET is a global variable that is used to collect data from an HTML form after it has been submitted. The data is visible in the query string when the form uses method get to transmit data, thus the values are not concealed. The values in the URL are stored in the $_GET super global array variable.</p>



<div class="wp-block-image"><figure class="aligncenter"><img decoding="async" src="https://image.slidesharecdn.com/learningphplecture1-180817175833/95/web-development-course-php-lecture-1-51-638.jpg?cb=1537307470" alt="Web Development Course: PHP lecture 1"/></figure></div>



<p class="wp-block-paragraph"><strong>Example:-</strong></p>



<script src="https://gist.github.com/AdarshAshwani/3845040ec659e08ac338265dc8fb1685.js"></script>



<p class="wp-block-paragraph"><strong>Output:-</strong></p>



<p class="wp-block-paragraph">Right now, we&#8217;re just seeing half of the rationale. We&#8217;ve generated a linked image of Nainital Lake in the preceding code, which will take us to the picture.php page and provide the parameters name=&#8221;Nainilake&#8221; and city=&#8221;Nainital&#8221; to it.</p>



<p class="wp-block-paragraph">That is, if we click on the little image of Nainital Lake, we will be brought to the next page picture.php, where the parameters will be displayed. These arguments will be given to the next page using the get method, and they will be shown in the address bar, as get is the default way. When we wish to transmit data to an address, we use a question mark (?) to connect them to the address.</p>



<p class="wp-block-paragraph">The address has the name=Nainilake parameter connected to it. If we wish to add more values, we may do so by appending an ampersand (&amp;) after each key-value combination, similar to how city=Nainital is appended after the name parameter. Now, when you click on the image of Nainital Lake, we want the picture.php page to appear, along with the value of the parameter.</p>



<h3 class="wp-block-heading">$_POST vs $_GET</h3>



<figure class="wp-block-image"><img decoding="async" src="https://image.slidesharecdn.com/variables-171203082259/95/php-variables-and-scopes-8-638.jpg?cb=1512295062" alt="PHP Variables and scopes"/></figure>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/tutorial-for-_get-in-super-global-variables/">Tutorial for $_GET in Super Global Variables</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.scmgalaxy.com/tutorials/tutorial-for-_get-in-super-global-variables/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>How to Become a Laravel Developer?</title>
		<link>https://www.scmgalaxy.com/tutorials/how-to-become-a-laravel-developer/</link>
					<comments>https://www.scmgalaxy.com/tutorials/how-to-become-a-laravel-developer/#respond</comments>
		
		<dc:creator><![CDATA[narayan k]]></dc:creator>
		<pubDate>Mon, 30 Aug 2021 11:09:55 +0000</pubDate>
				<category><![CDATA[Laravel]]></category>
		<category><![CDATA[laravel]]></category>
		<category><![CDATA[laravel developer]]></category>
		<category><![CDATA[Php]]></category>
		<category><![CDATA[php framework]]></category>
		<guid isPermaLink="false">https://www.scmgalaxy.com/tutorials/?p=8505</guid>

					<description><![CDATA[<p>In the world of web development, things are constantly changing. On the other hand, developers have to keep pace with [&#8230;]</p>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/how-to-become-a-laravel-developer/">How to Become a Laravel Developer?</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></description>
										<content:encoded><![CDATA[
<p class="wp-block-paragraph">In the world of web development, things are constantly changing. On the other hand, developers have to keep pace with the changing technologies, while businesses look for efficient technologies that help them engage with customers efficiently.</p>



<div class="wp-block-image"><figure class="aligncenter size-full is-resized"><img loading="lazy" decoding="async" src="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/08/hire_laravel_0.webp" alt="" class="wp-image-8506" width="451" height="351" srcset="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/08/hire_laravel_0.webp 900w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/08/hire_laravel_0-300x233.webp 300w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/08/hire_laravel_0-768x597.webp 768w" sizes="auto, (max-width: 451px) 100vw, 451px" /></figure></div>



<p class="wp-block-paragraph">One technology making major waves in the web development field is Laravel. The framework is a hit among web artisans because of its accessibility, power, and other add-on tools to build robust applications. Using the agile development approach, Laravel builds the entire development process without sacrificing functionality.</p>



<h4 class="wp-block-heading">What is Laravel?</h4>



<p class="wp-block-paragraph"><strong>Laravel </strong>is a free, open-source PHP-based Web Framework for building High-End Web Applications, following the Model View Controller architectural pattern and based on Symfony. It is created by Taylor Otwell. Laravel is a powerful MVC PHP framework designed for developers who need a simple and elegant toolkit to build full-featured web applications.</p>



<h4 class="wp-block-heading">What is Laravel Developer?</h4>



<p class="wp-block-paragraph">Laravel Developer is a software professional specializing in the Laravel framework. Now that Laravel technology includes a wide range of tools and libraries that speed up the development cycle, a Laravel developer can focus on design, innovation, functionality, and other things that really matter.</p>



<h4 class="wp-block-heading">Prerequisities of a Laravel Developer:</h4>



<ul class="wp-block-list"><li>Bachelor’s Degree/MS degree in Computer Science, Engineering, MIS, or similar relevant field.</li><li>Proficient in PHP, Javascript, MySQL, AJAX, jQuery, CSS and HTML.</li><li>Demonstrated attention to detail – in-depth knowledge of object-oriented PHP and Laravel 5 PHP Framework.</li><li>Experienced with SQL schema design, SOLID principles, REST API design</li><li>Software testing (PHPUnit, PHPSpec, Behat).</li><li>Excellent written and oral communication skills.</li><li>Working on Laravel won’t be easy so he has to be a creative thinker and a problem-solver.</li></ul>



<h4 class="wp-block-heading">Skills Required to Become an Laravel Developer:</h4>



<p class="wp-block-paragraph"><strong>It is fundamental to know PHP:</strong> Larvel is a PHP web framework and therefore must be well aware of PHP before placing his hand on the development process. Although it is built on the MVC pattern, its building blocks are PHP functions.</p>



<p class="wp-block-paragraph"><strong>Clarity on the MVC pattern:</strong> Larvel is a PHP web framework and therefore must be well aware of PHP before placing his hand on the development process. Although it is built on the MVC pattern, its building blocks are PHP functions.</p>



<h4 class="wp-block-heading">Why is Laravel the Best PHP Framework?</h4>



<p class="wp-block-paragraph">Because of the dire need for structured development methodologies. Laravel is a PHP framework that has become the go-to solution for developers around the world. It hosts a large ecosystem that allows for instant hosting and system deployment.</p>



<div class="wp-block-image"><figure class="aligncenter size-large is-resized"><img loading="lazy" decoding="async" src="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/08/laravel-1-1024x511.jpg" alt="" class="wp-image-8508" width="603" height="301" srcset="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/08/laravel-1-1024x511.jpg 1024w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/08/laravel-1-300x150.jpg 300w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/08/laravel-1-768x383.jpg 768w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/08/laravel-1.jpg 1290w" sizes="auto, (max-width: 603px) 100vw, 603px" /></figure></div>



<p class="wp-block-paragraph">In the corporate space, Laravel web development fundamentals have been extensively used to build websites that are capable of running behind complex algorithms and handling multiple visitors at once.</p>



<h4 class="wp-block-heading">Here are the some few reasons:</h4>



<ul class="wp-block-list"><li><strong>Security:</strong> One of the biggest headaches for programmers is building secure websites and apps. Laravel web development uniquely provides developers with a secure way to maintain the security of their apps.</li><li><strong>MVC Support: </strong>Another major reason why Laravel is beloved among developers is that it supports MVC architectures like Symfony which helps in establishing clarity between logic and presentation. As a result, the app is able to perform better and allows for better documentation.</li><li><strong>Object-Oriented Libraries:</strong> Larvel Framework provides an object-oriented library and comes with an array of pre-installed versions of which are not found in other PHP frameworks.</li><li><strong>Database Migration:</strong> Data between development between the machines is a major pain point for the synchronization programmers. After long working hours and countless changes in our database, these changes can be very hard to save your database. But with Laravel, database migration is very simple, you store these changes, migration, and seeds.</li></ul>



<h4 class="wp-block-heading">What does a Laravel Developer do?</h4>



<p class="wp-block-paragraph">The world of software technology has given rise to a community of developers who specialize in various technologies.</p>



<p class="wp-block-paragraph">A Laravel developer is like any other software developer. But, one thing that sets them apart is their special affinity for the Laravel framework using the PHP programming language. Larvel developers make it possible to create highly functional web applications that enhance the user experience.</p>



<h4 class="wp-block-heading">Roles and Responsibility of Laravel Developer:</h4>



<ul class="wp-block-list"><li>Building and maintaining modern web applications using standard web development tools</li><li>Writing clean and secure modular codes that have undergone strict testing and evaluation</li><li>Checking the validity and consistency of HTML, CSS, and JavaScript on different platforms</li><li>Debugging and resolving technical issues</li><li>Maintaining and designing databases</li><li>Performing back-end and User Interface (UI) tests to enhance the functionality of an application</li><li>Collaborating with other developers (front-end, back-end, mobile app, etc.) and project managers to move the Software projects faster</li><li>Documenting the task progress, architecture, and development process</li></ul>



<p class="wp-block-paragraph">The current PHP version is one of the most popular and desirable frameworks for companies that want to hire a Laravel developer, so if you&#8217;re well versed with the current version, your fellow developers will have your say. PHP includes over-the-top benefits and many other features that every software developer dreams of. It has libraries and modules which makes dynamic development a snap, plus saves development cost.</p>



<h4 class="wp-block-heading">Features of Laravel:</h4>



<div class="wp-block-image"><figure class="aligncenter size-full is-resized"><img loading="lazy" decoding="async" src="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/08/featuresof-laravel.png" alt="" class="wp-image-8509" width="483" height="325" srcset="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/08/featuresof-laravel.png 727w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/08/featuresof-laravel-300x202.png 300w" sizes="auto, (max-width: 483px) 100vw, 483px" /></figure></div>



<h4 class="wp-block-heading">The Future Scope of Laravel Developers:</h4>



<p class="wp-block-paragraph">Before saying anything about the future, I would like to mention here some MNCs which are using PHP today. Google, Yahoo, Rediff, Facebook, Intel, Digg, Flickr, Zynga, Borland, eBay, Nokia, Oracle, etc. I am telling you only one thing that there are a lot of small and popular online web applications based on PHP which is running online and they are all managed and addons by PHP developers. This means you have lots of opportunities to work with your dream companies.</p>



<p class="wp-block-paragraph">Some of the most frequent designations include Laravel Trainee, Programmer, Web Developer, Web Designer, Software Developer. So, you see the future is bright!</p>



<p class="wp-block-paragraph">To start with <strong><a href="https://www.devopsschool.com/certification/master-in-php-with-laravel.html" target="_blank" rel="noreferrer noopener">Laravel</a></strong>, check out the <strong>DevOpsSchool course</strong>. You&#8217;ll learn basic structures and techniques and dive into advanced Laravel concepts such as Views &amp; Blade Templating Engine, Working with Routes, Handling Requests &amp; Responses, Using Controllers and Models. You’ll even also join our <strong>Online </strong>and <strong>Classroom </strong>Programs.</p>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/how-to-become-a-laravel-developer/">How to Become a Laravel Developer?</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.scmgalaxy.com/tutorials/how-to-become-a-laravel-developer/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
	</channel>
</rss>
