<?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>Deepak K, Author at scmGalaxy</title>
	<atom:link href="https://www.scmgalaxy.com/tutorials/author/deepak/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.scmgalaxy.com/tutorials/author/deepak/</link>
	<description>A Platform for Software Engineers</description>
	<lastBuildDate>Mon, 22 Mar 2021 11:50:14 +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>CRUD through AJAX using Laravel framework</title>
		<link>https://www.scmgalaxy.com/tutorials/crud-through-ajax-using-laravel-framework/</link>
					<comments>https://www.scmgalaxy.com/tutorials/crud-through-ajax-using-laravel-framework/#respond</comments>
		
		<dc:creator><![CDATA[Deepak K]]></dc:creator>
		<pubDate>Mon, 22 Mar 2021 11:50:14 +0000</pubDate>
				<category><![CDATA[Uncategorized]]></category>
		<guid isPermaLink="false">http://www.scmgalaxy.com/tutorials/?p=5718</guid>

					<description><![CDATA[<p>Step 1 : create project folder through command line Step 2 : Create Post table and model under this :- [&#8230;]</p>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/crud-through-ajax-using-laravel-framework/">CRUD through AJAX using Laravel framework</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></description>
										<content:encoded><![CDATA[
<h2 class="wp-block-heading"><strong>Step 1 : create project folder through command line</strong></h2>


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


<h2 class="wp-block-heading"><strong>Step 2 : Create Post table and model</strong></h2>


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


<p class="wp-block-paragraph">under this :- database/migrations, you have to put bellow code in your migration file for create Posts table</p>



<script src="https://gist.github.com/dk5202000/b49ca49d2dddb1d4b0d486bc5f57ac1b.js"></script>



<p class="wp-block-paragraph">After create &#8220;Posts&#8221; table you should create post model for posts, so first create file in this path app/Post.php and put bellow content in post.php</p>



<p class="wp-block-paragraph"><strong>Post model : app\post.php</strong></p>



<script src="https://gist.github.com/dk5202000/1e541236c0cecd78fddb0c256e71af08.js"></script>



<h2 class="wp-block-heading">Step 3: Add Route&nbsp;&nbsp;</h2>



<p class="wp-block-paragraph"><strong>Post route : routes\web.php</strong></p>



<script src="https://gist.github.com/dk5202000/87b978cccd65a1d3094e2e598deb64a8.js"></script>



<h2 class="wp-block-heading">Step 4: Create a new Controllers&nbsp;</h2>



<p class="wp-block-paragraph">Run this command to Create a new Controller</p>


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

</pre></div>


<p class="wp-block-paragraph"><strong>Controlllers : app\http\controllers\PostController</strong></p>



<script src="https://gist.github.com/dk5202000/527a4408d16e542a8462fbe825eb4917.js"></script>



<h2 class="wp-block-heading">Step 5 : Create a new Blade File</h2>



<p class="wp-block-paragraph"><strong>View : resources\views\post\index.blade.php</strong></p>



<script src="https://gist.github.com/dk5202000/5acbce99aa57b72bceba6c40928f170d.js"></script>



<h2 class="wp-block-heading">Step 6: Create JS and CSS File</h2>



<p class="wp-block-paragraph"><strong>View : resources\views\layouts\app.blade.php</strong></p>



<script src="https://gist.github.com/dk5202000/5a824f7932b04fde8d824c0a93175e7a.js"></script>



<p class="wp-block-paragraph">now in terminal write php artisan serve</p>



<p class="wp-block-paragraph">Now open browser and paste the following link</p>



<p class="wp-block-paragraph">http://127.0.0.1:8000/post</p>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/crud-through-ajax-using-laravel-framework/">CRUD through AJAX using Laravel framework</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.scmgalaxy.com/tutorials/crud-through-ajax-using-laravel-framework/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Basics jQuery Syntax to know</title>
		<link>https://www.scmgalaxy.com/tutorials/basics-jquery-syntax-to-know/</link>
					<comments>https://www.scmgalaxy.com/tutorials/basics-jquery-syntax-to-know/#respond</comments>
		
		<dc:creator><![CDATA[Deepak K]]></dc:creator>
		<pubDate>Sat, 20 Mar 2021 07:36:10 +0000</pubDate>
				<category><![CDATA[Uncategorized]]></category>
		<guid isPermaLink="false">http://www.scmgalaxy.com/tutorials/?p=5675</guid>

					<description><![CDATA[<p>jQuery Hide/Show With jQuery, you can hide and show HTML elements with the hide() and show() methods: $(&#8220;#hide&#8221;).click(function(){ $(&#8220;p&#8221;).hide(); }); $(&#8220;#show&#8221;).click(function(){ $(&#8220;p&#8221;).show(); }); jQuery [&#8230;]</p>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/basics-jquery-syntax-to-know/">Basics jQuery Syntax to know</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></description>
										<content:encoded><![CDATA[
<p class="wp-block-paragraph"></p>



<p class="wp-block-paragraph"><strong>jQuery Hide/Show</strong> </p>



<p class="wp-block-paragraph">With jQuery, you can hide and show HTML elements with the <code>hide()</code> and <code>show()</code> methods:</p>



$(&#8220;#hide&#8221;).click(function(){
  $(&#8220;p&#8221;).hide();
});

$(&#8220;#show&#8221;).click(function(){
  $(&#8220;p&#8221;).show();
});



<p class="wp-block-paragraph"><strong>jQuery Fadein/Fadeout</strong></p>



<p class="wp-block-paragraph">With jQuery you can fade elements in and out of visibility.</p>



$(&#8220;button&#8221;).click(function(){
  $(&#8220;#div1&#8221;).fadeIn();
  $(&#8220;#div2&#8221;).fadeIn(&#8220;slow&#8221;);
  $(&#8220;#div3&#8221;).fadeIn(3000);
});
$(&#8220;button&#8221;).click(function(){
  $(&#8220;#div1&#8221;).fadeOut();
  $(&#8220;#div2&#8221;).fadeOut(&#8220;slow&#8221;);
  $(&#8220;#div3&#8221;).fadeOut(3000);
});



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



<p class="wp-block-paragraph">for animate text or image etc.</p>



$(&#8220;button&#8221;).click(function(){
  $(&#8220;div&#8221;).animate({left: &#8216;250px&#8217;});
}); 



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



<p class="wp-block-paragraph">Chaining allows us to run multiple jQuery methods (on the same element) within a single statement.</p>



$(&#8220;#p1&#8221;).css(&#8220;color&#8221;, &#8220;red&#8221;)
  .slideUp(2000)
  .slideDown(2000);



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



<p class="wp-block-paragraph">Add css through jQuery</p>



$(&#8220;p&#8221;).css(&#8220;background-color&#8221;, &#8220;yellow&#8221;);



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



<p class="wp-block-paragraph">To handle event</p>



$(&#8220;p&#8221;).click(function(){
  // action goes here!!
});



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



<p class="wp-block-paragraph">The jQuery slide methods slide elements up and down.</p>



$(&#8220;#flip&#8221;).click(function(){
  $(&#8220;#panel&#8221;).slideDown();
});



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



<p class="wp-block-paragraph">To remove elements and content</p>



$(&#8220;#div1&#8221;).remove();



<p class="wp-block-paragraph"><strong>jQuery Prop (For multiple properties and values:)</strong></p>



<p class="wp-block-paragraph">The jQuery prop() method is generally used to retrieve property values.</p>



$(selector).prop({property:value, property:value,&#8230;})  



<p class="wp-block-paragraph"><strong>jQuery Has Class</strong></p>



<p class="wp-block-paragraph">The jQuery hasClass() method is used to check whether selected elements have specified class name or not.</p>



$(selector).hasClass(classname)
<p>The post <a href="https://www.scmgalaxy.com/tutorials/basics-jquery-syntax-to-know/">Basics jQuery Syntax to know</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.scmgalaxy.com/tutorials/basics-jquery-syntax-to-know/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Script timeout passed, if you want to finish import, please resubmit the same file and import will resume.</title>
		<link>https://www.scmgalaxy.com/tutorials/script-timeout-passed-if-you-want-to-finish-import-please-resubmit-the-same-file-and-import-will-resume/</link>
					<comments>https://www.scmgalaxy.com/tutorials/script-timeout-passed-if-you-want-to-finish-import-please-resubmit-the-same-file-and-import-will-resume/#respond</comments>
		
		<dc:creator><![CDATA[Deepak K]]></dc:creator>
		<pubDate>Fri, 19 Mar 2021 13:05:26 +0000</pubDate>
				<category><![CDATA[Uncategorized]]></category>
		<guid isPermaLink="false">http://www.scmgalaxy.com/tutorials/?p=5670</guid>

					<description><![CDATA[<p>If you are importing a Database using phpMyAdmin localhost then if this error occurred during the time of Import then [&#8230;]</p>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/script-timeout-passed-if-you-want-to-finish-import-please-resubmit-the-same-file-and-import-will-resume/">Script timeout passed, if you want to finish import, please resubmit the same file and import will resume.</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></description>
										<content:encoded><![CDATA[
<p class="wp-block-paragraph">If you are importing a Database using phpMyAdmin localhost then if this error occurred during the time of Import then follow the simple steps:-</p>



<ol class="wp-block-list"><li>Open file explorer.</li><li>open your XAMPP folder where XAMPP is installed (generally we install XAMPP in C:\ folder).</li><li>In xampp folder find phpMyAdmin folder and open it.</li><li>In phpMyAdmin folder find libraries folder and open it.</li><li>In libraries folder find config.default file and open it with your notepad.</li><li>And press the ctrl+F button to find <strong>$cfg[&#8216;ExecTimeLimit&#8217;]</strong></li></ol>



<div class="wp-block-image"><figure class="aligncenter size-large"><img fetchpriority="high" decoding="async" width="569" height="253" src="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/03/image-38.png" alt="" class="wp-image-5672" srcset="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/03/image-38.png 569w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/03/image-38-300x133.png 300w" sizes="(max-width: 569px) 100vw, 569px" /></figure></div>



<p class="wp-block-paragraph">Change it to 0.</p>



<p class="wp-block-paragraph">That&#8217;s all </p>



<p class="wp-block-paragraph">Warning :- Before updating in config.default file please stop your appache and my sql and then make change in file otherwise local server may corrupt.</p>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/script-timeout-passed-if-you-want-to-finish-import-please-resubmit-the-same-file-and-import-will-resume/">Script timeout passed, if you want to finish import, please resubmit the same file and import will resume.</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.scmgalaxy.com/tutorials/script-timeout-passed-if-you-want-to-finish-import-please-resubmit-the-same-file-and-import-will-resume/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>CRUD operation with the help of Laravel Framework.</title>
		<link>https://www.scmgalaxy.com/tutorials/crud-operation-with-the-help-of-laravel-framework/</link>
					<comments>https://www.scmgalaxy.com/tutorials/crud-operation-with-the-help-of-laravel-framework/#respond</comments>
		
		<dc:creator><![CDATA[Deepak K]]></dc:creator>
		<pubDate>Fri, 19 Mar 2021 09:44:26 +0000</pubDate>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[crud operations]]></category>
		<guid isPermaLink="false">http://www.scmgalaxy.com/tutorials/?p=5640</guid>

					<description><![CDATA[<p>Basic requirements:- Composer (Link for Download Composer) Laravel framework Code Editor (Take any as per your choice, I prefer Visual [&#8230;]</p>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/crud-operation-with-the-help-of-laravel-framework/">CRUD operation with the help of Laravel Framework.</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></description>
										<content:encoded><![CDATA[
<p class="wp-block-paragraph">Basic requirements:-</p>



<ul class="wp-block-list"><li>Composer (<a rel="noreferrer noopener" href="https://getcomposer.org/Composer-Setup.exe)" target="_blank">Link for Download Composer</a>)</li><li>Laravel framework </li><li>Code Editor (Take any as per your choice, I prefer <a rel="noreferrer noopener" href="https://code.visualstudio.com/download" target="_blank">Visual Studio</a>)</li><li><a rel="noreferrer noopener" href="https://www.apachefriends.org/download.html" target="_blank">XAMPP</a> for local host (You can also choose any for local host)</li></ul>



<ul class="wp-block-list"><li>Steps for installing Laravel Framework</li></ul>



<ol class="wp-block-list"><li>Open Command Prompt and type</li></ol>


<div class="wp-block-syntaxhighlighter-code "><pre class="brush: plain; title: ; notranslate">
composer create-project --prefer-dist laravel/laravel project_name &quot;5.8.*&quot;
</pre></div>


<p class="wp-block-paragraph">in place of <strong>project_name </strong>you can choose any name.</p>



<p class="wp-block-paragraph">2. once Installed finished type </p>



<p class="wp-block-paragraph">composer create -project laravel/laravel project_name “version_name.*”</p>



<p class="wp-block-paragraph">3. Mysql Database connection</p>



<p class="wp-block-paragraph">4. In first way you have to find&nbsp;<strong>.env</strong>&nbsp;file in your project folder. Open that file and under you have to define your mysql database configuration like below.</p>



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



<figure class="wp-block-image size-large"><img decoding="async" width="200" height="148" src="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/03/1.png" alt="" class="wp-image-5641"/></figure>



<p class="wp-block-paragraph">you can define your own database which you have created in PHP my Admin page.</p>



<p class="wp-block-paragraph">5. Migrate Table from Laravel to Mysql Database through terminal</p>



<p class="wp-block-paragraph">php artisan make:migration create_crud_table –create=crud</p>



<p class="wp-block-paragraph">This command will create migration file in&nbsp;<strong>database/migrations</strong>&nbsp;folder. In this file we have to define table column which we want to create in table. Below you can find migration file in which we have define table column.</p>



<figure class="wp-block-image size-large"><img decoding="async" width="860" height="455" src="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/03/image-35.png" alt="" class="wp-image-5643" srcset="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/03/image-35.png 860w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/03/image-35-300x159.png 300w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/03/image-35-768x406.png 768w" sizes="(max-width: 860px) 100vw, 860px" /></figure>



<p class="wp-block-paragraph">In Database / migration folder we make our schema.</p>



<p class="wp-block-paragraph">6. Once schema is made we have to migrate our schema through terminal</p>



<p class="wp-block-paragraph">php artisan migrate</p>



<p class="wp-block-paragraph">7. Now we have to make our model, view and controller for that we run this command,</p>



<p class="wp-block-paragraph">php artisan make:model Project_name -mcr</p>



<p class="wp-block-paragraph">8. In app folder we find our model</p>



<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="457" height="291" src="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/03/image-36.png" alt="" class="wp-image-5645" srcset="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/03/image-36.png 457w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/03/image-36-300x191.png 300w" sizes="auto, (max-width: 457px) 100vw, 457px" /></figure>



<p class="wp-block-paragraph">Here we put our database table.</p>



<p class="wp-block-paragraph">9. Setting Route</p>



<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="636" height="408" src="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/03/image-37.png" alt="" class="wp-image-5646" srcset="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/03/image-37.png 636w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/03/image-37-300x192.png 300w" sizes="auto, (max-width: 636px) 100vw, 636px" /></figure>



<p class="wp-block-paragraph">10. Set Data in View File in Laravel</p>



<p class="wp-block-paragraph">In resource/view we make a new folder name parent.blade.php</p>



<script src="https://gist.github.com/dk5202000/e59f75f3bd3d6d77ee29728621dd94a3.js"></script>



<p class="wp-block-paragraph">11. In App/Http/Controller folder we code for function that we call during create, edit, delete operations</p>



<script src="https://gist.github.com/dk5202000/990011056ebcee11652fa0ac9ef8e978.js"></script>



<p class="wp-block-paragraph">11. Now in resource/views we make 4 folder name 1. create.blade.php 2. edit.blade.php 3. view.blade.php 4. index.blade.php</p>



<p class="wp-block-paragraph">For create.blade.php code</p>



<script src="https://gist.github.com/dk5202000/db465f1e37779ffe7f2e847de8f21831.js"></script>



<p class="wp-block-paragraph">For edit.blade.php code</p>



<script src="https://gist.github.com/dk5202000/0df27b10aa12d820cfa354b98e7ac733.js"></script>



<p class="wp-block-paragraph">For view.blade.php code</p>



<script src="https://gist.github.com/dk5202000/16c8729afd7ce51d56d3df6bf7ebb302.js"></script>



<p class="wp-block-paragraph">For index.blade.php code</p>



<script src="https://gist.github.com/dk5202000/56ba8f55260abb6c9c4a2f394d94d7ba.js"></script>



<p class="wp-block-paragraph">12. Now we run our local server for this we type </p>



<p class="wp-block-paragraph">php artisan serve</p>



<p class="wp-block-paragraph">now we run our project on browser.</p>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/crud-operation-with-the-help-of-laravel-framework/">CRUD operation with the help of Laravel Framework.</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-with-the-help-of-laravel-framework/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
	</channel>
</rss>
