TalkPHP

TalkPHP (http://www.talkphp.com/forums.php)
-   General (http://www.talkphp.com/general/)
-   -   Tutorial List... (http://www.talkphp.com/general/29-tutorial-list.html)

CreativeLogic 04-13-2005 02:39 PM

Tutorial List...
 
Shortly, we'll have our tutorial system setup. We already have a few ideas for tutorials, but I'm sure we'll quickly run out. Please use this thread to list tutorials that you would like to see! :)

mike.fro 04-13-2005 05:05 PM

Awesome, let me know if you guys need some help. I work at phpfreaks and have been doing Web Development for a good 4 years now. Any positions available here?

CreativeLogic 04-13-2005 07:04 PM

We're always looking for people to help write unique tutorials if you're interested. A job down the road as a moderator or something of that matter may open up but as of now we're in need of none. You'll have to be active in the community for this though! ;)

ammo 04-17-2005 11:43 AM

Im a begginer at php but improving quickly i would love to help out if i can.

alegend 04-17-2005 03:30 PM

Quote:

Originally Posted by Ryan
We're always looking for people to help write unique tutorials if you're interested. A job down the road as a moderator or something of that matter may open up but as of now we're in need of none. You'll have to be active in the community for this though! ;)

I am learning php (not an expert), but I could write a few tutorials.. including one on how to install apache, and php.

crash 04-21-2005 09:51 AM

I started learning PHP 3 days ago. Honestly, its really simple and im almost done because I already know C/C++ and am familiar with UNIX and stuff.

Sometimes, stuff slips my mind though so maybe... a PHP Cheat Sheat :-). Should include syntax, explanation, example, output (if applicable)
Example :
strtr (intial string, string from, string to) // Returns a string by translating every occurance of a charachter in 'string from' to the charachter in 'string to' with the same position.
Code:

$string = '<P>"This Sucks" Jane Fumed</P>';
$encoded = htmlspecialchars(addslashes($astring));
$decode_table = get_html_translation_table(HTML_SPECIALCHARS);
echo strtr(stripslashes($encoded), array_flip($decode_table));

"This Sucks" Jane Fumed

Please Note : In the cheat sheet, unless if its an advanced function i seriously would suggest that you dont use semi-advanced uses of it as i did in my example :-P. Also I wouldnt suggest that you use functions other than the ones the example is describing :-P.

CreativeLogic 04-21-2005 06:08 PM

I'm not following you exactly? It sounds like what you're describing is exactly what PHP.net does?

Correct me if I'm wrong or you're trying to say something else! :)

crash 04-24-2005 07:59 AM

hmph... i knew someone would chew me out for that post >.<
Ok, let me put it like this... a bit more understandable.

- php.net = MEGA Archieve Refrence for php
- - Unfriendly for 'newbies' that do not know what a certain thing is (try explaining OOP to a newbie or sessions ;)) and to slow for advanced users (i will touch up on this later).
- - I myself did not know that you could goto php.net/functions name until 10mins before coming onto this site and seeing your post
- - In PHP.NET you go one function / process / whatever at a time
- - - Doing this is a slow process and furthermore if you dont know specificaly what you want, it can take a 'while' to find what you need.
- - - - please remember : I just learned php within 3 days, if they have a cheat sheet then please tell me ;)

- Cheat List = Quick refrence sheet, possibly divided into sections
- - If your a newbie, you should NEVER look at a cheat sheet first (they earned a headache if they do)
- - Very quick and easy to use for vetran coders.
- - Easy to find a function / learn a function if you dont know what your looking for but have a general idea (i will demonstrate)

Demonstration :
String Functions
soundex | split | spliti | sprintf | sql_regcase | sscanf | stat | str_pad | str_repeat | str_replace | strcasecmp | strchr | strcmp | strcoll | strcspn | strftime | stripcslashes | stripslashes | strip_tags | stristr | strlen | strnatcasecmp | strnatcmp | strncmp | strpos | strrchr | strrev | strpos | strspn | strstr | strtok | strtolower | strtotime | strtoupper | strtr | strval | substr | substr_count | substr_replace | symlink | syslog | system

- Those are all functions that relate to strings on varying degree's. The list is a list I pulled from a apendix in 'Programming PHP (O'REILLY)' under the S section for PHP functions.
- The structure used is by NO means what I intend it to be. Sure you can have a nice Strings section that lists which string functions are in the cheat sheet and they link to the syntax and whatnot.
- Obviously you can easily look at that list and pick out over a dozen functions that are rarley used and when they are used, the programmer usually knows exactly what he wants.
- - This allows us to narrow down the 'Cheat Sheet' tremendously by including the main common functions and possibly not so common but very usefull / powerfull.


All times are GMT. The time now is 09:33 PM.

Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.1.0