CodeIgniter Forums
CodeIgniter is Awesome: Even While Drunk - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20)
+--- Forum: Archived General Discussion (https://forum.codeigniter.com/forumdisplay.php?fid=21)
+--- Thread: CodeIgniter is Awesome: Even While Drunk (/showthread.php?tid=3521)



CodeIgniter is Awesome: Even While Drunk - El Forum - 10-07-2007

[eluser]Michael Wales[/eluser]
So, last night/this morning (after drinking an 18-pack of Coors Light) I was a bit bored. So, I decided to record another CodeIgniter tutorial.

This tutorial outlines how to build a Contact Us form. Check it out!


CodeIgniter is Awesome: Even While Drunk - El Forum - 10-07-2007

[eluser]llbbl[/eluser]
Nice job walesmd!


CodeIgniter is Awesome: Even While Drunk - El Forum - 10-07-2007

[eluser]CI Lee[/eluser]
Quote:Ahh Fu** it we'll turn it on....

Nice....


CodeIgniter is Awesome: Even While Drunk - El Forum - 10-07-2007

[eluser]Michael Wales[/eluser]
Haha, pyro thought that part was funny as well. I am thinking of doing another one tonight... I have a very large bottle of Merlot calling my name.


CodeIgniter is Awesome: Even While Drunk - El Forum - 10-08-2007

[eluser]Holger Lampe[/eluser]
This was hilarious, you made my day.
Waiting for the next episode Wink


CodeIgniter is Awesome: Even While Drunk - El Forum - 10-08-2007

[eluser]CI Lee[/eluser]
I have suggested that it become a weekly segment


CodeIgniter is Awesome: Even While Drunk - El Forum - 10-09-2007

[eluser]BoltClock[/eluser]
That was pretty interesting, for the fact that you were actually drunk doing this. You taught a whole lot within those fourteen minutes.

I second CI Lee's suggestion Big Grin

Quote:Everything's cool.

Love that part besides the swearing Tongue


CodeIgniter is Awesome: Even While Drunk - El Forum - 10-09-2007

[eluser]Michael Wales[/eluser]
Yeah - this will definitely become a weekly segment and I am currently taking suggestions for what I should do this upcoming weekend. I'd like to keep them small, teach everything within one episode (about 10-15 minutes), but I could branch out into multiple episodes if need be (that could get funny, me trying to remember where I left off last time).

As for the cussing, I'll try and keep it toned down, but Airman can use some pretty bad language (when you mix in alcohol, it can get even worse).

Here are some of my current ideas, but they all seem like they would take to long:
- To-Do List (Form, Database, Validation, New Sessions w/ flashdata)
- User Authentication (Form, URL, Database, Validation, Session, extending the Controller class)
- File Management (URL, Form, File)

Here are some ideas that seem to be within the right amount of time:
- Creating an RSS Feed (using Derek's tutorial, kind of)
- File Uploading
- Smileys
- Using Unix Timestamps rather than MySQL Date/Time fields

thoughts?


CodeIgniter is Awesome: Even While Drunk - El Forum - 10-09-2007

[eluser]glemigh[/eluser]
That was a lot of fun, and very informative.

Here is a added tidbit for the lazy like me or who don't have the time for a fancy error box.
add this with your constructor stuff:
Code:
$this->validation->set_error_delimiters('* ','\n');

and in the view at the bottom:
Code:
<? if ($this->validation->error_string) {
    echo 'alert("' . ereg_replace(chr(10),"",$this->validation->error_string) . '");';
} ?>

Happy Igniting

George


CodeIgniter is Awesome: Even While Drunk - El Forum - 10-09-2007

[eluser]BoltClock[/eluser]
[quote author="walesmd" date="1191978388"]Here are some of my current ideas, but they all seem like they would take to long:
- To-Do List (Form, Database, Validation, New Sessions w/ flashdata)
- User Authentication (Form, URL, Database, Validation, Session, extending the Controller class)
- File Management (URL, Form, File)

Here are some ideas that seem to be within the right amount of time:
- Creating an RSS Feed (using Derek's tutorial, kind of)
- File Uploading
- Smileys
- Using Unix Timestamps rather than MySQL Date/Time fields

thoughts?[/quote]

If all/most of these ideas come to light, your series is going to be the best ever.

I'm looking most forward to user authentication, RSS feeds, file uploading and smilies.