<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Precious Oladele</title>
    <description>The latest articles on DEV Community by Precious Oladele (@devprecious_).</description>
    <link>https://dev.to/devprecious_</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F441888%2Fbcb2ab5d-bf95-48b9-99e2-479a51685995.jpg</url>
      <title>DEV Community: Precious Oladele</title>
      <link>https://dev.to/devprecious_</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/devprecious_"/>
    <language>en</language>
    <item>
      <title>Codeigniter 4 Post Request</title>
      <dc:creator>Precious Oladele</dc:creator>
      <pubDate>Sat, 26 Sep 2020 00:07:55 +0000</pubDate>
      <link>https://dev.to/devprecious_/codeigniter-4-post-request-o49</link>
      <guid>https://dev.to/devprecious_/codeigniter-4-post-request-o49</guid>
      <description>&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fi%2Fmzajnfa4ffv25mojh1j5.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fi%2Fmzajnfa4ffv25mojh1j5.png" alt="Alt Text"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Hello, how you doing?, For you to be here , that means you have a basic knowledge on how codeigniter 4 works or you just wanna try it out. &lt;/p&gt;

&lt;p&gt;So in this case we will be looking at how to send POST request from view to controller and back to the view, Lets dive in.&lt;/p&gt;

&lt;p&gt;Step 1. Set up a new codeigniter 4 project, Docs :  &lt;a href="http://codeigniter.com/" rel="noopener noreferrer"&gt;Codeigniter&lt;/a&gt; &lt;/p&gt;

&lt;p&gt;Step 2. Create a controller and pass in this.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;public function post(){
if($this-&amp;gt;request-&amp;gt;getMethod() == 'post'){
echo "Hello world";
}
}
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Step 3. in your view create a form and add a button.&lt;br&gt;
Like this&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;&amp;lt;form action="" method="post"&amp;gt;
&amp;lt;button&amp;gt;Click me &amp;lt;/button&amp;gt;
&amp;lt;/form&amp;gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Thats all, its not something more complex or buggy.. its just simple..&lt;/p&gt;

&lt;p&gt;Please subscribe to my channel  &lt;a href="https://www.youtube.com/channel/UCLcHGKxbEO1XGVETXqzYXLA?view_as=subscriber" rel="noopener noreferrer"&gt;DevStack&lt;/a&gt; &lt;/p&gt;

</description>
      <category>webdev</category>
      <category>php</category>
      <category>php7</category>
    </item>
    <item>
      <title>Build Your First Application With Codeignter - 1</title>
      <dc:creator>Precious Oladele</dc:creator>
      <pubDate>Sun, 02 Aug 2020 15:19:27 +0000</pubDate>
      <link>https://dev.to/devprecious_/build-your-first-application-with-codeignter-1-5bc5</link>
      <guid>https://dev.to/devprecious_/build-your-first-application-with-codeignter-1-5bc5</guid>
      <description>&lt;h1&gt;
  
  
  Build Your First Application
&lt;/h1&gt;

&lt;p&gt;Overview&lt;/p&gt;

&lt;p&gt;This tutorial will cover the basics of Codeignter4 framework and the basics principle of MVC&lt;/p&gt;

&lt;p&gt;Codeignter4 is built on top PHP so you must have a basic understanding on PHP before diving in.. So basically we are gonna be building a crud system in CI4(Codeignter4). CRUD(Create Read Update Delete)&lt;/p&gt;

&lt;p&gt;In this post we will cover installation&lt;/p&gt;

&lt;p&gt;CI4 can be installed in 2 ways&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Manual Installation&lt;/li&gt;
&lt;li&gt;Composer Installation 
but we will be looking at manual installation.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;To install manually all you need is to head over to github and download CI4&lt;/p&gt;

&lt;p&gt;Extract and keep in a folder&lt;/p&gt;

&lt;p&gt;Next we open terminal and cd into the folder directory&lt;/p&gt;

&lt;p&gt;Then in the terminal type php spark serve&lt;/p&gt;

&lt;p&gt;And you should be having this&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--I5BDjuAn--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/i/d2643yhqcbbnva5h0r5h.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--I5BDjuAn--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/i/d2643yhqcbbnva5h0r5h.png" alt="Cmd"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Now open up your browser and type in the link CI4 gave you &lt;a href="http://localhost:8080"&gt;http://localhost:8080&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;And you should be having this.&lt;br&gt;
&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--j_Z5xAfI--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/i/30vani2r3pa4qlfct02n.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--j_Z5xAfI--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/i/30vani2r3pa4qlfct02n.png" alt="Alt Text"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Voila 🎉🎉 now we have CI4 running... So next we will take a look at the File Structure!.&lt;/p&gt;

&lt;p&gt;Comment if you have any question. &lt;/p&gt;

