Impressive code snippet?
Moderator: General Moderators
-
Charles256
- DevNet Resident
- Posts: 1375
- Joined: Fri Sep 16, 2005 9:06 pm
Impressive code snippet?
Anyone think of anything they'd like to see coded that they'd estimate would take 5 or so hours and that you just think would be nifty? let me know. i've lost all my favorite code snippets ( damn crashes) and i need to code something with a quickness.help? 
- John Cartwright
- Site Admin
- Posts: 11470
- Joined: Tue Dec 23, 2003 2:10 am
- Location: Toronto
- Contact:
-
Charles256
- DevNet Resident
- Posts: 1375
- Joined: Fri Sep 16, 2005 9:06 pm
http://www.php.net/explode ?Jcart wrote: [*]a tokenizer
- MrPotatoes
- Forum Regular
- Posts: 617
- Joined: Wed May 24, 2006 6:42 am
there is more to a tokeniser than just thatFlamie wrote:http://www.php.net/explode ?Jcart wrote: [*]a tokenizer
i've done an Access Control List (permissions System). still has major bugs butt he major hurdles have been crossed
i've done a pretty simple and easy user auth
and i've gotten a pretty sweet MVC framework going. i'm pretty proud of that.
soon i'll have alot more to say once i get this next project (assuming the head guy knows what he wants *sigh*)
- Chris Corbyn
- Breakbeat Nuttzer
- Posts: 13098
- Joined: Wed Mar 24, 2004 7:57 am
- Location: Melbourne, Australia
- RobertGonzalez
- Site Administrator
- Posts: 14293
- Joined: Tue Sep 09, 2003 6:04 pm
- Location: Fremont, CA, USA
-
alex.barylski
- DevNet Evangelist
- Posts: 6267
- Joined: Tue Dec 21, 2004 5:00 pm
- Location: Winnipeg
Hmm...depends...even a simple explode() qualifies as a tokenizer...the difference is most powerful tokenizers can accept an arbitrary (or at least more than one) number of rules...whereas explode...takes only one. It is IMHO still a tokenizer, just a very trivial one is all...MrPotatoes wrote:there is more to a tokeniser than just thatFlamie wrote:http://www.php.net/explode ?Jcart wrote: [*]a tokenizer![]()
-
alex.barylski
- DevNet Evangelist
- Posts: 6267
- Joined: Tue Dec 21, 2004 5:00 pm
- Location: Winnipeg
UGH. I just spent about two hours trying this. I started off with PHP highlighting, then I planned on adding HTML & CSS.d11wtq wrote:A generic source code highlighter like Geshi/Enscript.
I didn't get past the PHP highlighting part. I could do each section fine. Comments, variables, constructs, functions, and strings. But when they're nested................... too difficult for me.
Set Search Time - A google chrome extension. When you search only results from the past year (or set time period) are displayed. Helps tremendously when using new technologies to avoid outdated results.
viewtopic.php?t=38810Hockey wrote:I'd be interested ni seeing a authentication library...as I have yet to see one which meets enough requirements to be considered re-usable.
I second the authentication vote...
- MrPotatoes
- Forum Regular
- Posts: 617
- Joined: Wed May 24, 2006 6:42 am
- feyd
- Neighborhood Spidermoddy
- Posts: 31559
- Joined: Mon Mar 29, 2004 3:24 pm
- Location: Bothell, Washington, USA
Wikiwiki style parsing: http://tatzu.net/examples/bbCoCode.phpsMrPotatoes wrote:i vote for the BB Parser. or the wikipedia style parser. that would be killer