<?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>abhishek k, Author at scmGalaxy</title>
	<atom:link href="https://www.scmgalaxy.com/tutorials/author/abhishek/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.scmgalaxy.com/tutorials/author/abhishek/</link>
	<description>A Platform for Software Engineers</description>
	<lastBuildDate>Sun, 09 May 2021 07:29:18 +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>How to setup mailtrap in laravel.</title>
		<link>https://www.scmgalaxy.com/tutorials/how-to-setup-mailtrap-in-laravel/</link>
					<comments>https://www.scmgalaxy.com/tutorials/how-to-setup-mailtrap-in-laravel/#respond</comments>
		
		<dc:creator><![CDATA[abhishek k]]></dc:creator>
		<pubDate>Tue, 20 Apr 2021 09:16:23 +0000</pubDate>
				<category><![CDATA[Laravel]]></category>
		<category><![CDATA[Websites]]></category>
		<category><![CDATA[How to setup mailtrap in laravel.]]></category>
		<category><![CDATA[laravel mailtrap]]></category>
		<category><![CDATA[mailtrap in laravel]]></category>
		<category><![CDATA[setup mailtrap]]></category>
		<category><![CDATA[setup mailtrap in laravel]]></category>
		<category><![CDATA[what is mailtrap]]></category>
		<guid isPermaLink="false">https://www.scmgalaxy.com/tutorials/?p=5930</guid>

					<description><![CDATA[<p>Everyone who is developing an application needs to test it with emails. These emails which we test can be a [&#8230;]</p>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/how-to-setup-mailtrap-in-laravel/">How to setup mailtrap in laravel.</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></description>
										<content:encoded><![CDATA[
<p class="wp-block-paragraph">Everyone who is developing an application needs to test it with emails. These emails which we test can be a real heactic task if we use the real email ids. we will have to create or ask different persons for their emails and work on it. This is a real heactic task. </p>



<p class="wp-block-paragraph">To sort out this problem there a great solution that we can use. its <strong>Mailtrap.io</strong></p>



<p class="wp-block-paragraph" style="font-size:28px"><strong>What is Mailtrap?</strong></p>



<p class="wp-block-paragraph">Mailtrap is a fake SMTP server to test, view and share emails sent from the development and staging environments. Mailtrap provides <em>dummy email veryfications</em> once we have set it up for the application. All emails sent to Mailtrap are held in the Mailtrap inbox.</p>



<p class="wp-block-paragraph" style="font-size:28px"><strong>How to setup Mailtrap.</strong></p>



<p class="wp-block-paragraph">There is very simple steps to set it up. we just need to follow the following steps.</p>



<ol class="wp-block-list"><li>We first have to create an account, for this we need to visit&nbsp;<a href="https://mailtrap.io/">https://mailtrap.io</a>  we will see an interface as </li></ol>



<figure class="wp-block-image size-large"><img fetchpriority="high" decoding="async" width="1024" height="576" src="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/04/image-14-1024x576.png" alt="" class="wp-image-5941" srcset="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/04/image-14-1024x576.png 1024w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/04/image-14-300x169.png 300w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/04/image-14-768x432.png 768w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/04/image-14-1536x864.png 1536w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/04/image-14.png 1920w" sizes="(max-width: 1024px) 100vw, 1024px" /><figcaption>mailtrap signup</figcaption></figure>



<ol class="wp-block-list"><li>Then we need to click on signup button to&nbsp;signup either through your Google account, GitHub account or by providing your email address and password.  we will see interface as </li></ol>



<figure class="wp-block-image size-large"><img decoding="async" width="1024" height="576" src="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/04/image-15-1024x576.png" alt="" class="wp-image-5942" srcset="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/04/image-15-1024x576.png 1024w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/04/image-15-300x169.png 300w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/04/image-15-768x432.png 768w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/04/image-15-1536x864.png 1536w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/04/image-15.png 1920w" sizes="(max-width: 1024px) 100vw, 1024px" /><figcaption>mailtrap signup with account</figcaption></figure>



<ol class="wp-block-list"><li>Soon after the signup we will see interface like thatNow we are ready to go. </li></ol>



<figure class="wp-block-image size-large"><img decoding="async" width="1024" height="576" src="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/04/image-13-1024x576.png" alt="" class="wp-image-5940" srcset="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/04/image-13-1024x576.png 1024w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/04/image-13-300x169.png 300w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/04/image-13-768x432.png 768w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/04/image-13-1536x864.png 1536w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/04/image-13.png 1920w" sizes="(max-width: 1024px) 100vw, 1024px" /></figure>



<p class="wp-block-paragraph"></p>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/how-to-setup-mailtrap-in-laravel/">How to setup mailtrap in laravel.</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-setup-mailtrap-in-laravel/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>How to fix PHP fatal error in Laravel?  Allowed memory size of 1610612736 bytes exhausted (tried to allocate 4096 bytes)</title>
		<link>https://www.scmgalaxy.com/tutorials/how-to-fix-php-fatal-error-in-laravel-allowed-memory-size-of-1610612736-bytes-exhausted-tried-to-allocate-4096-bytes/</link>
					<comments>https://www.scmgalaxy.com/tutorials/how-to-fix-php-fatal-error-in-laravel-allowed-memory-size-of-1610612736-bytes-exhausted-tried-to-allocate-4096-bytes/#respond</comments>
		
		<dc:creator><![CDATA[abhishek k]]></dc:creator>
		<pubDate>Sat, 17 Apr 2021 06:30:30 +0000</pubDate>
				<category><![CDATA[Laravel]]></category>
		<category><![CDATA[Websites]]></category>
		<category><![CDATA[Allowed memory size of 1610612736 bytes exhausted (tried to allocate 4096 bytes)]]></category>
		<category><![CDATA[Fatal error]]></category>
		<category><![CDATA[fatal error in php]]></category>
		<category><![CDATA[fix PHP fatal error in Laravel]]></category>
		<category><![CDATA[How to fix PHP fatal error in Laravel?]]></category>
		<category><![CDATA[memory limit exceeded in php]]></category>
		<category><![CDATA[memory size exhausted]]></category>
		<category><![CDATA[php Fatal error]]></category>
		<guid isPermaLink="false">https://www.scmgalaxy.com/tutorials/?p=5912</guid>

					<description><![CDATA[<p>Whenever we type the below displayed command We see the command runs initially good but there comes some problem in [&#8230;]</p>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/how-to-fix-php-fatal-error-in-laravel-allowed-memory-size-of-1610612736-bytes-exhausted-tried-to-allocate-4096-bytes/">How to fix PHP fatal error in Laravel?  Allowed memory size of 1610612736 bytes exhausted (tried to allocate 4096 bytes)</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></description>
										<content:encoded><![CDATA[
<p class="wp-block-paragraph">Whenever we type the below displayed command </p>



<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="425" height="57" src="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/04/image-7.png" alt="" class="wp-image-5915" srcset="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/04/image-7.png 425w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/04/image-7-300x40.png 300w" sizes="auto, (max-width: 425px) 100vw, 425px" /><figcaption>locobucci error</figcaption></figure>



<p class="wp-block-paragraph">We see the command runs initially good but there comes some problem in few moments. similar to </p>



<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="1024" height="119" src="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/04/image-6-1024x119.png" alt="" class="wp-image-5914" srcset="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/04/image-6-1024x119.png 1024w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/04/image-6-300x35.png 300w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/04/image-6-768x90.png 768w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/04/image-6.png 1466w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /><figcaption>php fatal error</figcaption></figure>



<p class="wp-block-paragraph">This error is PHP fatal error: and complete display image is </p>



<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="1024" height="367" src="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/04/image-5-1024x367.png" alt="" class="wp-image-5913" srcset="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/04/image-5-1024x367.png 1024w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/04/image-5-300x108.png 300w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/04/image-5-768x275.png 768w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/04/image-5.png 1486w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /><figcaption>fatal error complete image</figcaption></figure>



<p class="wp-block-paragraph" style="font-size:25px"><strong>What we need to do to remove this ?</strong></p>



<p class="wp-block-paragraph">Folllow the below steps:</p>



<ol class="wp-block-list"><li>Close the xampp if its running.</li><li>got to <strong>“C:\ProgramData\ComposerSetup\bin”</strong>  (we can copy the location and paste it in the explorer header) </li></ol>



<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="733" height="108" src="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/04/image-8.png" alt="" class="wp-image-5917" srcset="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/04/image-8.png 733w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/04/image-8-300x44.png 300w" sizes="auto, (max-width: 733px) 100vw, 733px" /><figcaption>explorer heading</figcaption></figure>



<p class="wp-block-paragraph">just press on the above header (after pc) and paste the location and press enter  </p>



<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="648" height="108" src="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/04/image-9.png" alt="" class="wp-image-5918" srcset="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/04/image-9.png 648w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/04/image-9-300x50.png 300w" sizes="auto, (max-width: 648px) 100vw, 648px" /><figcaption>composer setup/bin location</figcaption></figure>



<p class="wp-block-paragraph">This will open the file location: </p>



<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="865" height="227" src="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/04/image-10.png" alt="" class="wp-image-5919" srcset="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/04/image-10.png 865w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/04/image-10-300x79.png 300w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/04/image-10-768x202.png 768w" sizes="auto, (max-width: 865px) 100vw, 865px" /></figure>



<p class="wp-block-paragraph">3. We then need to open the <strong>composer.bat</strong> to edit it (<em>right click on it and click on edit with notepad++</em>)</p>



<p class="wp-block-paragraph">4. Now just copy the below code and <strong>replace </strong>it with the code present in <strong>composer.bat</strong> </p>



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


<div class="wp-block-syntaxhighlighter-code "><pre class="brush: plain; title: ; notranslate">
@echo OFF
:: in case DelayedExpansion is on and a path contains ! 
setlocal DISABLEDELAYEDEXPANSION
php -d memory_limit=-1 &quot;%~dp0composer.phar&quot; %*

</pre></div>


<p class="wp-block-paragraph">5. <strong>Now save it.</strong>  For saving it</p>



<ul class="wp-block-list"><li>Press (Ctrl + S)</li><li>we will be prompted as run as Administrator. </li><li>press Allow</li><li>Then again Press ( Ctrl + S)</li><li>The file will be saved.</li></ul>



<p class="wp-block-paragraph">Now we can run the above command and check it.  </p>



<p class="wp-block-paragraph">we will see the command execuites sucessfully </p>



<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="1024" height="626" src="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/04/image-11-1024x626.png" alt="" class="wp-image-5920" srcset="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/04/image-11-1024x626.png 1024w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/04/image-11-300x183.png 300w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/04/image-11-768x470.png 768w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/04/image-11.png 1511w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></figure>



<p class="wp-block-paragraph">Happy Coding!</p>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/how-to-fix-php-fatal-error-in-laravel-allowed-memory-size-of-1610612736-bytes-exhausted-tried-to-allocate-4096-bytes/">How to fix PHP fatal error in Laravel?  Allowed memory size of 1610612736 bytes exhausted (tried to allocate 4096 bytes)</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-fix-php-fatal-error-in-laravel-allowed-memory-size-of-1610612736-bytes-exhausted-tried-to-allocate-4096-bytes/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>How to fix oauth private key does not exist problem in Laravel?</title>
		<link>https://www.scmgalaxy.com/tutorials/how-to-fix-oauth-private-key-does-not-exist-problem-in-laravel/</link>
					<comments>https://www.scmgalaxy.com/tutorials/how-to-fix-oauth-private-key-does-not-exist-problem-in-laravel/#respond</comments>
		
		<dc:creator><![CDATA[abhishek k]]></dc:creator>
		<pubDate>Fri, 16 Apr 2021 12:25:09 +0000</pubDate>
				<category><![CDATA[Laravel]]></category>
		<category><![CDATA[Websites]]></category>
		<category><![CDATA[authentication failed]]></category>
		<category><![CDATA[laravel private key problem]]></category>
		<category><![CDATA[oauth private key does not exist problem in Laravel]]></category>
		<category><![CDATA[oauth private key doesnot exist]]></category>
		<category><![CDATA[private key does not exist]]></category>
		<guid isPermaLink="false">https://www.scmgalaxy.com/tutorials/?p=5906</guid>

					<description><![CDATA[<p>If we get error as Auth private key does not exist on the browser when we run any laravel project [&#8230;]</p>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/how-to-fix-oauth-private-key-does-not-exist-problem-in-laravel/">How to fix oauth private key does not exist problem in Laravel?</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></description>
										<content:encoded><![CDATA[
<p class="wp-block-paragraph">If we get error as Auth private key does not exist on the browser when we run any laravel project .</p>



<p class="wp-block-paragraph">Something similar to </p>



<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="1024" height="576" src="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/04/image-2-1024x576.png" alt="" class="wp-image-5907" srcset="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/04/image-2-1024x576.png 1024w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/04/image-2-300x169.png 300w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/04/image-2-768x432.png 768w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/04/image-2-1536x864.png 1536w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/04/image-2.png 1920w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /><figcaption>privet auth key not found</figcaption></figure>



<p class="wp-block-paragraph">Then we just need to install the passport and do the changes to the places where needed.</p>



<p class="wp-block-paragraph">Command to install Passport:</p>


<div class="wp-block-syntaxhighlighter-code "><pre class="brush: plain; title: ; notranslate">
php artisan passport:install
</pre></div>


<p class="wp-block-paragraph">Soon after the passport is install we will get the following things: </p>



<ol class="wp-block-list"><li>Client id </li><li>Client secret </li></ol>



<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="1024" height="576" src="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/04/image-3-1024x576.png" alt="" class="wp-image-5908" srcset="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/04/image-3-1024x576.png 1024w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/04/image-3-300x169.png 300w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/04/image-3-768x432.png 768w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/04/image-3-1536x864.png 1536w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/04/image-3.png 1920w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /><figcaption>client id and client secret</figcaption></figure>



<p class="wp-block-paragraph">We need to put client id in the in env files where required. </p>



<p class="wp-block-paragraph">Somewhat similar to given below: </p>



<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="1182" height="664" src="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/04/image-4-edited.png" alt="" class="wp-image-5910" srcset="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/04/image-4-edited.png 1182w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/04/image-4-edited-300x169.png 300w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/04/image-4-edited-1024x575.png 1024w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/04/image-4-edited-768x431.png 768w" sizes="auto, (max-width: 1182px) 100vw, 1182px" /><figcaption>placing client id and secret</figcaption></figure>



<p class="wp-block-paragraph">We need to change the client id and client secret to all the places where the concern configuration are used. </p>



<p class="wp-block-paragraph"><strong>Few important links for reference :</strong></p>



<ol class="wp-block-list"><li>Setup laravel project and understand folder structure click <a rel="noreferrer noopener" href="https://www.scmgalaxy.com/tutorials/setup-a-laravel-project-and-understand-the-folder-structure/" target="_blank">here</a>.</li><li>Crud operation and detailed explaination. click <a rel="noreferrer noopener" href="https://www.scmgalaxy.com/tutorials/crud-operation-detailed-explaination-with-example/" target="_blank">here</a>.</li></ol>



<p class="wp-block-paragraph"></p>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/how-to-fix-oauth-private-key-does-not-exist-problem-in-laravel/">How to fix oauth private key does not exist problem in Laravel?</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-fix-oauth-private-key-does-not-exist-problem-in-laravel/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>How to fix vendor directory not present ?</title>
		<link>https://www.scmgalaxy.com/tutorials/how-to-fix-vendor-directory-not-present/</link>
					<comments>https://www.scmgalaxy.com/tutorials/how-to-fix-vendor-directory-not-present/#respond</comments>
		
		<dc:creator><![CDATA[abhishek k]]></dc:creator>
		<pubDate>Fri, 16 Apr 2021 09:10:37 +0000</pubDate>
				<category><![CDATA[Laravel]]></category>
		<category><![CDATA[Websites]]></category>
		<category><![CDATA[composer update]]></category>
		<category><![CDATA[laravel composer]]></category>
		<category><![CDATA[vendor issue fix]]></category>
		<category><![CDATA[vendor not found]]></category>
		<category><![CDATA[vendor not present]]></category>
		<guid isPermaLink="false">https://www.scmgalaxy.com/tutorials/?p=5901</guid>

					<description><![CDATA[<p>whenever we run the artisan command to migrate the control looks for the vendor directory and some files inside it. [&#8230;]</p>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/how-to-fix-vendor-directory-not-present/">How to fix vendor directory not present ?</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></description>
										<content:encoded><![CDATA[
<p class="wp-block-paragraph">whenever we run the <strong>artisan </strong>command to migrate the control looks for the vendor directory and some files inside it. thus if the vendor directory is not present, the command will not get execuited and we will get error. </p>



<p class="wp-block-paragraph">The error which we see looks like :-</p>



<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="1182" height="664" src="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/04/image-edited.png" alt="" class="wp-image-5903" srcset="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/04/image-edited.png 1182w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/04/image-edited-300x169.png 300w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/04/image-edited-1024x575.png 1024w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/04/image-edited-768x431.png 768w" sizes="auto, (max-width: 1182px) 100vw, 1182px" /><figcaption>vendor directory not present</figcaption></figure>



<p class="wp-block-paragraph">To overcome this error we need to update the composer thus we need to write </p>


<div class="wp-block-syntaxhighlighter-code "><pre class="brush: plain; title: ; notranslate">
composer update 
</pre></div>


<p class="wp-block-paragraph">This would download and update the composer and all the packages and files inside it.</p>



<p class="wp-block-paragraph">The updated pages will look like:</p>



<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="1024" height="576" src="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/04/image-1-1024x576.png" alt="" class="wp-image-5904" srcset="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/04/image-1-1024x576.png 1024w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/04/image-1-300x169.png 300w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/04/image-1-768x432.png 768w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/04/image-1-1536x864.png 1536w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/04/image-1.png 1920w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></figure>



<p class="wp-block-paragraph">The complete packages which will be downloaded and updated are listed below.</p>


<div class="wp-block-syntaxhighlighter-code "><pre class="brush: plain; title: ; notranslate">
PS C:\xampp\htdocs\mhn-doctors-ms&gt; composer update 
Loading composer repositories with package information
Warning from https://repo.packagist.org: You are using an outdated version of Composer. Composer 2 is now available and you should upgrade. See https://getcomposer.org/2
Updating dependencies (including require-dev)
Package operations: 96 installs, 0 updates, 0 removals
  - Installing kylekatarnls/update-helper (1.2.1): Loading from cache
  - Installing symfony/thanks (v1.2.10): Loading from cache
  - Installing symfony/finder (v3.4.47): Loading from cache
  - Installing psr/log (1.1.3): Loading from cache
  - Installing symfony/debug (v3.4.47): Loading from cache
  - Installing symfony/polyfill-ctype (v1.22.1): Loading from cache
  - Installing vlucas/phpdotenv (v2.6.7): Loading from cache
  - Installing symfony/css-selector (v5.2.4): Loading from cache
  - Installing tijsverkoyen/css-to-inline-styles (2.2.3): Loading from cache
  - Installing symfony/polyfill-mbstring (v1.22.1): Loading from cache
  - Installing symfony/var-dumper (v3.4.47): Loading from cache
  - Installing symfony/routing (v3.4.47): Loading from cache
  - Installing symfony/process (v3.4.47): Loading from cache
  - Installing symfony/polyfill-php72 (v1.22.1): Loading from cache
  - Installing symfony/polyfill-intl-normalizer (v1.22.1): Loading from cache
  - Installing symfony/polyfill-intl-idn (v1.22.1): Loading from cache
  - Installing symfony/polyfill-php70 (v1.20.0)
  - Installing paragonie/random_compat (v2.0.19): Loading from cache
  - Installing symfony/http-foundation (v3.4.47): Loading from cache
  - Installing symfony/event-dispatcher-contracts (v1.1.9): Loading from cache
  - Installing psr/container (1.1.1): Loading from cache
  - Installing symfony/event-dispatcher (v4.4.20): Loading from cache
  - Installing symfony/polyfill-php56 (v1.20.0)
  - Installing symfony/http-kernel (v3.4.47): Loading from cache
  - Installing symfony/console (v3.4.47): Loading from cache
  - Installing symfony/polyfill-iconv (v1.22.1): Loading from cache
  - Installing doctrine/lexer (1.2.1): Loading from cache
  - Installing egulias/email-validator (3.1.1): Downloading (100%)
  - Installing swiftmailer/swiftmailer (v6.2.7): Loading from cache
  - Installing ramsey/uuid (3.9.3): Loading from cache
  - Installing psr/simple-cache (1.0.1): Loading from cache
  - Installing symfony/translation-contracts (v1.1.10): Loading from cache
  - Installing symfony/translation (v4.3.11): Loading from cache
  - Installing nesbot/carbon (1.39.1): Loading from cache
  - Installing mtdowling/cron-expression (v1.2.3): Loading from cache
  - Installing monolog/monolog (1.26.0): Loading from cache
  - Installing league/mime-type-detection (1.7.0): Loading from cache
  - Installing league/flysystem (1.1.3): Loading from cache
  - Installing erusev/parsedown (1.7.4): Loading from cache
  - Installing doctrine/inflector (1.4.3): Loading from cache
  - Installing laravel/framework (v5.5.50): Loading from cache
  - Installing maximebf/debugbar (v1.16.5): Loading from cache
  - Installing barryvdh/laravel-debugbar (v3.4.2): Loading from cache
  - Installing fideloper/proxy (3.3.4): Loading from cache
  - Installing psr/http-message (1.0.1): Loading from cache
  - Installing zendframework/zend-diactoros (1.8.7): Loading from cache
  - Installing symfony/psr-http-message-bridge (v1.2.0): Loading from cache
  - Installing phpseclib/phpseclib (2.0.31): Downloading (100%)
  - Installing defuse/php-encryption (v2.3.1): Downloading (100%)
  - Installing lcobucci/jwt (3.4.5): Loading from cache
  - Installing league/event (2.2.0): Loading from cache
  - Installing league/oauth2-server (6.1.1): Loading from cache
  - Installing ralouphie/getallheaders (3.0.3): Loading from cache
  - Installing guzzlehttp/psr7 (1.8.1): Loading from cache
  - Installing guzzlehttp/promises (1.4.1): Loading from cache
  - Installing guzzlehttp/guzzle (6.5.5): Loading from cache
  - Installing firebase/php-jwt (v5.2.1): Loading from cache
  - Installing laravel/passport (v4.0.3): Loading from cache
  - Installing jakub-onderka/php-console-color (v0.2): Loading from cache
  - Installing jakub-onderka/php-console-highlighter (v0.4): Loading from cache
  - Installing nikic/php-parser (v4.10.4): Loading from cache
  - Installing dnoegel/php-xdg-base-dir (v0.1.1): Loading from cache
  - Installing psy/psysh (v0.9.12): Loading from cache
  - Installing laravel/tinker (v1.0.10): Loading from cache
  - Installing filp/whoops (2.12.0): Downloading (100%)
  - Installing fzaninotto/faker (v1.9.2): Loading from cache
  - Installing hamcrest/hamcrest-php (v2.0.1): Loading from cache
  - Installing mockery/mockery (1.3.4): Loading from cache
  - Installing sebastian/version (2.0.1): Loading from cache
  - Installing sebastian/resource-operations (1.0.0): Loading from cache
  - Installing sebastian/recursion-context (3.0.1): Loading from cache
  - Installing sebastian/object-reflector (1.1.2): Loading from cache
  - Installing sebastian/object-enumerator (3.0.4): Loading from cache
  - Installing sebastian/global-state (2.0.0): Loading from cache
  - Installing sebastian/exporter (3.1.3): Loading from cache
  - Installing sebastian/environment (3.1.0): Loading from cache
  - Installing sebastian/diff (2.0.1): Loading from cache
  - Installing sebastian/comparator (2.1.3): Loading from cache
  - Installing doctrine/instantiator (1.4.0): Loading from cache
  - Installing phpunit/php-text-template (1.2.1): Loading from cache
  - Installing phpunit/phpunit-mock-objects (5.0.10): Loading from cache
  - Installing phpunit/php-timer (1.0.9): Loading from cache
  - Installing phpunit/php-file-iterator (1.4.5): Loading from cache
  - Installing theseer/tokenizer (1.2.0): Loading from cache
  - Installing sebastian/code-unit-reverse-lookup (1.0.2): Loading from cache
  - Installing phpunit/php-token-stream (2.0.2): Loading from cache
  - Installing phpunit/php-code-coverage (5.3.2): Loading from cache
  - Installing webmozart/assert (1.10.0): Loading from cache
  - Installing phpdocumentor/reflection-common (2.2.0): Loading from cache
  - Installing phpdocumentor/type-resolver (1.4.0): Loading from cache
  - Installing phpdocumentor/reflection-docblock (5.2.2): Loading from cache
  - Installing phpspec/prophecy (v1.10.3): Loading from cache
  - Installing phar-io/version (1.0.1): Loading from cache
  - Installing phar-io/manifest (1.0.1): Loading from cache
  - Installing myclabs/deep-copy (1.10.2): Loading from cache
  - Installing phpunit/phpunit (6.5.14): Loading from cache
symfony/var-dumper suggests installing ext-intl (To show region name in time zone dump)
symfony/var-dumper suggests installing ext-symfony_debug
symfony/routing suggests installing symfony/config (For using the all-in-one router or any loader)
symfony/routing suggests installing symfony/yaml (For using the YAML loader)
symfony/routing suggests installing symfony/expression-language (For using expression matching)
symfony/routing suggests installing doctrine/annotations (For using the annotation loader)
symfony/polyfill-intl-normalizer suggests installing ext-intl (For best performance)
symfony/polyfill-intl-idn suggests installing ext-intl (For best performance)
paragonie/random_compat suggests installing ext-libsodium (Provides a modern crypto API that can be used to generate random bytes.) 
symfony/event-dispatcher-contracts suggests installing psr/event-dispatcher
symfony/event-dispatcher suggests installing symfony/dependency-injection
symfony/http-kernel suggests installing symfony/browser-kit
symfony/http-kernel suggests installing symfony/config
symfony/http-kernel suggests installing symfony/dependency-injection
symfony/console suggests installing symfony/lock
egulias/email-validator suggests installing ext-intl (PHP Internationalization Libraries are required to use the SpoofChecking validation)
swiftmailer/swiftmailer suggests installing ext-intl (Needed to support internationalized email addresses)
ramsey/uuid suggests installing ext-libsodium (Provides the PECL libsodium extension for use with the SodiumRandomGenerator)        
ramsey/uuid suggests installing ext-uuid (Provides the PECL UUID extension for use with the PeclUuidTimeGenerator and PeclUuidRandomGenerator)
ramsey/uuid suggests installing moontoast/math (Provides support for converting UUID to 128-bit integer (in string form).)
ramsey/uuid suggests installing ramsey/uuid-console (A console application for generating UUIDs with ramsey/uuid)
ramsey/uuid suggests installing ramsey/uuid-doctrine (Allows the use of Ramsey\Uuid\Uuid as Doctrine field type.)
ramsey/uuid suggests installing paragonie/random-lib (Provides RandomLib for use with the RandomLibAdapter)
symfony/translation suggests installing symfony/config
symfony/translation suggests installing symfony/yaml
monolog/monolog suggests installing graylog2/gelf-php (Allow sending log messages to a GrayLog2 server)
monolog/monolog suggests installing sentry/sentry (Allow sending log messages to a Sentry server)
monolog/monolog suggests installing doctrine/couchdb (Allow sending log messages to a CouchDB server)
monolog/monolog suggests installing ruflin/elastica (Allow sending log messages to an Elastic Search server)
monolog/monolog suggests installing php-amqplib/php-amqplib (Allow sending log messages to an AMQP server using php-amqplib)        
monolog/monolog suggests installing ext-amqp (Allow sending log messages to an AMQP server (1.0+ required))
monolog/monolog suggests installing ext-mongo (Allow sending log messages to a MongoDB server)
monolog/monolog suggests installing mongodb/mongodb (Allow sending log messages to a MongoDB server via PHP Driver)
monolog/monolog suggests installing aws/aws-sdk-php (Allow sending log messages to AWS services like DynamoDB)
monolog/monolog suggests installing rollbar/rollbar (Allow sending log messages to Rollbar)
monolog/monolog suggests installing php-console/php-console (Allow sending log messages to Google Chrome)
league/flysystem suggests installing league/flysystem-eventable-filesystem (Allows you to use EventableFilesystem)
league/flysystem suggests installing league/flysystem-rackspace (Allows you to use Rackspace Cloud Files)
league/flysystem suggests installing league/flysystem-azure (Allows you to use Windows Azure Blob storage)
league/flysystem suggests installing league/flysystem-webdav (Allows you to use WebDAV storage)
league/flysystem suggests installing league/flysystem-aws-s3-v2 (Allows you to use S3 storage with AWS SDK v2)
league/flysystem suggests installing league/flysystem-aws-s3-v3 (Allows you to use S3 storage with AWS SDK v3)
league/flysystem suggests installing spatie/flysystem-dropbox (Allows you to use Dropbox storage)
league/flysystem suggests installing srmklive/flysystem-dropbox-v2 (Allows you to use Dropbox storage for PHP 5 applications)       
league/flysystem suggests installing league/flysystem-cached-adapter (Flysystem adapter decorator for metadata caching)
league/flysystem suggests installing league/flysystem-sftp (Allows you to use SFTP server storage via phpseclib)
league/flysystem suggests installing league/flysystem-ziparchive (Allows you to use ZipArchive adapter)
laravel/framework suggests installing ext-pcntl (Required to use all features of the queue worker.)
laravel/framework suggests installing ext-posix (Required to use all features of the queue worker.)
laravel/framework suggests installing aws/aws-sdk-php (Required to use the SQS queue driver and SES mail driver (~3.0).)
laravel/framework suggests installing doctrine/dbal (Required to rename columns and drop SQLite columns (~2.5).)
laravel/framework suggests installing league/flysystem-aws-s3-v3 (Required to use the Flysystem S3 driver (~1.0).)
laravel/framework suggests installing league/flysystem-rackspace (Required to use the Flysystem Rackspace driver (~1.0).)
laravel/framework suggests installing league/flysystem-cached-adapter (Required to use Flysystem caching (~1.0).)
laravel/framework suggests installing nexmo/client (Required to use the Nexmo transport (~1.0).)
laravel/framework suggests installing pda/pheanstalk (Required to use the beanstalk queue driver (~3.0).)
laravel/framework suggests installing predis/predis (Required to use the redis cache and queue drivers (~1.0).)
laravel/framework suggests installing pusher/pusher-php-server (Required to use the Pusher broadcast driver (~3.0).)
laravel/framework suggests installing symfony/dom-crawler (Required to use most of the crawler integration testing tools (~3.3).)   
maximebf/debugbar suggests installing kriswallsmith/assetic (The best way to manage assets)
maximebf/debugbar suggests installing predis/predis (Redis storage)
symfony/psr-http-message-bridge suggests installing nyholm/psr7 (For a super lightweight PSR-7/17 implementation)
phpseclib/phpseclib suggests installing ext-libsodium (SSH2/SFTP can make use of some algorithms provided by the libsodium-php extension.)
phpseclib/phpseclib suggests installing ext-mcrypt (Install the Mcrypt extension in order to speed up a few other cryptographic operations.)
phpseclib/phpseclib suggests installing ext-gmp (Install the GMP (GNU Multiple Precision) extension in order to speed up arbitrary precision integer arithmetic operations.)
lcobucci/jwt suggests installing lcobucci/clock (*)
guzzlehttp/psr7 suggests installing laminas/laminas-httphandlerrunner (Emit PSR-7 responses)
psy/psysh suggests installing ext-pcntl (Enabling the PCNTL extension makes PsySH a lot happier :))
psy/psysh suggests installing ext-posix (If you have PCNTL, you&#039;ll want the POSIX extension as well.)
psy/psysh suggests installing ext-pdo-sqlite (The doc command requires SQLite to work.)
psy/psysh suggests installing hoa/console (A pure PHP readline implementation. You&#039;ll want this if your PHP install doesn&#039;t already 
support readline or libedit.)
filp/whoops suggests installing whoops/soap (Formats errors as SOAP responses)
sebastian/global-state suggests installing ext-uopz (*)
phpunit/phpunit-mock-objects suggests installing ext-soap (*)
phpunit/php-code-coverage suggests installing ext-xdebug (^2.5.5)
phpunit/phpunit suggests installing phpunit/php-invoker (^1.1)
phpunit/phpunit suggests installing ext-xdebug (*)
Package mtdowling/cron-expression is abandoned, you should avoid using it. Use dragonmantank/cron-expression instead.
Package zendframework/zend-diactoros is abandoned, you should avoid using it. Use laminas/laminas-diactoros instead.
Package jakub-onderka/php-console-color is abandoned, you should avoid using it. Use php-parallel-lint/php-console-color instead.   
Package jakub-onderka/php-console-highlighter is abandoned, you should avoid using it. Use php-parallel-lint/php-console-highlighter instead.
Package fzaninotto/faker is abandoned, you should avoid using it. No replacement was suggested.
Package phpunit/phpunit-mock-objects is abandoned, you should avoid using it. No replacement was suggested.
Package phpunit/php-token-stream is abandoned, you should avoid using it. No replacement was suggested.
Writing lock file
Generating optimized autoload files
Carbon 1 is deprecated, see how to migrate to Carbon 2.
https://carbon.nesbot.com/docs/#api-carbon-2
    You can run &quot;.\vendor\bin\upgrade-carbon&quot; to get help in updating carbon and other frameworks and libraries that depend on it.  
&gt; @php artisan package:discover
Discovered Package: fideloper/proxy
Discovered Package: laravel/tinker
Discovered Package: nesbot/carbon
Package manifest generated successfully.
42 packages you are using are looking for funding.
Use the `composer fund` command to find out more!
</pre></div><p>The post <a href="https://www.scmgalaxy.com/tutorials/how-to-fix-vendor-directory-not-present/">How to fix vendor directory not present ?</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-fix-vendor-directory-not-present/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Built-in/Predefined Methods in JavaScript</title>
		<link>https://www.scmgalaxy.com/tutorials/built-in-predefined-methods-in-javascript/</link>
					<comments>https://www.scmgalaxy.com/tutorials/built-in-predefined-methods-in-javascript/#respond</comments>
		
		<dc:creator><![CDATA[abhishek k]]></dc:creator>
		<pubDate>Fri, 26 Mar 2021 13:08:18 +0000</pubDate>
				<category><![CDATA[JavaScript]]></category>
		<category><![CDATA[Websites]]></category>
		<category><![CDATA[buildin function in javascript]]></category>
		<category><![CDATA[Built-in/Predefined Methods in JavaScript]]></category>
		<category><![CDATA[function types in javascript]]></category>
		<category><![CDATA[functions in javascript]]></category>
		<category><![CDATA[predefined function in javascript]]></category>
		<guid isPermaLink="false">http://www.scmgalaxy.com/tutorials/?p=5769</guid>

					<description><![CDATA[<p>In JavaScript, however, a method is a function that belongs to an object. A JavaScript method is a property containing a function definition. There is a long list [&#8230;]</p>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/built-in-predefined-methods-in-javascript/">Built-in/Predefined Methods in JavaScript</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></description>
										<content:encoded><![CDATA[
<p class="wp-block-paragraph">In JavaScript, however, a <em>method</em> is a <strong>function</strong> that belongs to an <strong><em>object</em></strong>. A JavaScript <strong>method</strong> is a property containing a <strong>function definition</strong>.</p>



<p class="wp-block-paragraph">There is a long list of Built-in or pre-defined methods in JavaScript</p>



<p class="has-medium-font-size wp-block-paragraph"> <strong>Maths Methods in JavaScript</strong></p>



<ul class="wp-block-list" start="12"><li>min() ->Returns the smallest of zero or more numbers.</li><li>pow() ->Returns base to the exponent power, that is, base exponent.</li><li>abs() ->Returns the absolute value of a number.</li><li>acos() ->Returns the arccosine (in radians) of a number.</li><li>asin() ->Returns the arcsine (in radians) of a number.</li><li>sin() ->Returns the sine of a number.</li><li>sqrt() ->Returns the square root of a number.</li><li>tan() ->Returns the tangent of a number.</li><li>atan() ->Returns the arctangent (in radians) of a number.</li><li>atan2() ->Returns the arctangent of the quotient of its arguments.</li><li>exp() ->Returns EN, where N is the argument, and E is Euler&#8217;s constant, the base of the natural logarithm.</li><li>floor() ->Returns the largest integer less than or equal to a number.</li><li>log() ->Returns the natural logarithm (base E) of a number.</li><li>max() ->Returns the largest of zero or more numbers.</li><li>ceil() ->Returns the smallest integer greater than or equal to a number.</li><li>cos() ->Returns the cosine of a number.</li><li>random() ->Returns a pseudo-random number between 0 and 1.</li><li>round() ->Returns the value of a number rounded to the nearest integer.</li><li>toSource() ->Returns the string &#8220;Math&#8221;.</li></ul>



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



<p class="has-medium-font-size wp-block-paragraph"><strong>Boolean Methods in JavaScript</strong></p>



<ul class="wp-block-list"><li>toString() ->Returns a string of either &#8220;true&#8221; or &#8220;false&#8221; depending upon the value of the object.</li><li>toSource() ->Returns a string containing the source of the Boolean object; you can use this string to create an equivalent object.</li><li>valueOf() ->Returns the primitive value of the Boolean object.</li></ul>



<p class="has-medium-font-size wp-block-paragraph"><strong>String Methods in JavaScript</strong></p>



<ul class="wp-block-list"><li>length() ->Returns the length of the string.</li><li>search() ->Executes the search for a match between a regular expression and a specified string.</li><li>split() ->Splits a String object into an array of strings by separating the string into substrings.</li><li>lastIndexOf() ->Returns the index within the calling String object of the last occurrence of the specified value, or -1 if not found.</li><li>charAt() ->Returns the character at the specified index.</li><li>match() ->Used to match a regular expression against a string.</li><li>charCodeAt() ->Returns a number indicating the Unicode value of the character at the given index.</li><li>concat()-Combines the text of two strings and returns a new string.</li><li>replace() ->Used to find a match between a regular expression and a string and to replace the matched substring with a new substring.</li><li>substr() ->Returns the characters in a string beginning at the specified location through the specified number of characters.</li><li>toLowerCase() ->Returns the calling string value converted to lower case.</li><li>toString() ->Returns a string representing the specified object.</li><li>toUpperCase() ->Returns the calling string value converted to uppercase.</li><li>valueOf() ->Returns the primitive value of the specified object.</li><li>toLocaleLowerCase() ->The characters within a string are converted to lower case while respecting the current locale.</li><li>toLocaleUpperCase() ->The characters within a string are converted to the upper case while respecting the current locale.</li><li>substring() ->Returns the characters in a string between two indexes into the string.</li></ul>



<p class="has-medium-font-size wp-block-paragraph"><strong>Array Methods in JavaScript</strong></p>



<ul class="wp-block-list"><li>every() ->Returns true if every element in this array satisfies the provided testing function.</li><li>reduce() ->Apply a function simultaneously against two values of the array (from left-to-right) as to reduce it to a single value.</li><li>filter() ->Creates a new array with all of the elements of this array for which the provided filtering function returns true.</li><li>forEach() ->Calls a function for each element in the array.</li><li>indexOf() ->Returns the first (least) index of an element within the array equal to the specified value, or -1 if none is found.</li><li>join() ->Joins all elements of an array into a string.</li><li>slice() ->Extracts a section of an array and returns a new array.</li><li>some() ->Returns true if at least one element in this array satisfies the provided testing function.</li><li>toSource() ->Represents the source code of an object</li><li>lastIndexOf() ->Returns the last (greatest) index of an element within the array equal to the specified value, or -1 if none is found.</li><li>map() ->Creates a new array with the results of calling a provided function on every element in this array.</li><li>reduceRight() ->Apply a function simultaneously against two values of the array (from right-to-left) as to reduce it to a single value.</li><li>reverse() ->Reverses the order of the elements of an array &#8212; the first becomes the last, and the last becomes the first.</li><li>shift() ->Removes the first element from an array and returns that element.</li><li>sort() ->Sorts the elements of an array.</li><li>splice() ->Adds and/or removes elements from an array.</li><li>toString() ->Returns a string representing the array and its elements.</li><li>pop() ->Removes the last element from an array and returns that element.</li><li>push()->Adds one or more elements to the end of an array and returns the new length of the array.</li></ul>



<p class="has-medium-font-size wp-block-paragraph"><strong>Date Methods in JavaScript</strong></p>



<ul class="wp-block-list" start="10"><li>getTime() ->Returns the numeric value of the specified date as the number of milliseconds since January 1, 1970, 00:00:00 UTC.</li><li>setTime() ->Sets the Date object to the time represented by a number of milliseconds since January 1, 1970, 00:00:00 UTC.</li><li>getTimezoneOffset() ->Returns the time-zone offset in minutes for the current locale.</li><li>getUTCDate() ->Returns the day (date) of the month in the specified date according to universal time.</li><li>setUTCDate() ->Sets the day of the month for a specified date according to universal time.</li><li>getUTCDay() ->Returns the day of the week in the specified date according to universal time.</li><li>getUTCFullYear() ->Returns the year in the specified date according to universal time.</li><li>getUTCHours() ->Returns the hours in the specified date according to universal time.</li><li>getUTCMilliseconds() ->Returns the milliseconds in the specified date according to universal time.</li><li>getUTCMinutes() ->Returns the minutes in the specified date according to universal time.</li><li>getUTCMonth() ->Returns the month in the specified date according to universal time.</li><li>getUTCSeconds() ->Returns the seconds in the specified date according to universal time.</li><li>getYear() ->Deprecated &#8211; Returns the year in the specified date according to local time. Use getFullYear instead.</li><li>setYear() ->Deprecated &#8211; Sets the year for a specified date according to local time. Use setFullYear instead.</li><li>setDate() ->Sets the day of the month for a specified date according to local time.</li><li>getDate() ->Returns the day of the month for the specified date according to local time.</li><li>setFullYear() ->Sets the full year for a specified date according to local time.</li><li>setHours() ->Sets the hours for a specified date according to local time.</li><li>setMilliseconds() ->Sets the milliseconds for a specified date according to local time.</li><li>setMinutes() ->Sets the minutes for a specified date according to local time.</li><li>getMonth() ->Returns the month in the specified date according to local time.</li><li>setMonth() ->Sets the month for a specified date according to local time.</li><li>getSeconds() ->Returns the seconds in the specified date according to local time.</li><li>setSeconds() ->Sets the seconds for a specified date according to local time.</li><li>setUTCFullYear() ->Sets the full year for a specified date according to universal time.</li><li>setUTCHours() ->Sets the hour for a specified date according to universal time.</li><li>setUTCMilliseconds() ->Sets the milliseconds for a specified date according to universal time.</li><li>setUTCMinutes() ->Sets the minutes for a specified date according to universal time.</li><li>setUTCMonth() ->Sets the month for a specified date according to universal time.</li><li>setUTCSeconds() ->Sets the seconds for a specified date according to universal time.</li><li>toDateString() ->Returns the &#8220;date&#8221; portion of the Date as a human-readable string.</li><li>toGMTString() ->Deprecated &#8211; Converts a date to a string, using the Internet GMT conventions. Use toUTCString instead.</li><li>toString() ->Returns a string representing the specified Date object.</li><li>toTimeString() ->Returns the &#8220;time&#8221; portion of the Date as a human-readable string.</li><li>valueOf() ->Returns the primitive value of a Date object.</li><li>Date() ->Returns today&#8217;s date and time</li><li>getDay() ->Returns the day of the week for the specified date according to local time.</li><li>getFullYear() ->Returns the year of the specified date according to local time.</li><li>toLocaleDateString() ->Returns the &#8220;date&#8221; portion of the Date as a string, using the current locale&#8217;s conventions.</li><li>toLocaleFormat() ->Converts a date to a string, using a format string.</li><li>toLocaleTimeString() ->Returns the &#8220;time&#8221; portion of the Date as a string, using the current locale&#8217;s conventions.</li><li>getHours() ->Returns the hour in the specified date according to local time.</li><li>getMilliseconds() ->Returns the milliseconds in the specified date according to local time.</li><li>getMinutes() ->Returns the minutes in the specified date according to local time.</li></ul>



<p class="has-medium-font-size wp-block-paragraph"></p>



<p class="has-medium-font-size wp-block-paragraph" id="block-dbae201a-7ac0-44b9-b1a0-230fd3d6e588"><strong>Few important links for learning:-</strong></p>



<ol class="wp-block-list" id="block-3992be7e-1858-42f7-ae24-fc56f840b637"><li>Want to know the difference between <strong>Function </strong>and <strong>Method </strong>in JavaScript? Just click&nbsp;<a rel="noreferrer noopener" href="https://www.scmgalaxy.com/tutorials/difference-between-function-and-method-in-javascript/" target="_blank">here</a>.</li><li>Want to know what is&nbsp;<strong>function</strong>&nbsp;and how to use them in JavaScript? Just click&nbsp;<a rel="noreferrer noopener" href="https://www.scmgalaxy.com/tutorials/function-in-javascript/" target="_blank">here</a>.</li><li>Want to know what are&nbsp;<strong>variables&nbsp;</strong>and how to use them in JavaScript? Just click&nbsp;<a rel="noreferrer noopener" href="https://www.scmgalaxy.com/tutorials/variables-in-javascript-var-let-const/" target="_blank">here</a>.</li><li>Let’s see an example for <strong>User form validation</strong> in JavaScript. click&nbsp;<a rel="noreferrer noopener" href="https://www.scmgalaxy.com/tutorials/registration-form-validation-using-javascript/" target="_blank">here</a>.</li><li>Let’s<strong> understand JavaScript</strong>. what and how? click&nbsp;<a rel="noreferrer noopener" href="https://www.scmgalaxy.com/tutorials/a-brief-description-of-javascript/" target="_blank">here</a>.</li></ol>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/built-in-predefined-methods-in-javascript/">Built-in/Predefined Methods in JavaScript</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.scmgalaxy.com/tutorials/built-in-predefined-methods-in-javascript/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Methods in JavaScript</title>
		<link>https://www.scmgalaxy.com/tutorials/methods-in-javascript/</link>
					<comments>https://www.scmgalaxy.com/tutorials/methods-in-javascript/#respond</comments>
		
		<dc:creator><![CDATA[abhishek k]]></dc:creator>
		<pubDate>Fri, 26 Mar 2021 05:49:54 +0000</pubDate>
				<category><![CDATA[JavaScript]]></category>
		<category><![CDATA[Websites]]></category>
		<category><![CDATA[javascript methods]]></category>
		<category><![CDATA[Methods in JavaScript]]></category>
		<category><![CDATA[predefined methods in javascript]]></category>
		<category><![CDATA[user defined and predefined method]]></category>
		<category><![CDATA[userdefined and predefined methods in javascript]]></category>
		<category><![CDATA[userdefined method]]></category>
		<category><![CDATA[userdefined method in javascript]]></category>
		<guid isPermaLink="false">http://www.scmgalaxy.com/tutorials/?p=5768</guid>

					<description><![CDATA[<p>In JavaScript, however, a method is a function that belongs to an object. A JavaScript method is a property containing a function definition. Few Important things of Methods:- [&#8230;]</p>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/methods-in-javascript/">Methods in JavaScript</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></description>
										<content:encoded><![CDATA[
<p class="wp-block-paragraph">In JavaScript, however, a <em>method</em> is a <strong>function</strong> that belongs to an <strong><em>object</em></strong>. A JavaScript <strong>method</strong> is a property containing a <strong>function definition</strong>.</p>



<p class="wp-block-paragraph"><strong>Few Important things of Methods:-</strong></p>



<ul class="wp-block-list"><li>In JavaScript, however, a <strong><em>method</em> </strong>is a <em>function </em>that belongs to an <strong><em>object</em></strong>.</li><li>JavaScript <strong>methods </strong>are the actions that can be performed on <strong><em>objects</em></strong>.</li><li>A JavaScript <strong>method</strong> is a property containing a <em>function definition</em>.</li><li>Accessing the object method is done with the following syntax: <em>objectName.methodName()</em></li></ul>



<p class="wp-block-paragraph">Just similar to the <strong>functions</strong> in JavaScript methods are also classified in two categories:- </p>



<ol class="wp-block-list"><li>Predefined </li><li>User-defined</li></ol>



<p class="wp-block-paragraph">Predefined methods can be used directly by calling and giving parameter values (if required). while user-defined methods are first declared, defined, and then used in the program. </p>



<p class="wp-block-paragraph">Deceleration and definitions of User-defined methods are done together we could understand better seeing the below code.<strong><br>Syntax of Methods</strong></p>


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

object.methodName()
</pre></div>


<h2 class="has-medium-font-size wp-block-heading">How to access the Object Methods</h2>



<p class="wp-block-paragraph">we can access the object method with the following syntax stated below:- </p>



<p class="wp-block-paragraph"><em>objectName.methodName()</em></p>



<h2 class="has-medium-font-size wp-block-heading">How to add the method to Object.</h2>


<div class="wp-block-syntaxhighlighter-code "><pre class="brush: plain; title: ; notranslate">
person.name = function () {
    return this.firstName + &quot; &quot; + this.lastName;
};
</pre></div>


<p class="has-medium-font-size wp-block-paragraph"><strong>We could also directly use the built-in method.</strong></p>


<div class="wp-block-syntaxhighlighter-code "><pre class="brush: plain; title: ; notranslate">
var message = &quot;Display message of your choice&quot;;
var x = message.toUpperCase();
</pre></div>


<p class="wp-block-paragraph">The above method would just convert the text entered as a message to uppercase. </p>



<p class="wp-block-paragraph"><strong>Few important links for learning:-</strong></p>



<ol class="wp-block-list"><li>Want to know the difference between <strong>Function </strong>and <strong>Method </strong>in JavaScript? Just click <a href="https://www.scmgalaxy.com/tutorials/difference-between-function-and-method-in-javascript/" target="_blank" rel="noreferrer noopener">here</a>.</li><li>Want to know what is <strong>function</strong> and how to use them in JavaScript? Just click <a rel="noreferrer noopener" href="https://www.scmgalaxy.com/tutorials/function-in-javascript/" target="_blank">here</a>.</li><li>Want to know what are <strong>variables </strong>and how to use them in JavaScript? Just click <a rel="noreferrer noopener" href="https://www.scmgalaxy.com/tutorials/variables-in-javascript-var-let-const/" target="_blank">here</a>.</li><li>Let’s see an example for <strong>User form validation</strong> in JavaScript. click <a rel="noreferrer noopener" href="https://www.scmgalaxy.com/tutorials/registration-form-validation-using-javascript/" target="_blank">here</a>.</li><li>Let’s<strong> understand JavaScript</strong>. what and how? click <a rel="noreferrer noopener" href="https://www.scmgalaxy.com/tutorials/a-brief-description-of-javascript/" target="_blank">here</a>.</li></ol>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/methods-in-javascript/">Methods in JavaScript</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.scmgalaxy.com/tutorials/methods-in-javascript/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Difference between Function and Method in JavaScript</title>
		<link>https://www.scmgalaxy.com/tutorials/difference-between-function-and-method-in-javascript/</link>
					<comments>https://www.scmgalaxy.com/tutorials/difference-between-function-and-method-in-javascript/#comments</comments>
		
		<dc:creator><![CDATA[abhishek k]]></dc:creator>
		<pubDate>Fri, 26 Mar 2021 03:36:17 +0000</pubDate>
				<category><![CDATA[JavaScript]]></category>
		<category><![CDATA[Websites]]></category>
		<category><![CDATA[Difference between Function and Method in JavaScript]]></category>
		<category><![CDATA[Function and Method in JavaScript]]></category>
		<category><![CDATA[javascript function]]></category>
		<category><![CDATA[javascript methods]]></category>
		<category><![CDATA[what is the difference between function and javascritp]]></category>
		<guid isPermaLink="false">http://www.scmgalaxy.com/tutorials/?p=5767</guid>

					<description><![CDATA[<p>So what’s the different between the two? Methods have a “receiver” while functions do not. Functions and methods are the [&#8230;]</p>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/difference-between-function-and-method-in-javascript/">Difference between Function and Method in JavaScript</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></description>
										<content:encoded><![CDATA[
<p class="has-medium-font-size wp-block-paragraph"><strong>So what’s the different between the two?</strong></p>



<ul class="wp-block-list"><li><strong>Methods have a “receiver” while functions do not.</strong></li><li><strong>Functions </strong>and <strong>methods </strong>are the same in JavaScript, but a <strong>method </strong>is a <strong>function</strong>, which is a property of an object.</li><li>Syntax for <strong>calling/ definition/declaration</strong> of <strong>functions </strong>and <strong>methods </strong>are different.</li><li>A function can be called directly by its name but methods are called by its object name and its method name using dot notation or square bracket notation.</li><li><strong>Function </strong>passes the data and <strong>methods </strong>operates the data passed in the <em>class</em>.</li><li>A function lives on its own but method is a function associated with an object property.</li><li>Data passed to a function is explicit but method implicitly passes the object on which it was called.</li></ul>



<p class="has-medium-font-size wp-block-paragraph"><strong>Lets see detailed difference between them:-</strong></p>



<p class="wp-block-paragraph">A function in JavaScript is similar to a procedure —>a set of statements that performs a task or calculates a value, but for a procedure to qualify as a function, it should take some input and return an output </p>



<p class="wp-block-paragraph"><strong>Few Important things of functions:-</strong></p>



<ul class="wp-block-list"><li>The function is executed when something calls/invokes it.</li><li>The name may contain letters, digits, dollar signs, underscore.</li><li>Parameters are listed inside round parenthesis after the name of the function.</li><li>Arguments are values a function receives when it is invoked.</li><li>When the control reaches the return statement, js will stop executing and the value is returned to the caller.</li></ul>



<p class="wp-block-paragraph"><strong>There are three steps of Functions as well as Methods to use in the program.</strong></p>



<ol class="wp-block-list"><li><strong>Declaration</strong></li><li><strong>Definition.</strong></li><li><strong>Call</strong></li></ol>



<p class="wp-block-paragraph">In JavaScript function <em>declaration </em>and <em>definition </em>are mostly done together.</p>



<p class="wp-block-paragraph">A JavaScript <strong>method </strong>is a property of an object that contains a function definition. Methods are functions stored as object properties.</p>



<p class="wp-block-paragraph"><strong>Few Important things of Methods:-</strong></p>



<ul class="wp-block-list"><li>In JavaScript, however, a <em>method</em> is a <strong>function</strong> that belongs to an <strong><em>object</em></strong>.</li><li>JavaScript <strong>methods </strong>are the actions that can be performed on objects. </li><li>A JavaScript <strong>method</strong> is a property containing a <strong>function definition</strong>. </li><li>Accessing the object method is done with the following syntax: <em>objectName.methodName()</em></li></ul>



<p class="wp-block-paragraph"><strong>Syntax of Function</strong></p>


<div class="wp-block-syntaxhighlighter-code "><pre class="brush: plain; title: ; notranslate">
var func = function(a, b) {
    var sum = a + b;
    return sum;
}
  
console.log(sum(1, 2));
</pre></div>


<p class="wp-block-paragraph"><strong>Syntax of Methods</strong></p>


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

object.methodName()
</pre></div>


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



<p class="wp-block-paragraph"><strong>Few important links for learning:-</strong></p>



<ol class="wp-block-list"><li>Let’s see an example for User form validation in JavaScript. click <a rel="noreferrer noopener" href="https://www.scmgalaxy.com/tutorials/registration-form-validation-using-javascript/" target="_blank">here</a>.</li><li>Let’s understand JavaScript. what and how? click <a rel="noreferrer noopener" href="https://www.scmgalaxy.com/tutorials/a-brief-description-of-javascript/" target="_blank">here</a>.</li><li>Want to know what is <strong>function</strong> and how to use them in JavaScript? Just click <a rel="noreferrer noopener" href="https://www.scmgalaxy.com/tutorials/function-in-javascript/" target="_blank">here</a>.</li><li>Want to know what are <strong>variables </strong>and how to use them in JavaScript? Just click <a rel="noreferrer noopener" href="https://www.scmgalaxy.com/tutorials/variables-in-javascript-var-let-const/" target="_blank">here</a>.</li></ol>



<p class="wp-block-paragraph"></p>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/difference-between-function-and-method-in-javascript/">Difference between Function and Method in JavaScript</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.scmgalaxy.com/tutorials/difference-between-function-and-method-in-javascript/feed/</wfw:commentRss>
			<slash:comments>2</slash:comments>
		
		
			</item>
		<item>
		<title>Predefined Functions in JavaScript</title>
		<link>https://www.scmgalaxy.com/tutorials/predefined-functions-in-javascript/</link>
					<comments>https://www.scmgalaxy.com/tutorials/predefined-functions-in-javascript/#respond</comments>
		
		<dc:creator><![CDATA[abhishek k]]></dc:creator>
		<pubDate>Thu, 25 Mar 2021 07:05:05 +0000</pubDate>
				<category><![CDATA[JavaScript]]></category>
		<category><![CDATA[Websites]]></category>
		<category><![CDATA[functions in javascript]]></category>
		<category><![CDATA[javascript function]]></category>
		<category><![CDATA[javascript function predefined]]></category>
		<category><![CDATA[Predefined Functions]]></category>
		<category><![CDATA[Predefined Functions in JavaScript]]></category>
		<guid isPermaLink="false">http://www.scmgalaxy.com/tutorials/?p=5742</guid>

					<description><![CDATA[<p>Want to know what is function and how to use them in JavaScript? Just click here. Every computer programming language [&#8230;]</p>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/predefined-functions-in-javascript/">Predefined Functions in JavaScript</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></description>
										<content:encoded><![CDATA[
<p class="wp-block-paragraph">Want to know what is function and how to use them in JavaScript? Just click <a href="https://www.scmgalaxy.com/tutorials/function-in-javascript/" target="_blank" rel="noreferrer noopener">here</a>.</p>



<p class="wp-block-paragraph">Every computer programming language has functions. Some functions are defined by the programmers while the code is being written while some functions are predefined when the language was built.</p>



<p class="wp-block-paragraph"><strong>As every functions have three parts </strong></p>



<ol class="wp-block-list" id="block-846515e5-02b2-42ea-8c13-e4eb7eeb82ff"><li><strong>Function Declaration</strong></li><li><strong>Function</strong> <strong>Definition.</strong></li><li><strong>Function</strong> <strong>Call</strong></li></ol>



<p class="wp-block-paragraph">In predefined functions, the first two points are already done inside the library which we include as a header file at the beginning of the program. <strong>we just have to call the function.</strong></p>



<p class="wp-block-paragraph">Few most common predefined functions that we use are:-</p>



<p class="has-medium-font-size wp-block-paragraph"><strong>Functions to display something in JavaScript:- </strong></p>



<p class="wp-block-paragraph"><strong>alert(</strong>message<strong>) </strong>– It displays an alert box with a message specified in it.</p>



<p class="wp-block-paragraph"><strong>confirm</strong>(message) – It will display the message with two buttons. “OK” and “Cancel”.</p>



<p class="wp-block-paragraph"><strong>prompt</strong>(message) – Displays a box with the message passed. There the user can enter text in the prompt field, and choose OK or Cancel. If the user chooses OK, the string value entered in the field is returned and If the user chooses Cancel, a NULL value is returned.</p>



<p class="has-medium-font-size wp-block-paragraph"><strong>Functions for conversion in JavaScript:-</strong></p>



<p class="wp-block-paragraph"><strong>parseFloat</strong>() – It returns floating-point numbers the same way as the parseInt function does, but looks for floating-point qualified strings and returns their value as afloat.</p>



<p class="wp-block-paragraph"><strong>parseInt</strong>()– It converts a string to an integer returning the first integer encountered which is contained in the string. If no integer values are found such as in the string “written text”, then a value of 0 is returned.</p>



<p class="has-medium-font-size wp-block-paragraph"><strong>Functions for comparison in JavaScript:-</strong></p>



<p class="wp-block-paragraph"><strong>eval</strong>()– Converts a string to integer or float value.</p>



<p class="wp-block-paragraph"><strong>isNaN</strong>(value) – If the value passed is not a number, the boolean value of true is returned, if it is a number, it returns false.</p>



<p class="wp-block-paragraph"><strong>escape</strong>(string) – It passes the string to be encoded and returns the encoded string. Encodes a string from ASCII into an ISO Latin-1 (ISO 8859-1) character set for HTML processing. </p>



<p class="wp-block-paragraph"><strong>unescape() </strong>– Converts an ISO8859-1 character set to ASCII. </p>



<p class="wp-block-paragraph"><strong>isFinite()</strong> &#8211; function determines whether the passed value is a finite number. If needed, the parameter is first converted to a number.</p>



<p class="has-medium-font-size wp-block-paragraph"><strong>Functions for decoding and encoding in JavaScript:-</strong></p>



<p class="wp-block-paragraph"><code><strong>decodeURI()</strong></code> function decodes a Uniform Resource Identifier (URI) previously created by encodeURI or by a similar routine. <em>decodeURIComponent</em>()</p>



<p class="wp-block-paragraph"><code><strong>decodeURIComponent()</strong></code> method decodes a Uniform Resource Identifier (URI) component previously created by <em>encodeURIComponent</em><strong>()</strong> or by a similar routine. encodeURI</p>



<p class="wp-block-paragraph"><code><strong>encodeURI()</strong></code> encodes a Uniform Resource Identifier (URI) by replacing each instance of certain characters by one, two, three, or four escape sequences representing the UTF-8 encoding of the character (will only be four escape sequences for characters composed of two &#8220;surrogate&#8221; characters). <em>encodeURIComponent</em>()</p>



<p class="wp-block-paragraph"><code>e<strong>ncodeURIComponent()</strong></code> encodes a Uniform Resource Identifier (URI) component by replacing each instance of certain characters by one, two, three, or four escape sequences representing the UTF-8 encoding of the character (will only be four escape sequences for characters composed of two &#8220;surrogate&#8221; characters).</p>



<p class="wp-block-paragraph">There are more predefined functions but these were the important ones which are often used.</p>



<p class="has-medium-font-size wp-block-paragraph"><strong>Few important links for learning:-</strong></p>



<ol class="wp-block-list"><li>Let&#8217;s see an example for User form validation in JavaScript. click <a href="https://www.scmgalaxy.com/tutorials/registration-form-validation-using-javascript/" target="_blank" rel="noreferrer noopener">here</a>.</li><li>Let&#8217;s understand javascript. what and how? click <a rel="noreferrer noopener" href="https://www.scmgalaxy.com/tutorials/a-brief-description-of-javascript/" target="_blank">here</a>.</li><li>Want to know what is <strong>function</strong> and how to use them in JavaScript? Just click <a rel="noreferrer noopener" href="https://www.scmgalaxy.com/tutorials/function-in-javascript/" target="_blank">here</a>.</li><li>Want to know what are <strong>variables </strong>and how to use them in JavaScript? Just click <a rel="noreferrer noopener" href="https://www.scmgalaxy.com/tutorials/variables-in-javascript-var-let-const/" target="_blank">here</a>. </li></ol>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/predefined-functions-in-javascript/">Predefined Functions in JavaScript</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.scmgalaxy.com/tutorials/predefined-functions-in-javascript/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>A must things to do when we import new databases in any Laravel project.</title>
		<link>https://www.scmgalaxy.com/tutorials/a-must-things-to-do-when-we-import-new-databases-in-any-laravel-project/</link>
					<comments>https://www.scmgalaxy.com/tutorials/a-must-things-to-do-when-we-import-new-databases-in-any-laravel-project/#respond</comments>
		
		<dc:creator><![CDATA[abhishek k]]></dc:creator>
		<pubDate>Sat, 20 Mar 2021 13:03:21 +0000</pubDate>
				<category><![CDATA[Laravel]]></category>
		<category><![CDATA[Websites]]></category>
		<category><![CDATA[A must things to do when we import new databases in any Laravel project.]]></category>
		<category><![CDATA[import new databases in any Laravel project]]></category>
		<category><![CDATA[laravel codes]]></category>
		<category><![CDATA[laravel importing database]]></category>
		<guid isPermaLink="false">http://www.scmgalaxy.com/tutorials/?p=5635</guid>

					<description><![CDATA[<p>Whenever we import the database we need to install the passport as it is not able to access the previous [&#8230;]</p>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/a-must-things-to-do-when-we-import-new-databases-in-any-laravel-project/">A must things to do when we import new databases in any Laravel project.</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></description>
										<content:encoded><![CDATA[
<p class="wp-block-paragraph">Whenever we import the database we need to install the passport as it is not able to access the previous client secret. We need to change the new client secret after it is installed in the projects to all the locations required.</p>


<div class="wp-block-syntaxhighlighter-code "><pre class="brush: plain; title: ; notranslate">
php artisan passport:install
</pre></div>


<p class="wp-block-paragraph" id="block-58ae7c4c-4668-4b21-bc17-2a13058023a7">For generating key we use the following command</p>


<div class="wp-block-syntaxhighlighter-code "><pre class="brush: plain; title: ; notranslate">
php artisan key:generate
</pre></div>


<p class="wp-block-paragraph">Then we need to run few commands for convenience so that we don&#8217;t get errors. </p>


<div class="wp-block-syntaxhighlighter-code "><pre class="brush: plain; title: ; notranslate">
php artisan c:cache
php artisan r:cache
php artisan r:clear
php artisan config:clear
php artisan view:clear
</pre></div>


<p class="wp-block-paragraph"><strong>If the error shows as</strong> <em>Replicating claims as headers are deprecated and will remove from v4.0. Please manually set the header if you need it replicated.</em>  then run the following command</p>


<div class="wp-block-syntaxhighlighter-code "><pre class="brush: plain; title: ; notranslate">
composer require lcobucci/jwt=3.3.3
</pre></div>


<p class="wp-block-paragraph">We can also check for updating composer and for this we use command</p>


<div class="wp-block-syntaxhighlighter-code "><pre class="brush: plain; title: ; notranslate">
php artisan composer:update
</pre></div>


<p class="wp-block-paragraph">to link the storage we need to run following command</p>


<div class="wp-block-syntaxhighlighter-code "><pre class="brush: plain; title: ; notranslate">
php artisan storage:link
</pre></div>


<p class="wp-block-paragraph">We can also do for our convenience migrating the database, for this we use command</p>


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


<p class="wp-block-paragraph">For refreshing the migration table</p>


<div class="wp-block-syntaxhighlighter-code "><pre class="brush: plain; title: ; notranslate">
php artisan migrate:refresh
</pre></div>


<p class="wp-block-paragraph"></p>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/a-must-things-to-do-when-we-import-new-databases-in-any-laravel-project/">A must things to do when we import new databases in any Laravel project.</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.scmgalaxy.com/tutorials/a-must-things-to-do-when-we-import-new-databases-in-any-laravel-project/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Function in JavaScript</title>
		<link>https://www.scmgalaxy.com/tutorials/function-in-javascript/</link>
					<comments>https://www.scmgalaxy.com/tutorials/function-in-javascript/#comments</comments>
		
		<dc:creator><![CDATA[abhishek k]]></dc:creator>
		<pubDate>Wed, 17 Mar 2021 13:21:50 +0000</pubDate>
				<category><![CDATA[JavaScript]]></category>
		<category><![CDATA[Websites]]></category>
		<category><![CDATA[Function in JavaScript]]></category>
		<category><![CDATA[function types in javascript]]></category>
		<category><![CDATA[functions]]></category>
		<category><![CDATA[how to make javascript function]]></category>
		<guid isPermaLink="false">http://www.scmgalaxy.com/tutorials/?p=5590</guid>

					<description><![CDATA[<p>What is a Function in JavaScript A JavaScript function is a block of code designed to perform a particular task. [&#8230;]</p>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/function-in-javascript/">Function in JavaScript</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></description>
										<content:encoded><![CDATA[
<p class="has-medium-font-size wp-block-paragraph"><strong>What is a Function in JavaScript</strong></p>



<p class="wp-block-paragraph">A JavaScript function is a block of code designed to perform a particular task. In simple terms, Functions are used to make work easy, reduce the effort of coding multiple lines for the same task which is needed to repeat multiple times.  </p>



<ol class="wp-block-list"><li><strong>Function Declaration</strong></li><li><strong><strong>Function</strong></strong> <strong>Definition.</strong></li><li><strong><strong>Function</strong></strong> <strong>Call</strong></li></ol>



<p class="wp-block-paragraph">In JavaScript function <em>declaration </em>and <em>definition </em>are done together.  </p>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/function-in-javascript/">Function in JavaScript</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.scmgalaxy.com/tutorials/function-in-javascript/feed/</wfw:commentRss>
			<slash:comments>1</slash:comments>
		
		
			</item>
		<item>
		<title>Variables in JavaScript</title>
		<link>https://www.scmgalaxy.com/tutorials/variables-in-javascript-var-let-const/</link>
					<comments>https://www.scmgalaxy.com/tutorials/variables-in-javascript-var-let-const/#comments</comments>
		
		<dc:creator><![CDATA[abhishek k]]></dc:creator>
		<pubDate>Tue, 16 Mar 2021 13:12:13 +0000</pubDate>
				<category><![CDATA[JavaScript]]></category>
		<category><![CDATA[Websites]]></category>
		<category><![CDATA[javascript variables]]></category>
		<category><![CDATA[var/ let/ const]]></category>
		<category><![CDATA[variables in javascript]]></category>
		<category><![CDATA[what are javascript variables]]></category>
		<guid isPermaLink="false">http://www.scmgalaxy.com/tutorials/?p=5536</guid>

					<description><![CDATA[<p>Variables are simply the name of the storage location. There are two ways we define variables more precisely they are [&#8230;]</p>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/variables-in-javascript-var-let-const/">Variables in JavaScript</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></description>
										<content:encoded><![CDATA[
<p class="wp-block-paragraph">Variables are simply the name of the storage location. There are two ways we define variables more precisely they are known as the <em>scope of the variable</em>. Scope determines the accessibility (visibility) of these variables. they are:- <strong>local </strong>variable and <strong>global</strong> variable. </p>



<p class="wp-block-paragraph">When variables are defined <em>inside a function</em> then they cannot be used outside of it, these types of variables are called <em><strong>local</strong> </em>variables, and when variables are declared <em>outside the function</em> then we can use them anywhere these are global variables.</p>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/variables-in-javascript-var-let-const/">Variables in JavaScript</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.scmgalaxy.com/tutorials/variables-in-javascript-var-let-const/feed/</wfw:commentRss>
			<slash:comments>1</slash:comments>
		
		
			</item>
		<item>
		<title>A brief description of JAVASCRIPT</title>
		<link>https://www.scmgalaxy.com/tutorials/a-brief-description-of-javascript/</link>
					<comments>https://www.scmgalaxy.com/tutorials/a-brief-description-of-javascript/#comments</comments>
		
		<dc:creator><![CDATA[abhishek k]]></dc:creator>
		<pubDate>Mon, 15 Mar 2021 09:19:45 +0000</pubDate>
				<category><![CDATA[JavaScript]]></category>
		<category><![CDATA[Websites]]></category>
		<category><![CDATA[A brief description of JAVASCRIPT]]></category>
		<category><![CDATA[description javascript]]></category>
		<category><![CDATA[description of JAVASCRIPT]]></category>
		<category><![CDATA[description on JAVASCRIPT]]></category>
		<category><![CDATA[intro javascript]]></category>
		<category><![CDATA[introduction to javascript]]></category>
		<category><![CDATA[Javascript]]></category>
		<category><![CDATA[javascript desctiption]]></category>
		<category><![CDATA[javascript what]]></category>
		<category><![CDATA[what is javascript]]></category>
		<guid isPermaLink="false">http://www.scmgalaxy.com/tutorials/?p=5554</guid>

					<description><![CDATA[<p>javascript is a scripting language used to make web pages interactive.</p>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/a-brief-description-of-javascript/">A brief description of JAVASCRIPT</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></description>
										<content:encoded><![CDATA[
<p class="wp-block-paragraph">javascript is a scripting language used to make web pages interactive.</p>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/a-brief-description-of-javascript/">A brief description of JAVASCRIPT</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.scmgalaxy.com/tutorials/a-brief-description-of-javascript/feed/</wfw:commentRss>
			<slash:comments>3</slash:comments>
		
		
			</item>
		<item>
		<title>AJAX Setup/ Installation</title>
		<link>https://www.scmgalaxy.com/tutorials/ajax-setup-installation/</link>
					<comments>https://www.scmgalaxy.com/tutorials/ajax-setup-installation/#comments</comments>
		
		<dc:creator><![CDATA[abhishek k]]></dc:creator>
		<pubDate>Sat, 13 Mar 2021 11:04:06 +0000</pubDate>
				<category><![CDATA[AJAX]]></category>
		<category><![CDATA[Websites]]></category>
		<category><![CDATA[ajax]]></category>
		<category><![CDATA[ajax installation]]></category>
		<category><![CDATA[install ajax]]></category>
		<category><![CDATA[setup ajax]]></category>
		<guid isPermaLink="false">http://www.scmgalaxy.com/tutorials/?p=5520</guid>

					<description><![CDATA[<p>Ajax is a web development technique designed to create highly responsive/ interactive websites. To have a better understanding of AJAX [&#8230;]</p>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/ajax-setup-installation/">AJAX Setup/ Installation</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></description>
										<content:encoded><![CDATA[
<p class="wp-block-paragraph"><strong>Ajax is a web development technique</strong> designed to create highly responsive/ interactive websites. To have a better understanding of AJAX we need to have knowledge of javascript and somewhat XML.</p>



<p class="wp-block-paragraph">The easiest way of<strong> implementing AJAX</strong>, is by using <strong>jQuery</strong>.</p>



<p class="wp-block-paragraph">To add jQuery </p>



<p class="wp-block-paragraph">We can use the downloaded version from (<a rel="noreferrer noopener" href="http://jquery.com/download/" target="_blank">jquery.com/download/</a>)  and we need to include the file location of the file in the script  under the header tag, or we can use the CDN  in the head of HTML as </p>


<div class="wp-block-syntaxhighlighter-code "><pre class="brush: plain; title: ; notranslate">
&amp;lt;head&gt;

&amp;lt;script src=&quot;https://ajax.googleapis.com/ajax/libs/jquery/3.5.1/jquery.min.js&quot;&gt;&amp;lt;/script&gt;

&amp;lt;/head&gt;
</pre></div>


<p class="wp-block-paragraph">After we are good to go with the operations we need to perform. If we wanna test that the CDN works fine we can use the function below in the body of the HTML script </p>


<div class="wp-block-syntaxhighlighter-code "><pre class="brush: plain; title: ; notranslate">
&amp;lt;script&gt;
$(document).ready(function(){
    alert(&quot;jQuery Works&quot;)
});
&amp;lt;/script&gt;
</pre></div>


<p class="wp-block-paragraph">If we see the <strong>jQuery works</strong> alert, That mean we can congratulate ourselves on our success.</p>



<p class="wp-block-paragraph">For knowing what is AJAX and its procedure <a href="https://www.scmgalaxy.com/tutorials/a-brief-description-of-ajax/" target="_blank" rel="noreferrer noopener">https://www.scmgalaxy.com/tutorials/a-brief-description-of-ajax/</a></p>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/ajax-setup-installation/">AJAX Setup/ Installation</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.scmgalaxy.com/tutorials/ajax-setup-installation/feed/</wfw:commentRss>
			<slash:comments>1</slash:comments>
		
		
			</item>
		<item>
		<title>A Brief Description of AJAX</title>
		<link>https://www.scmgalaxy.com/tutorials/a-brief-description-of-ajax/</link>
					<comments>https://www.scmgalaxy.com/tutorials/a-brief-description-of-ajax/#comments</comments>
		
		<dc:creator><![CDATA[abhishek k]]></dc:creator>
		<pubDate>Sat, 13 Mar 2021 10:33:02 +0000</pubDate>
				<category><![CDATA[AJAX]]></category>
		<category><![CDATA[Websites]]></category>
		<category><![CDATA[ajax]]></category>
		<category><![CDATA[description on ajax]]></category>
		<category><![CDATA[what is ajax]]></category>
		<guid isPermaLink="false">http://www.scmgalaxy.com/tutorials/?p=5515</guid>

					<description><![CDATA[<p>AJAX&#160;stands for Asynchronous JavaScript And XML. It is a web development technique that helps to create a highly responsive website. [&#8230;]</p>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/a-brief-description-of-ajax/">A Brief Description of AJAX</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></description>
										<content:encoded><![CDATA[
<p class="wp-block-paragraph"><strong>AJAX&nbsp;stands for Asynchronous JavaScript And XML.</strong> </p>



<p class="wp-block-paragraph">It is a web development technique that helps to create a highly responsive website. by the use of AJAX, we get desktop-like software experience on the web browser. It is used in the web pages to be updated asynchronously by changing data with a web server behind the scene (in the background). This makes it possible to update parts of a web page, without reloading the whole page. It is the use of the XMLHttpRequest object to communicate with server-side scripts.</p>



<p class="wp-block-paragraph">The easiest way of implementing AJAX, especially if we&#8217;re planning on communicating with servers is by using jQuery.</p>



<p class="wp-block-paragraph">Most people get confused with the concept that ajax is a programming language. So, let&#8217;s be very clear that </p>



<p class="wp-block-paragraph"><strong>Ajax is not</strong> <strong>a programming language, it is a web development technique</strong> designed to create highly responsive/ interactive websites. To have a better understanding of AJAX we need to have knowledge of javascript and somewhat XML. </p>



<p class="wp-block-paragraph"><strong>Javascript </strong>is a scripting language that helps to make web pages interactive, <strong>CSS </strong>(Cascading style sheet) style sheet to the makeup of the webpage and <strong>XML </strong>(extensible markup language ) is a markup language that defines a set of rules for encoding documents in a format that is both human-readable and machine-readable. here <strong>javascript </strong>and <strong>CSS </strong>are essentials and <strong>XML </strong>is less essential for the beginners</p>



<p class="wp-block-paragraph" style="font-size:26px"><strong>Why use AJAX</strong></p>



<ol class="wp-block-list"><li>A whole page reload is not required on each request made.</li><li>Sends and receives data in the background.</li><li>Improves speed and performance.</li><li>Provides a better user experience. </li></ol>



<p class="wp-block-paragraph" style="font-size:25px"><strong>How AJAX works</strong></p>



<p class="wp-block-paragraph">Ajax uses XMLHttpRequest object (also called XHR objects) to achieve this</p>



<ol class="wp-block-list"><li>When the user sends a request from the interface then the javascript directs to the XMLHttpRequest object.</li><li>Then the HTTP Request is made to the server by XMLHttpRequest object.</li><li>Then the server interacts with the database using the JSP, PHP, Servlet, ASP.net, etc.</li><li>When there is a match for the request then the Data is retrieved from the database.</li><li>Then the Server sends XML data or JSON data to the XMLHttpRequest callback function.</li><li>Finally, when all the things are good to go then the web-page made (with HTML and CSS) is displayed on the browser.</li></ol>



<figure class="wp-block-image size-large is-style-default"><img loading="lazy" decoding="async" width="526" height="401" src="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/03/image-30.png" alt="" class="wp-image-5552" srcset="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/03/image-30.png 526w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/03/image-30-300x229.png 300w" sizes="auto, (max-width: 526px) 100vw, 526px" /><figcaption>How AJAX works</figcaption></figure>



<p class="wp-block-paragraph">For knowing the installation/setup  procedure link is given below <a href="https://www.scmgalaxy.com/tutorials/ajax-setup-installation/">https://www.scmgalaxy.com/tutorials/ajax-setup-installation/</a></p>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/a-brief-description-of-ajax/">A Brief Description of AJAX</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.scmgalaxy.com/tutorials/a-brief-description-of-ajax/feed/</wfw:commentRss>
			<slash:comments>1</slash:comments>
		
		
			</item>
		<item>
		<title>How Control flow in Laravel</title>
		<link>https://www.scmgalaxy.com/tutorials/how-control-flow-in-laravel/</link>
					<comments>https://www.scmgalaxy.com/tutorials/how-control-flow-in-laravel/#respond</comments>
		
		<dc:creator><![CDATA[abhishek k]]></dc:creator>
		<pubDate>Thu, 11 Mar 2021 08:46:30 +0000</pubDate>
				<category><![CDATA[Laravel]]></category>
		<category><![CDATA[Websites]]></category>
		<category><![CDATA[control flow explanation]]></category>
		<category><![CDATA[control flow in laravel]]></category>
		<category><![CDATA[laravel control flow]]></category>
		<category><![CDATA[laravel project]]></category>
		<guid isPermaLink="false">http://www.scmgalaxy.com/tutorials/?p=5456</guid>

					<description><![CDATA[<p>Route::get(&#8216;task&#8217;,&#8217;TaskController@index&#8217;)-&#62;name(&#8216;task&#8217;); Explanation:- name(&#8216;task&#8216;) is given in the URL as http://127.0.0.1:8000/task. Control flow:- As the URL is hit the control will [&#8230;]</p>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/how-control-flow-in-laravel/">How Control flow in Laravel</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></description>
										<content:encoded><![CDATA[
<p class="wp-block-paragraph"><em>Route::get(&#8216;task&#8217;,&#8217;TaskController@index&#8217;)-&gt;name(&#8216;task&#8217;);</em>                                        Explanation:-                                                                                                                              name(&#8216;<strong>task</strong>&#8216;) is given in the URL as <strong>http://127.0.0.1:8000/task</strong>.                                         <span class="has-inline-color has-vivid-red-color"><strong>Control flow</strong></span>:-                                                                                                                                                                                                                  As the URL is hit the control will go the route(<strong><em>web.php</em></strong>), there it will get <em>Route::get(&#8216;task&#8217;,&#8217;TaskController@index&#8217;)-&gt;name(&#8216;task&#8217;);</em>                                                       Here, there will be a name match from the URL and if there is match then there will be a function call named <strong>index</strong> and route will redirect to <em><strong>TaskController.php</strong></em> where it will find the function <em>index </em>and operate according to the instructions given inside it.                                                                       </p>



<p class="wp-block-paragraph">After the create operation we need to store the data in the database for this we used <strong><em>&lt;form&nbsp;action=&#8221;{{route(&#8216;store&#8217;)}}&#8221;&nbsp;method=&#8221;POST&#8221;&gt;</em></strong> which will call store function.                                                                                                                                  The store function be like                                                                                                        </p>



<script src="https://gist.github.com/abhi040498/c57065a3124ffb12ff36e63334907604.js"></script>



<p class="wp-block-paragraph">The in store function we create object <strong>$var</strong> of <strong>Task </strong>class make variables as <strong>$var-&gt;task</strong>&nbsp;which is assigned&nbsp;<strong>$request-&gt;task;</strong>&nbsp;(gets value from 1<sup>st</sup> field) &amp; <strong>$var-&gt;detail </strong>which is assigned&nbsp;<strong>$request-&gt;detail;</strong>&nbsp;(gets value from 2<sup>nd</sup> field) and <strong><em>$var-&gt;save(); </em></strong>function will save it to the database.</p>



<p class="wp-block-paragraph">                               </p>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/how-control-flow-in-laravel/">How Control flow in Laravel</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.scmgalaxy.com/tutorials/how-control-flow-in-laravel/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Registration Form Validation              Using Javascript</title>
		<link>https://www.scmgalaxy.com/tutorials/registration-form-validation-using-javascript/</link>
					<comments>https://www.scmgalaxy.com/tutorials/registration-form-validation-using-javascript/#comments</comments>
		
		<dc:creator><![CDATA[abhishek k]]></dc:creator>
		<pubDate>Wed, 10 Mar 2021 12:26:49 +0000</pubDate>
				<category><![CDATA[JavaScript]]></category>
		<category><![CDATA[Websites]]></category>
		<category><![CDATA[form validation]]></category>
		<category><![CDATA[form validation in javascript]]></category>
		<category><![CDATA[form validation using javascript]]></category>
		<category><![CDATA[javascript form validation]]></category>
		<category><![CDATA[javascript registration form]]></category>
		<category><![CDATA[registration form validation using javascript]]></category>
		<category><![CDATA[registrationin javascript]]></category>
		<guid isPermaLink="false">http://www.scmgalaxy.com/tutorials/?p=5473</guid>

					<description><![CDATA[<p>There are two methods for validating a form Using a keyword &#8220;validate&#8221; inside the input tag (&#60;input type=&#8221;text&#8221; name=&#8221;userid&#8221; placeholder= &#8220;User-Id&#8221; size=&#8221;20&#8243; required />). This Will present [&#8230;]</p>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/registration-form-validation-using-javascript/">Registration Form Validation              Using Javascript</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></description>
										<content:encoded><![CDATA[
<p class="wp-block-paragraph">There are two methods for validating a form</p>



<ol class="wp-block-list"><li>Using a keyword <strong>&#8220;validate&#8221;</strong> inside the <em>input </em>tag<code> </code>(<em>&lt;input type=&#8221;text&#8221; name=&#8221;userid&#8221; placeholder= &#8220;User-Id&#8221; size=&#8221;20&#8243; required /></em>). </li></ol>



<p class="wp-block-paragraph">This Will present output as:- </p>



<figure class="wp-block-image size-large is-resized is-style-default"><img loading="lazy" decoding="async" src="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/03/image-25-edited.png" alt="" class="wp-image-5475" width="512" height="288" srcset="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/03/image-25-edited.png 853w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/03/image-25-edited-300x169.png 300w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/03/image-25-edited-768x432.png 768w" sizes="auto, (max-width: 512px) 100vw, 512px" /><figcaption>This will present error output as &#8220;<strong>! Please fill out the field</strong>&#8221;                      </figcaption></figure>



<p class="wp-block-paragraph">Complete code for the above form is shared below :-</p>



<script src="https://gist.github.com/abhi040498/e971236a7969fec2f2013590fb6d627e.js"></script>



<p class="wp-block-paragraph">Presented output for the above operation :-</p>



<figure class="wp-block-image size-large is-style-default"><img loading="lazy" decoding="async" width="1024" height="795" src="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/03/form-validation1-1024x795.png" alt="" class="wp-image-5476" srcset="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/03/form-validation1-1024x795.png 1024w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/03/form-validation1-300x233.png 300w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/03/form-validation1-768x596.png 768w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/03/form-validation1-1536x1193.png 1536w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/03/form-validation1.png 1920w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></figure>



<p class="wp-block-paragraph">2. Using function call we need to define a function that will validate the field data and return corresponding errors. </p>



<p class="wp-block-paragraph">We need to write the html code for input field in the form  </p>



<p class="wp-block-paragraph"><em>&lt;form>&lt;label>&lt;b> User-Id&lt;/b>  &lt;/label>   &lt;input type=&#8221;text&#8221; name=&#8221;userid&#8221; placeholder= &#8220;User-Id&#8221; size=&#8221;20&#8243; id=&#8221;userId&#8221; /> &lt;p id=&#8221;error1&#8243;>&lt;/p>&lt;/form></em></p>



<p class="wp-block-paragraph">First we need to call the function on submit of form as (<em>&lt;form name=&#8221;myForm&#8221;  onsubmit=&#8221;return validateForm()&#8221; methord=&#8221;post&#8221;></em>) Then we need to  define the function </p>



<script src="https://gist.github.com/abhi040498/0f489740b802d011496beb80ae7d6bff.js"></script>



<p class="wp-block-paragraph">This would produce output as </p>



<figure class="wp-block-image size-large is-style-default"><img loading="lazy" decoding="async" width="853" height="480" src="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/03/image-26-edited.png" alt="" class="wp-image-5481" srcset="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/03/image-26-edited.png 853w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/03/image-26-edited-300x169.png 300w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/03/image-26-edited-768x432.png 768w" sizes="auto, (max-width: 853px) 100vw, 853px" /></figure>



<p class="wp-block-paragraph">Complete code for the above function is shared below :-</p>



<script src="https://gist.github.com/abhi040498/705d49529362749e9c65daa5d172c8bf.js"></script>



<figure class="wp-block-image size-large is-style-default"><img loading="lazy" decoding="async" width="1024" height="926" src="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/03/form-validation2-1024x926.png" alt="" class="wp-image-5482" srcset="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/03/form-validation2-1024x926.png 1024w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/03/form-validation2-300x271.png 300w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/03/form-validation2-768x695.png 768w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/03/form-validation2-1536x1390.png 1536w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/03/form-validation2.png 1920w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></figure>



<p class="wp-block-paragraph"><strong>Conclusion</strong>:- Validating a form in javascript is easy and is done with the function call and displays an error with respect to the type of input in the field.</p>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/registration-form-validation-using-javascript/">Registration Form Validation              Using Javascript</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.scmgalaxy.com/tutorials/registration-form-validation-using-javascript/feed/</wfw:commentRss>
			<slash:comments>1</slash:comments>
		
		
			</item>
		<item>
		<title>CRUD Operation Detailed Explaination with Example.</title>
		<link>https://www.scmgalaxy.com/tutorials/crud-operation-detailed-explaination-with-example/</link>
					<comments>https://www.scmgalaxy.com/tutorials/crud-operation-detailed-explaination-with-example/#respond</comments>
		
		<dc:creator><![CDATA[abhishek k]]></dc:creator>
		<pubDate>Mon, 08 Mar 2021 13:12:48 +0000</pubDate>
				<category><![CDATA[Laravel]]></category>
		<category><![CDATA[Websites]]></category>
		<category><![CDATA[crud detail explaination]]></category>
		<category><![CDATA[crud examples]]></category>
		<category><![CDATA[crud explaination]]></category>
		<category><![CDATA[crud explanation with example]]></category>
		<category><![CDATA[crud operation in laravel]]></category>
		<category><![CDATA[laravel crud operations]]></category>
		<category><![CDATA[laravel crud operations examples]]></category>
		<category><![CDATA[steps to crud operation]]></category>
		<guid isPermaLink="false">http://www.scmgalaxy.com/tutorials/?p=5446</guid>

					<description><![CDATA[<p>Before performing CRUD operations we need to do some of the basic tasks. These includes:- 1. Installing Laravel 2. Creating [&#8230;]</p>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/crud-operation-detailed-explaination-with-example/">CRUD Operation Detailed Explaination with Example.</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></description>
										<content:encoded><![CDATA[
<p class="wp-block-paragraph">Before performing CRUD operations we need to do some of the basic tasks. These includes:-                                                                                                                               <strong>1. Installing Laravel                                                                                                    2. Creating Laravel Project                                                                                       3. Making Model                                                                                                           4. Migrating</strong>                                                                                                                          After that we are good to go for the operation.</p>



<p class="wp-block-paragraph">Explanation for the above operations is given in link below <a href="https://www.scmgalaxy.com/tutorials/crud-operation-prerequisites/" data-type="URL" data-id="https://www.scmgalaxy.com/tutorials/crud-operation-prerequisites/">https://www.scmgalaxy.com/tutorials/crud-operation-prerequisites/</a></p>



<p class="wp-block-paragraph"><strong>5. Create Operation</strong></p>



<p class="wp-block-paragraph">Create a folder Under <strong><em>resource</em> </strong>=&gt;<em><strong>view</strong> </em>=&gt; <strong><em>Task</em></strong> =&gt;<strong><em>File_name</em> </strong> (say <strong><em>create.blade.php</em></strong>) and code the Html part in it.  </p>



<figure class="wp-block-image size-large is-resized is-style-default"><img loading="lazy" decoding="async" src="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/03/image-21-1024x576.png" alt="" class="wp-image-5457" width="512" height="288" srcset="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/03/image-21-1024x576.png 1024w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/03/image-21-300x169.png 300w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/03/image-21-768x432.png 768w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/03/image-21-1536x864.png 1536w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/03/image-21.png 1920w" sizes="auto, (max-width: 512px) 100vw, 512px" /></figure>



<p class="wp-block-paragraph">We will now move to route(<strong><em>web.php</em></strong>) and create a route for the view . We will use <em>Route::get(&#8216;create&#8217;,&#8217;TaskController@index&#8217;)-&gt;name(&#8216;create&#8217;);</em>                                                                    </p>



<p class="wp-block-paragraph"> We will now move to route(<strong><em>web.php</em></strong>) and create a route for the view to display.                                                                                                                                                                                                                                                                               name(&#8216;<strong>task</strong>&#8216;) is given in the URL as <strong>http://127.0.0.1:8000/task</strong>.                                                                                                                         Control flow:- As the URL is hit the control will go the route(<strong><em>web.php</em></strong>), there we will write                                                                                       <em>Route::get(&#8216;<em>create</em>&#8216;,&#8217;TaskController@create&#8217;)->name(&#8216;<em>create</em>&#8216;);</em>                                     Here, there will be a name match from the URL and if there is a match then there will be a function call named <strong>create</strong> and route will redirect to <em><strong>TaskController.php</strong></em> where it will find the function <em>create </em>and operate according to the instructions given in it. }            </p>



<script src="https://gist.github.com/abhi040498/0955ba05864a7c67b51e6d222ba6a7a3.js"></script>



<p class="wp-block-paragraph">The <em><strong>TaskController.php</strong></em> will get to the create function definition                                    Here this function will return a view <strong><em>create</em>.blade.php</strong>, which has html codes, Output displayed on the browser.                               </p>



<figure class="wp-block-image size-large is-resized is-style-default"><img loading="lazy" decoding="async" src="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/03/image-22-1024x576.png" alt="" class="wp-image-5458" width="512" height="288" srcset="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/03/image-22-1024x576.png 1024w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/03/image-22-300x169.png 300w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/03/image-22-768x432.png 768w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/03/image-22-1536x864.png 1536w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/03/image-22.png 1920w" sizes="auto, (max-width: 512px) 100vw, 512px" /></figure>



<p class="wp-block-paragraph">After the create operation we need to store the data in the database for this we used <strong><em>&lt;form action=&#8221;{{route(&#8216;store&#8217;)}}&#8221; method=&#8221;POST&#8221;></em></strong> which will call store function.  for that, we need to call the store function when the user clicks submit after entering the data on the above page.                                                     The store function be like                          </p>



<script src="https://gist.github.com/abhi040498/c57065a3124ffb12ff36e63334907604.js"></script>



<p class="wp-block-paragraph">In the store function we create object <strong>$var</strong> of <strong>Task </strong>make variables as      <strong>$var-&gt;task</strong>&nbsp;which is assigned&nbsp;<strong>$request-&gt;task;</strong>&nbsp;(gets value from 1<sup>st</sup> field) &amp; <strong>$var-&gt;detail </strong>which is assigned&nbsp;<strong>$request-&gt;detail;</strong>&nbsp;(gets value from 2<sup>nd</sup> field) and <strong><em>$var-&gt;save(); </em></strong>function will save it to the database.</p>



<p class="wp-block-paragraph">Soon after the data is created and stored in the database, we can view it by performing Read operation.</p>



<p class="wp-block-paragraph"><strong>6. Read operation</strong></p>



<p class="wp-block-paragraph">Create a file in <strong><em>resource</em> </strong>=&gt;<em><strong>view</strong> </em>=&gt; <strong><em>Task</em> </strong>(say, <strong><em>task.blade.php</em></strong>).                                                                                                              and code the Html part in it.       </p>



<figure class="wp-block-image size-large is-resized is-style-default"><img loading="lazy" decoding="async" src="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/03/image-19-1024x576.png" alt="" class="wp-image-5454" width="512" height="288" srcset="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/03/image-19-1024x576.png 1024w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/03/image-19-300x169.png 300w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/03/image-19-768x432.png 768w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/03/image-19-1536x864.png 1536w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/03/image-19.png 1920w" sizes="auto, (max-width: 512px) 100vw, 512px" /></figure>



<figure class="wp-block-image size-large is-resized is-style-default"><img loading="lazy" decoding="async" src="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/03/image-20-1024x576.png" alt="" class="wp-image-5455" width="512" height="288" srcset="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/03/image-20-1024x576.png 1024w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/03/image-20-300x169.png 300w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/03/image-20-768x432.png 768w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/03/image-20-1536x864.png 1536w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/03/image-20.png 1920w" sizes="auto, (max-width: 512px) 100vw, 512px" /></figure>



<p class="wp-block-paragraph">                                                                                                                                                                                                                            We will now move to route(<strong><em>web.php</em></strong>) and create a route for the view to display. We will write the name(&#8216;<strong>task</strong>&#8216;) is given in the URL as <strong>http://127.0.0.1:8000/task</strong>.                                                                                                                         Control flow:- As the URL is hit the control will go the route(<strong><em>web.php</em></strong>), there it will write                                                                                       <em>Route::get(&#8216;task&#8217;,&#8217;TaskController@index&#8217;)->name(&#8216;task&#8217;);</em>                                     Here, there will be a name match from the URL and if there is a match then there will be a function call named <strong>index</strong> and route will redirect to <em><strong>TaskController.php</strong></em> where it will find the function <em>index </em>and operate according to the instructions given in it. }                                                                                               </p>



<script src="https://gist.github.com/abhi040498/82d0d6f56f23cd533d386a93ec7b4682.js"></script>



<p class="wp-block-paragraph">Here this function will return a view taskIndex.blade.php, which has HTML codes, which is to display on the browser with all the things compact.   </p>



<figure class="wp-block-image size-large is-resized is-style-default"><img loading="lazy" decoding="async" src="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/03/image-18-1024x576.png" alt="" class="wp-image-5453" width="512" height="288" srcset="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/03/image-18-1024x576.png 1024w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/03/image-18-300x169.png 300w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/03/image-18-768x432.png 768w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/03/image-18-1536x864.png 1536w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/03/image-18.png 1920w" sizes="auto, (max-width: 512px) 100vw, 512px" /></figure>



<p class="wp-block-paragraph">  <strong>7. Update operation</strong></p>



<p class="wp-block-paragraph">Create a file in <strong><em>resource</em> </strong>=&gt;<em><strong>view</strong> </em>=&gt; <strong><em>Task</em> </strong>=&gt;<strong><em> File_name</em></strong> (say, <strong><em>edit.blade.php</em></strong>). and code the Html part in it.                                     </p>



<figure class="wp-block-image size-large is-resized is-style-default"><img loading="lazy" decoding="async" src="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/03/image-24-1024x576.png" alt="" class="wp-image-5460" width="512" height="288" srcset="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/03/image-24-1024x576.png 1024w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/03/image-24-300x169.png 300w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/03/image-24-768x432.png 768w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/03/image-24-1536x864.png 1536w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/03/image-24.png 1920w" sizes="auto, (max-width: 512px) 100vw, 512px" /></figure>



<p class="wp-block-paragraph"> For update we need to give an edit button which calls the update function when clicked. for this we used                                                                                                                       <em>&lt;a href=&#8221;{{route(&#8216;notes.edit&#8217;,[&#8216;id&#8217; => $note->id])}}&#8221;  type=&#8221;button&#8221; class=&#8221;btn btn-primary&#8221;>Edit&lt;/a></em>                                                      This will redirect to route (<strong><em>web.php</em></strong>) where we will write                                                      <em>Route::get(&#8216;edit&#8217;,&#8217;TaskController@edit&#8217;)->name(&#8216;edit&#8217;);</em>                                                                                                                                                   Here, there will be a name match from the URL and if there is match then there will be a function call named <strong>edit </strong>and route will redirect to <em><strong>TaskController.php</strong></em> where it will find the function <em>edit </em>and operate according to the instructions given in it.                                                                                                                                                                                                                                       This will call edit function                       </p>



<script src="https://gist.github.com/abhi040498/d6990b216eb841d8db35122c9fe11d72.js"></script>



<p class="wp-block-paragraph">This will find the corresponding <strong>id</strong> and return the edit page view with the details prefilled in it.    </p>



<figure class="wp-block-image size-large is-resized is-style-default"><img loading="lazy" decoding="async" src="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/03/image-23-1024x576.png" alt="" class="wp-image-5459" width="512" height="288" srcset="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/03/image-23-1024x576.png 1024w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/03/image-23-300x169.png 300w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/03/image-23-768x432.png 768w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/03/image-23-1536x864.png 1536w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/03/image-23.png 1920w" sizes="auto, (max-width: 512px) 100vw, 512px" /></figure>



<p class="wp-block-paragraph">On click of submitting after changing the details which were prefilled,                         This will redirect to route (web.php) where we will write    Route::post(&#8216;update/{id}&#8217;,&#8217;TaskController@update&#8217;)->name(&#8216;update&#8217;);         Here, there will be a name match from the URL and if there is a match then there will be a function call named <strong>update </strong>and route will redirect to <em><strong>TaskController.php</strong></em> where it will find the function <em>update </em>and operate according to the instructions given in it.                                                                                                The update function will run.                                                                                                                                </p>



<script src="https://gist.github.com/abhi040498/863a37e330a8c5ee7e016a3b8ab466ec.js"></script>



<p class="wp-block-paragraph"> In the Update function we create object <strong>$var1</strong> of <strong>Task </strong> which finds and matches id and make variables as <strong>$var1->task</strong> which is assigned                                             <strong>$request->task;</strong> (gets value from 1<sup>st</sup> field) &amp; <strong>$var1->detail </strong>which is assigned <strong>$request->detail;</strong> (gets value from 2<sup>nd</sup> field) and <strong><em>$var1->save(); </em></strong>function will save it to the database.                                                                               and <em><strong>return redirect()</strong></em>   will redirect the <em>route </em>to <em>task</em>.                                                                       </p>



<p class="wp-block-paragraph"><strong>7. Delete Operation</strong></p>



<p class="wp-block-paragraph">Implementing delete operation is easy and we need to Just provide a delete button in the html view which will help call the <strong>destroy </strong>function.                          </p>



<p class="wp-block-paragraph">On click of <strong>Delete </strong>button                                                                                                                          This will redirect to route (<strong><em>web.php</em></strong>) where we will write    <em>Route::post(&#8216;delete/{id}&#8217;,&#8217;TaskController@delete&#8217;)->name(&#8216;delete&#8217;);</em>                                                                                                                                                                                        Here, there will be a name match from the URL and if there is a match then there will be a function call named <strong>delete </strong>and route will redirect to <em><strong>TaskController.php</strong></em> where it will find the function <em>delete </em>and operate according to the instructions given in it.                                                                                                The update function will run.                                                                                                                                </p>



<script src="https://gist.github.com/abhi040498/a99c5418db1a2ee83030a4781866f52c.js"></script>



<p class="wp-block-paragraph">In the Update function we create object <strong>$var</strong>2 of <strong>Task </strong> which finds and matches id and <strong><em>$var1->delete(); </em></strong>function will delete it from the database.                                                                               and <em><strong>return redirect()</strong></em>   will redirect the <em>route </em>to <em>task</em>.                                                                       </p>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/crud-operation-detailed-explaination-with-example/">CRUD Operation Detailed Explaination with Example.</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.scmgalaxy.com/tutorials/crud-operation-detailed-explaination-with-example/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>CRUD Operation Prerequisites.</title>
		<link>https://www.scmgalaxy.com/tutorials/crud-operation-prerequisites/</link>
					<comments>https://www.scmgalaxy.com/tutorials/crud-operation-prerequisites/#comments</comments>
		
		<dc:creator><![CDATA[abhishek k]]></dc:creator>
		<pubDate>Sat, 06 Mar 2021 09:29:08 +0000</pubDate>
				<category><![CDATA[Laravel]]></category>
		<category><![CDATA[Websites]]></category>
		<category><![CDATA[crud]]></category>
		<category><![CDATA[crud basics]]></category>
		<category><![CDATA[crud operation prerequisite]]></category>
		<category><![CDATA[crud operations]]></category>
		<category><![CDATA[crud prerequisite]]></category>
		<category><![CDATA[how to crud]]></category>
		<category><![CDATA[operations in crud]]></category>
		<guid isPermaLink="false">http://www.scmgalaxy.com/tutorials/?p=5433</guid>

					<description><![CDATA[<p>Before performing CRUD operations we need to do some of the basic tasks. These includes:- 1. Installing Laravel 2. Creating [&#8230;]</p>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/crud-operation-prerequisites/">CRUD Operation Prerequisites.</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></description>
										<content:encoded><![CDATA[
<p class="wp-block-paragraph">Before performing CRUD operations we need to do some of the basic tasks.                                           These includes:-                                                                                                                                    <strong>1. Installing Laravel                                                                                                                                        2. Creating Laravel Project                                                                                                          3. Making Model                                                                                                                               4. Migrating  </strong>                                                                                                                                            After that we are good to go for performing the operation. </p>



<p class="wp-block-paragraph">Laravel the most popular PHP-based framework for creating database-driven apps is based on the MVC (Model-View-Controller) architecture and can be used for easily creating apps for making CRUD (Create, Retrieve, Update, Delete) operations in the database.</p>



<p class="wp-block-paragraph"><strong>1. Installing Laravel</strong>                                                                                                                                                                                               The first and foremost thing we need to have <em>Laravel </em>and <em>composer </em>installed in our system. the command for installation is<br><em><strong>composer global require “laravel/installer=~1.1”</strong></em><br>if this does not works then we could just write<br><em><strong>composer global require “laravel/installer”</strong></em><br>and it would install the file.<br><strong>2. Creating Laravel Project</strong>                                                                                                                                         Then we need to create a project and for this, we need to type<br><strong><em>composer create-project –prefer-dist laravel/laravel <strong><em>project_name</em></strong></em></strong> <strong><em>“5.8.*”</em></strong><br>If this does not works then we could just write<br><strong><em>composer create-project –prefer-dist laravel/laravel project_name</em></strong><br>it would create a Laravel project named blog (with the latest version).</p>



<p class="wp-block-paragraph"><strong>3. Making Model</strong>  <strong>and Migrating</strong>                                                                                                                        After the project is created we need to create the Model.                                                                     For this we use command.</p>



<p class="wp-block-paragraph"><strong><em>$ php artisan make:model Model_name -mcr</em></strong>  or                                                                                    <strong><em>$ php artisan make:model Model_name -a</em></strong></p>



<p class="wp-block-paragraph">(<strong>Note:-</strong> Model name should begin with a capital letter)                                        Here <strong><em>mcr </em></strong>is (migration controller resources)                                                         we can use m/c/r separately but for better convenience, we use <strong>&#8220;<em>a</em>&#8220;</strong> which can equivalently be used in place of  <strong>&#8220;mcr&#8221;</strong>.</p>



<p class="wp-block-paragraph">After the model is created we need to create the database and attach it. We can instruct for the database creation through codes or we can go to <em>PHPMyAdmin</em>,<em> </em>and there we can create the database and provide the name of the database in the <em>.env</em> file</p>



<div class="wp-block-image is-style-default"><figure class="aligncenter size-large is-resized"><img loading="lazy" decoding="async" src="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/03/image-16.png" alt="" class="wp-image-5435" width="466" height="440" srcset="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/03/image-16.png 621w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/03/image-16-300x283.png 300w" sizes="auto, (max-width: 466px) 100vw, 466px" /></figure></div>



<p class="wp-block-paragraph">After database creation, we need to migrate. Migrations allow to add or drop fields in the database without deleting the records already present.                          for this we use <strong><em>$ php artisan migrate</em></strong>                                                                                                    We could also refresh migration using                                                                                                                                                                             <strong><em>$</em></strong> <strong><em>php artisan migrate:refresh</em></strong></p>



<div class="wp-block-image is-style-default"><figure class="aligncenter size-large is-resized"><img loading="lazy" decoding="async" src="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/03/image-17.png" alt="" class="wp-image-5438" width="426" height="269" srcset="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/03/image-17.png 568w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/03/image-17-300x189.png 300w" sizes="auto, (max-width: 426px) 100vw, 426px" /></figure></div>



<p class="wp-block-paragraph">All the prerequisites to perform CRUD operations are completed and are ready to go. Now we can move to views to create the Html page and perform desired CRUD operations.  </p>



<p class="wp-block-paragraph">For CRUD Operation Detailed Explanation with Example. <a href="https://www.scmgalaxy.com/tutorials/crud-operation-detailed-explaination-with-example/" data-type="URL" data-id="https://www.scmgalaxy.com/tutorials/crud-operation-detailed-explaination-with-example/">https://www.scmgalaxy.com/tutorials/crud-operation-detailed-explaination-with-example/</a></p>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/crud-operation-prerequisites/">CRUD Operation Prerequisites.</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.scmgalaxy.com/tutorials/crud-operation-prerequisites/feed/</wfw:commentRss>
			<slash:comments>1</slash:comments>
		
		
			</item>
		<item>
		<title>Setup a Laravel Project and Understand the Folder Structure</title>
		<link>https://www.scmgalaxy.com/tutorials/setup-a-laravel-project-and-understand-the-folder-structure/</link>
					<comments>https://www.scmgalaxy.com/tutorials/setup-a-laravel-project-and-understand-the-folder-structure/#respond</comments>
		
		<dc:creator><![CDATA[abhishek k]]></dc:creator>
		<pubDate>Thu, 04 Mar 2021 07:39:55 +0000</pubDate>
				<category><![CDATA[Laravel]]></category>
		<category><![CDATA[Websites]]></category>
		<category><![CDATA[files and folder in laravel]]></category>
		<category><![CDATA[folder structure&#039;]]></category>
		<category><![CDATA[laravel project]]></category>
		<category><![CDATA[laravel project and folder structure]]></category>
		<category><![CDATA[project setup in laravel]]></category>
		<category><![CDATA[setup Laravel project]]></category>
		<category><![CDATA[understand folder structure]]></category>
		<guid isPermaLink="false">http://www.scmgalaxy.com/tutorials/?p=5386</guid>

					<description><![CDATA[<p>Setting up a Laravel project is an easy task. We need to have the composer installed in our system. Then [&#8230;]</p>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/setup-a-laravel-project-and-understand-the-folder-structure/">Setup a Laravel Project and Understand the Folder Structure</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></description>
										<content:encoded><![CDATA[
<p class="has-medium-font-size wp-block-paragraph"><strong>Setting up a Laravel project is an easy task.</strong></p>



<p class="has-normal-font-size wp-block-paragraph"><br>We need to have the composer installed in our system. Then we need to download the Laravel installer, the command for installation is<br><em><strong>composer global require “laravel/installer=~1.1”</strong></em><br>if this does not works then we could just write<br><em><strong>composer global require “laravel/installer”</strong></em><br>and it would install the file.<br>Then we need to create a project and for this, we need to type<br><strong><em>composer create-project –prefer-dist laravel/laravel blog “5.8”</em></strong><br>if this does not works then we could just write<br><strong><em>composer create-project –prefer-dist laravel/laravel blog</em></strong><br>it would create a Laravel project named blog.</p>



<p class="wp-block-paragraph">Soon after the project is created we now have to </p>



<p class="has-medium-font-size wp-block-paragraph"><strong>Understanding the Folder structure</strong></p>



<p class="has-normal-font-size wp-block-paragraph">The most important thing in the Laravel project is understanding the structure of files and folders. Understanding the files and folder structure’s <em>main purpose is to understand where we need to write codes for Html, Model, Controller, Routing, Filestore, Config, and Database.<br></em>The time after the Laravel project is created we see different folders and files. All the files and folder build while building the project have their use and gives it easy access while writing codes.<br>The main folder in the project consists of</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/03/image-1.png" alt="" class="wp-image-5389" width="149" height="226"/></figure></div>



<p class="has-normal-font-size wp-block-paragraph">Let’s take a brief look at the different folders created and the files in them.</p>



<p class="wp-block-paragraph"><br>The first one <em><strong>App </strong></em>mainly includes codes for <strong>HTML, Model, and Controller</strong> which are in folders shown below.</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/03/image-2.png" alt="" class="wp-image-5390" width="133" height="139"/></figure></div>



<p class="has-normal-font-size wp-block-paragraph"><br>In the <strong><em>console</em></strong> directory, there is a <em>kernel.php</em> file that has codes for the custom command. <br><em>Exception </em>folders have <em>handler.php</em> that includes all the codes for different exceptions.<br>The <em>HTTP </em>folder has 2 sub-folders namely <em>controllers</em> and <em>middleware</em>.</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/03/image-5.png" alt="" class="wp-image-5401" width="239" height="392" srcset="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/03/image-5.png 319w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/03/image-5-183x300.png 183w" sizes="auto, (max-width: 239px) 100vw, 239px" /></figure></div>



<p class="has-normal-font-size wp-block-paragraph"><em>Controllers </em>and <em>Middleware </em>mainly include files acting as a bridge between database and webpage. These include files for <em>authentication login validation, registering ids, resetting the password</em>, etc.</p>



<p class="has-normal-font-size wp-block-paragraph"><em>Cookies </em>that are used to store some data of the user are also managed here. <em>Controllers </em>act as an interface between database and web-page and <em>Middleware </em>filters out the request.</p>



<p class="wp-block-paragraph">The <em><strong>Model<code> </code></strong></em>directory contains all of your&nbsp;model classes. It provides a beautiful, simple ActiveRecord implementation for working with your database. Each database table has a corresponding &#8220;Model&#8221; which is used to interact with that table. Models allow you to query for data in your tables, as well as insert new records into the table.</p>



<p class="wp-block-paragraph">Then we have a <em><strong>Provider </strong></em>directory.</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/03/image-6.png" alt="" class="wp-image-5402" width="290" height="141" srcset="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/03/image-6.png 386w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/03/image-6-300x146.png 300w" sizes="auto, (max-width: 290px) 100vw, 290px" /></figure></div>



<p class="wp-block-paragraph">where we write different kinds of services like authentication services, routing services, and more.</p>



<p class="wp-block-paragraph">Then we have <strong><em>Bootstrap </em></strong>directory that has an <em>app.php </em>file that helps in bootstrapping the application i.e loading the application on the browser.</p>



<p class="wp-block-paragraph">Then we have a <em><strong>config </strong></em>directory that contains all the configuration files like database configurations, email configurations, session configurations, login configurations, catch configurations, and many more.</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/03/image-7.png" alt="" class="wp-image-5403" width="216" height="326" srcset="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/03/image-7.png 288w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/03/image-7-199x300.png 199w" sizes="auto, (max-width: 216px) 100vw, 216px" /></figure></div>



<p class="wp-block-paragraph">The <strong><em>database </em></strong>directory mainly includes three folders i.e<em> factories, migrations, </em>and <em>seed</em>. </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/03/image-8.png" alt="" class="wp-image-5404" width="332" height="160" srcset="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/03/image-8.png 442w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/03/image-8-300x145.png 300w" sizes="auto, (max-width: 332px) 100vw, 332px" /></figure></div>



<p class="wp-block-paragraph"><em>Factories&nbsp;</em>provide&nbsp;a&nbsp;convenient&nbsp;way&nbsp;to&nbsp;generate&nbsp;new&nbsp;model&nbsp;instances&nbsp;for&nbsp;  testing/seeding the&nbsp;application&#8217;s&nbsp;database.                                                                                                  In <em>Migrations, </em>one database is shared with another database and also between developers.                                                                                                                                          <em>Seeding </em>simply means putting the fake/dummy data in the database. </p>



<p class="wp-block-paragraph">The <strong><em>public </em></strong>directory </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/03/image-9.png" alt="" class="wp-image-5405" width="269" height="156" srcset="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/03/image-9.png 359w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/03/image-9-300x174.png 300w" sizes="auto, (max-width: 269px) 100vw, 269px" /></figure></div>



<p class="wp-block-paragraph">has <em>CSS, js</em>, and more files that have predefined JavaScript and CSS of the project and most importantly <em>index.php</em> file. This is the first file that is loaded in the browser when our server (local server) is hosted.</p>



<p class="wp-block-paragraph">The <strong><em>resource </em></strong>directory </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/03/image-10.png" alt="" class="wp-image-5406" width="265" height="135" srcset="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/03/image-10.png 353w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/03/image-10-300x153.png 300w" sizes="auto, (max-width: 265px) 100vw, 265px" /></figure></div>



<p class="wp-block-paragraph">is the important part where all the public files of HTML, CSS, js files are coded and sometimes local files. This directory most importantly  includes <em>views </em>where we write the complete HTML. All the HTML pages that we want to display shall be placed here. These files can be placed directly or can placed inside the folder in views.</p>



<p class="wp-block-paragraph">The <strong><em>route </em></strong>directory&#8217;s main purpose is placing the codes for URLs for the web as well as API.</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/03/image-12.png" alt="" class="wp-image-5408" width="290" height="134" srcset="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/03/image-12.png 387w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/03/image-12-300x138.png 300w" sizes="auto, (max-width: 290px) 100vw, 290px" /></figure></div>



<p class="wp-block-paragraph">The&nbsp;<strong><em>storage </em></strong>directory contains the <em>app, framework</em>, and <em>log </em>directory. The <em>storage&nbsp;</em>directory is used to store framework-generated files and <em>caches</em>. They also contain compiled <em>Blade </em>templates, file-based <em>sessions, </em>file <em>caches</em>, and other files generated by the framework and the log<em> </em>directory contains your application&#8217;s log files.</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/03/image-14.png" alt="" class="wp-image-5410" width="326" height="239" srcset="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/03/image-14.png 435w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/03/image-14-300x220.png 300w" sizes="auto, (max-width: 326px) 100vw, 326px" /></figure></div>



<p class="wp-block-paragraph">The <strong><em>test&nbsp;</em></strong>directory contains automated tests. We may run tests using the&nbsp;<code><em>phpunit</em></code>&nbsp;or<em>&nbsp;<code>php vendor/bin/phpunit</code></em>&nbsp;commands.</p>



<p class="wp-block-paragraph"><strong><em>Vendor </em></strong>directory stores all the package files which are installed by the composers.</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/03/image-13.png" alt="" class="wp-image-5409" width="248" height="452" srcset="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/03/image-13.png 331w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/03/image-13-165x300.png 165w" sizes="auto, (max-width: 248px) 100vw, 248px" /></figure></div>



<p class="wp-block-paragraph"> In simple terms, the <em><strong>vendor </strong></em>directory acts as a store-keeper for all the package files for the project in laravel. </p>



<p class="wp-block-paragraph">We have few more files that are necessary like environment file (<em>env.php</em>), composer file (<em>composer.json</em>), package file (<em>package.json</em>).</p>



<p class="wp-block-paragraph">We use <em>webpack.mix.js</em> for integration of CSS and js files from different developers for effective use. It also serves as a better security for CSS and js files  in the project so that it cannot be publicly accessed. </p>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/setup-a-laravel-project-and-understand-the-folder-structure/">Setup a Laravel Project and Understand the Folder Structure</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.scmgalaxy.com/tutorials/setup-a-laravel-project-and-understand-the-folder-structure/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>A brief description on Laravel</title>
		<link>https://www.scmgalaxy.com/tutorials/brief-description-on-laravel/</link>
					<comments>https://www.scmgalaxy.com/tutorials/brief-description-on-laravel/#respond</comments>
		
		<dc:creator><![CDATA[abhishek k]]></dc:creator>
		<pubDate>Wed, 03 Mar 2021 01:40:26 +0000</pubDate>
				<category><![CDATA[Laravel]]></category>
		<category><![CDATA[Websites]]></category>
		<category><![CDATA[brief description on laravel]]></category>
		<category><![CDATA[description on Laravel]]></category>
		<category><![CDATA[introduction of laravel]]></category>
		<category><![CDATA[laravel]]></category>
		<category><![CDATA[What is laravel]]></category>
		<guid isPermaLink="false">http://www.scmgalaxy.com/tutorials/?p=5377</guid>

					<description><![CDATA[<p>Laravel is a backend web application framework for PHP. It is a robust framework that provides easy development with many [&#8230;]</p>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/brief-description-on-laravel/">A brief description on Laravel</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></description>
										<content:encoded><![CDATA[
<p class="wp-block-paragraph"><strong>Laravel is a backend web application framework for PHP</strong>. It is a robust framework that provides easy development with many essential features. It provides utilities for application deployment and maintenance. It is a great platform for beginners who wants to implement their PHP skills with greater ease as it has a lot of libraries included. The best part is that it is open source and freely available on the net.<br><strong>Laravel’s 1st version “Laravel 5.1” </strong>was released in <strong>June 2015</strong>. And long term support (LTS) versions are planned to release every two years. <strong>Laravel’s latest version is version 8</strong> which was released on Sept 8, 2020.</p>



<p class="has-medium-font-size wp-block-paragraph">The best part is that <strong>Laravel works on MVC architecture</strong></p>



<p class="wp-block-paragraph"><em>MVC stands for Model-View-Controller.</em> It is an architectural pattern that separates an application into three main logical components Model, View, and Controller. Each architectural component is built to handle specific development aspects of an application easily.</p>



<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="807" height="479" src="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/03/mvc-architecture-1.png" alt="" class="wp-image-5381" srcset="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/03/mvc-architecture-1.png 807w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/03/mvc-architecture-1-300x178.png 300w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/03/mvc-architecture-1-768x456.png 768w" sizes="auto, (max-width: 807px) 100vw, 807px" /></figure>



<p class="wp-block-paragraph"><strong>The control flows in MVC (How MVC works)</strong></p>



<p class="wp-block-paragraph">Whenever a user requests to view something on the browser, the request is made to the controller. The controller then requests the model to return all the data which is asked for.</p>



<p class="wp-block-paragraph">If there is a match the model returns the data to the controller and then the controller will instruct the view to display the data.</p>



<p class="wp-block-paragraph">If there no match or error then the model returns the error to the controller and then the controller will instruct the view to display the error accordingly.</p>



<p class="has-medium-font-size wp-block-paragraph"><strong>Why Laravel could be the best choice for developers.</strong></p>



<p class="wp-block-paragraph"><strong>Modularity </strong>in Laravel helps users with 20 built-in libraries and modules for enhancement of the application and maintaining the code as per the requirements.</p>



<p class="wp-block-paragraph"><strong>Schema Builder</strong> is used for maintaining the database schema and related code of PHP. Track of changes is maintained with respect to database migrations.</p>



<p class="wp-block-paragraph"><strong>The blade template</strong>&nbsp;engine is used for designing layouts with predefined blocks and hierarchical blocks that include dynamic content. As it is a lightweight template language.</p>



<p class="wp-block-paragraph"><strong>Authentication</strong> feature in Laravel eases designing as it includes features such as&nbsp;<strong>register, <strong>send password reminders</strong>, reset forgot password</strong>.</p>



<p class="wp-block-paragraph"><strong>E-mail</strong> <strong>and Queues</strong>&nbsp;A mail class in Laravel helps in sending mail with rich content and attachments and also includes features for queuing when users are in large numbers.</p>



<p class="wp-block-paragraph"><strong>Query Builder</strong> helps in querying databases using various simple chain methods. It provides&nbsp;<strong>ORM</strong>&nbsp;(Object Relational Mapper) and&nbsp;<em>ActiveRecord</em>&nbsp;implementation called <strong>Eloquent</strong>.</p>



<p class="wp-block-paragraph"><strong>Testing</strong> is easy in Laravel. It includes features and helpers which help in testing through various test cases. To a better part parallel testing is also possible in Laravel.</p>



<p class="wp-block-paragraph"><strong>Routing </strong>helps in scaling and maintaining the code as per the requirements with the help of <em>features and helpers</em>.</p>



<p class="has-medium-font-size wp-block-paragraph">The big question in mind <strong>Who should work with Laravel?</strong></p>



<p class="wp-block-paragraph">Laravel provides a great platform to handle PHP codes and maintaining them so, it&#8217;s a great platform for beginners to work on. &nbsp;It&#8217;s<strong> very fluent, user-friendly, and easy to learn and understand</strong> which adds to its advantage making it a better choice for beginners to initiate their work.</p>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/brief-description-on-laravel/">A brief description on Laravel</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.scmgalaxy.com/tutorials/brief-description-on-laravel/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
	</channel>
</rss>
