santiago.basulto Posted October 28, 2009 Share Posted October 28, 2009 Hey everyone! I've wrote a LinkedList with the same interface to the Java one. Take a look and tell me what you think about it. I'm just coding for personal use, so any comment or recomendation will be well received. You can find it at: http://blogs.xingular.net/santiago/php/linkedlist-en-php/ Thanks! Quote Link to comment https://forums.phpfreaks.com/topic/179415-php-linked-list/ Share on other sites More sharing options...
Mark Baker Posted October 28, 2009 Share Posted October 28, 2009 Formatting of the code on your page doesn't look good. You're aware that linked lists are a part of SPL, which has been available as part of PHP from 5.0.0 Quote Link to comment https://forums.phpfreaks.com/topic/179415-php-linked-list/#findComment-946675 Share on other sites More sharing options...
salathe Posted October 28, 2009 Share Posted October 28, 2009 I didn't look at the code very closely (tired, having trouble seeing straight!) but it looks like the SplDoublyLinkedList (part of the SPL) but with, as you say, a Java-inspired interface. P.S. Mark said the same thing; that'll teach me to open threads in tabs and take a while to get around to answering them! Quote Link to comment https://forums.phpfreaks.com/topic/179415-php-linked-list/#findComment-946683 Share on other sites More sharing options...
rajeevbharti Posted October 30, 2009 Share Posted October 30, 2009 Hey everyone! I've wrote a LinkedList with the same interface to the Java one. Take a look and tell me what you think about it. I'm just coding for personal use, so any comment or recomendation will be well received. You can find it at: http://blogs.xingular.net/santiago/php/linkedlist-en-php/ Thanks! Nice work i saw code this is very good. you used oops concept in php. i like this code.... Quote Link to comment https://forums.phpfreaks.com/topic/179415-php-linked-list/#findComment-947768 Share on other sites More sharing options...
santiago.basulto Posted November 4, 2009 Author Share Posted November 4, 2009 Formatting of the code on your page doesn't look good. You're aware that linked lists are a part of SPL, which has been available as part of PHP from 5.0.0 Yes Mark, i'm aware. The mean of this implemenation is just practice. I'd not use it in a professional app, or production eviroment. The main idea was to coding something and ask you guys (who are real pros) what do you think about it. Thanks for your help everybody! PD: I'm coding a tree right now. And i hope get a B-Tree beta implementation for december. That's something more interesting. Quote Link to comment https://forums.phpfreaks.com/topic/179415-php-linked-list/#findComment-951024 Share on other sites More sharing options...
Mark Baker Posted November 4, 2009 Share Posted November 4, 2009 PD: I'm coding a tree right now. And i hope get a B-Tree beta implementation for december. That's something more interesting.That's definitely more interesting, and I'll look forward to seeing it when you're ready Quote Link to comment https://forums.phpfreaks.com/topic/179415-php-linked-list/#findComment-951030 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.