</description>
      <category>webdev</category>
      <category>php</category>
      <category>framework</category>
      <category>code</category>
    </item>
    <item>
      <title>5 TIPS FOR A DEVELOPER</title>
      <dc:creator>Precious Oladele</dc:creator>
      <pubDate>Mon, 27 Jul 2020 21:29:36 +0000</pubDate>
      <link>https://dev.to/devprecious_/5-tips-for-a-developer-5an5</link>
      <guid>https://dev.to/devprecious_/5-tips-for-a-developer-5an5</guid>
      <description>&lt;p&gt;As a developer/programmer, this are one of the best tip you can follow..&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;&lt;p&gt;Focus on a thing As you can decide from the title, that this dude is trying to tell me to focus on one language, Am not what i meant is that you can learn as many languages , but companies will only ask you for one. Meaning no matter how many programming languages you know, focus on one&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Develop(Practice) As it is well said, practice makes perfect.. imagine learning a new thing today and suddenly forgets tomorrow. WHY?, because you didn't practice what you learnt. so repetition is one of the best way to learn a lot&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Build Stuffs(Projects) So alright sure, you can code and you remember your codes because you practice a lot, that amazing(to you). WHY? even tho you can code all in this world, without a project no one will believe you, they will take you for granted... so a developer without a project is more like a memer&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Refactor your codes It is highly recommended to refactor your code: it is a technique to restructure a source code, altering its internal structure without changing its external behavior. Because as a developer we spend 80% reading code and 20% writing it, and if we have a good code we save a lot of time. Other thing is that often, we work with other people, and obviously is a good idea always write readable code.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Learn from experience Yes, you are a developer, you build amazing projects but you keep repeating the sane error, aren't you learning from your experience? i don't think so. Yh i don't, why? you took road A in the first phase and didn't work you switched , then when you need to do something like that you took the road A again, doesn't that sounds weird???? it does, learn as you code.&lt;/p&gt;&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;Bonus: Meet People Meeting new people is a great idea, because we establish a connection by winning contacts that can benefit us in future projects or jobs. It is also a good idea to talk with other developers to learn, also participate in meetings, presenter in a conference / talk and other things.&lt;/p&gt;

&lt;p&gt;Thanks, hope you like it.&lt;/p&gt;

</description>
      <category>webdev</category>
      <category>tutorial</category>
      <category>webdesign</category>
    </item>
    <item>
      <title>I GIVE UP , I HATE CODING</title>
      <dc:creator>Precious Oladele</dc:creator>
      <pubDate>Mon, 27 Jul 2020 21:25:09 +0000</pubDate>
      <link>https://dev.to/devprecious_/i-give-up-i-hate-coding-21n6</link>
      <guid>https://dev.to/devprecious_/i-give-up-i-hate-coding-21n6</guid>
      <description>&lt;p&gt;I GIVE UP , I HATE CODING this is one of the biggest challenge we face when it comes to working.&lt;/p&gt;

&lt;p&gt;Imagine coding an application for 3hrs, you tested and it worked then few hours later you head back to check, boom u encountered an error on what you have tested. Me: i hate my life, i hate coding, Boss: I thought you said this was working already. LOL&lt;/p&gt;

&lt;p&gt;That can be so annoying and frustrating lol, but we still have to keep on coding, trust me if plan a fails, try plan b and c if they ain't working too, keep on trying till you get to Z. your skill is a brand, protect it.&lt;/p&gt;

&lt;p&gt;Lets take cs dojo for example, this particular guy applied at google 5 times and got rejected 4 times, imagine lol.. that basically means his lucky number is 5&lt;/p&gt;

&lt;p&gt;Imagine me too applying for jobs more than 10 times and boom my whatsapp status got me a remote laravel backend job lol , seems weird right?&lt;/p&gt;

&lt;p&gt;if you stop trying then you start failing _ devprecious, yes if you give up today you have given up everything, I gave up more than 3 times but with the help of people around me I was able to get on my feet back, imagine I didn't have supportive people around me, I would have become a Disc Jockey(Dj)..Lol&lt;/p&gt;

&lt;p&gt;So basically your first failure is a map to your success..&lt;/p&gt;

&lt;p&gt;Failure is the state or condition of not meeting a desirable or intended objective, and may be viewed as the opposite of success.&lt;/p&gt;

&lt;p&gt;Don't mind the above definition you should focus on Impossible which is basically I'm possible.. So keep on pushing and let see where we get to.&lt;/p&gt;

&lt;p&gt;I guess am a motivational speaker now... LOL&lt;/p&gt;

&lt;p&gt;Thanks My Youtube channel : &lt;a href="https://www.youtube.com/channel/UCLcHGKxbEO1XGVETXqzYXLA?view_as=subscriber"&gt;IcodeForEarth&lt;/a&gt;&lt;/p&gt;

</description>
      <category>webdev</category>
      <category>gamedev</category>
      <category>career</category>
      <category>codenewbie</category>
    </item>
  </channel>
</rss>
