Bravo List
Register
Go Back   > Bravo List > P2P > News > Annoucements
Reply
  #11  
Old 15th November 2008, 00:47
Essence Essence is offline
Member
 
Join Date: Oct 2008
Posts: 3
Default
Quote:
Originally Posted by dezza View Post
TBdev is bad anyways .. Uses print which is slower than echo all trough the script, tables instead of divs, and too many coding styles in it, too many combined forces ..

Although your statement about echo being faster then print is true, it is
only by 111ms faster.. It can make a big difference on a BIG tracker.

Your comment about tbdev being bad is a little childish.
TBDev is also a learning place and will always be that. If you look through posts from staff and others we do point out echo being faster then print and other things such as using mysql_query("SELECT * FROM users when clearly
mysql_query("SELECT username, email FROM users is faster then using other query and also helping them secure there mods.

We do try to enlighten tbdev members of better coding to the best of our knowledge. So you can not say TBDev is bad due to members posting there mods and somethings are not correct.
Reply With Quote
  #12  
Old 15th November 2008, 01:06
Fynnon's Avatar
Fynnon Fynnon is offline
xxx
 
Join Date: Nov 2007
P2P
Posts: 984
Default
I saw the post earlier but i forgot to edit it...i can`t do everything in here ~
Anyway freedom of speech is what we encourage here, of course not cursing and badmouthing others (except xam)

If someones opinion is that tbdev is bad then be it you cant have everybody love you ! Some people like PMBT others like Gazelle and others like tbdev...

Well we don`t like flaming and users atacks in here and i personally hate to ban someone...i prefer editing :-)
(you can fight as much as you want but with nice words please)

10x
Reply With Quote
  #13  
Old 15th November 2008, 03:36
dezza's Avatar
dezza dezza is offline
Senior Member
 
Join Date: Oct 2008
Posts: 53
Default
I do not want to discuss whether TBdev is a good source or not, I agree that it has alot of supporting members and that it might be a good place to start coding, but I still wonder why no-one started started replacing prints and other leftovers like all the deprecated functions in PHP5/6 (magic quotes for example) ..

Don't take it as personal offence, I just say, that is not my coding style, and I still wonder why someone didn't create an open-source alternative that is more clean and up-to-date.. I apologize.
__________________
PM for iNViTES to PREViEW my source based off Yuna Scatari, almost completely rewritten and all bugs fixed! Optimized announce.
http://primo-nordica.net


Folding@Home Stats - Team 163 (Linux)

IRC: dezza @ Freenode (#njlug, #archlinux, #archlinux.dk), P2P-Network (#primo-nordica, #primo-staff)

Last edited by dezza; 15th November 2008 at 03:56.
Reply With Quote
  #14  
Old 15th November 2008, 08:36
joeroberts's Avatar
joeroberts joeroberts is offline
BT.Manager Owner
 
Join Date: Jan 2008
United States
Posts: 2,113
Default
Quote:
Originally Posted by dezza View Post
TBdev is bad anyways .. Uses print which is slower than echo all trough the script, tables instead of divs, and too many coding styles in it, too many combined forces ..
the time between print and echo is so minute its not even worth mentioning.
Quote:
Originally Posted by php.faqts
1. Speed. There is a difference between the two, but speed-wise it
should be irrelevant which one you use. echo is marginally faster
since
it doesn't set a return value if you really want to get down to the
nitty gritty.

2. Expression. print() behaves like a function in that you can do:
$ret = print "Hello World"; And $ret will be 1. That means that print
can be used as part of a more complex expression where echo cannot. An
example from the PHP Manual:

$b ? print "true" : print "false";

print is also part of the precedence table which it needs to be if it
is
to be used within a complex expression. It is just about at the bottom
of the precedence list though. Only "," AND, OR and XOR are lower.

3. Parameter(s). The grammar is: echo expression [, expression[,
expression] ... ] But echo ( expression, expression ) is not valid.
This would be valid: echo ("howdy"),("partner"); the same as: echo
"howdy","partner"; (Putting the brackets in that simple example
serves
no purpose since there is no operator precedence issue with a single
term like that.)

So, echo without parentheses can take multiple parameters, which get
concatenated:

echo "and a ", 1, 2, 3; // comma-separated without parentheses
echo ("and a 123"); // just one parameter with parentheses

print() can only take one parameter:

print ("and a 123");
print "and a 123";
so I think you need to be a little more under standing about what you say and not just go off repeating what you hear!!
__________________
Do not ask me to help you work on your site that is not phpMyBitTorrent
Do not ask me to make a mod for any other source
Do not Ask me to setup your site.
I will no longer help you setup your site, there is a setup script if you have trouble with it post in the forum here or in BT.Manager™ forum
My Current Demo is here http://demo.btmanager.org/
Reply With Quote
  #15  
Old 16th November 2008, 01:49
Laffin's Avatar
Laffin Laffin is offline
Senior Member
 
Join Date: Oct 2008
Posts: 32
Default
Quote:
Originally Posted by dezza View Post
Don't take it as personal offence, I just say, that is not my coding style, and I still wonder why someone didn't create an open-source alternative that is more clean and up-to-date.. I apologize.
And why havent u answered your own challenge? Since Yer Coding Style is far superior.... I mean from yer statements ya sound like yer better than the coders at tbdev (Oh Wait, I'm on TBDev as well).

This sounds much like the noobish thoughts. TBDev was created by a bunch of ppl, so saying that it's style is crap, pretty much speaks for u as a coder.
As most coders know, they will be 100's of ways of doing the same thing, and not 1 of them is gonna be more correct than the other. And thats why tbdev coders learn so much in so little time. The diversity of styles of code.
Reply With Quote
  #16  
Old 16th November 2008, 15:52
dezza's Avatar
dezza dezza is offline
Senior Member
 
Join Date: Oct 2008
Posts: 53
Default
Yes several parts can be faster if you do it different..

- There are places where switches are faster than if/else statements
- You can use mysqli, since it will be faster and more secure, for example because you do not have to sqlescape it.
- Co-ersion instead of (int)

I can keep on finding examples since so many tingered with that code.

If you want to keep on repeating each other then you are welcome.. This thread can be as long as you like .. But send one monk and let him speak instead of the whole church to represent TBdev lol.:sleep: There are still people waiting for support on your forum you know.

Like Fynnon said 1st post this is no TBdev-site, we want alternatives to TBdev, if you want to whine about that, go whine in your own forum.

bvlist story, omg..
__________________
PM for iNViTES to PREViEW my source based off Yuna Scatari, almost completely rewritten and all bugs fixed! Optimized announce.
http://primo-nordica.net


Folding@Home Stats - Team 163 (Linux)

IRC: dezza @ Freenode (#njlug, #archlinux, #archlinux.dk), P2P-Network (#primo-nordica, #primo-staff)

Last edited by dezza; 16th November 2008 at 15:56.
Reply With Quote
  #17  
Old 17th November 2008, 10:32
Laffin's Avatar
Laffin Laffin is offline
Senior Member
 
Join Date: Oct 2008
Posts: 32
Default
Nuther words, ya detract from doing yer own tracker.

Thanks, nuff said about yer codig skills :)
Reply With Quote
  #18  
Old 7th June 2009, 00:12
tomasasg tomasasg is offline
Member
 
Join Date: Apr 2009
Lithuania
Posts: 2
Default Hay
thanks
Reply With Quote
Reply

Tags
bravo , list , story

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
To-Do List BoLaMN Yuna Scatari Edition (YSE) 16 7th June 2010 09:14
[TT] story by ... wMan Torrent Trader 0 16th May 2009 06:51
Hello all and Nice to meet you .. bravo.. ff290g Introduce Yourself 0 9th April 2009 05:22
New Templates created specifically for Bravo List Dragan3591 Community Cafe 0 9th October 2008 13:28
TBDev Bravo Edition ANDiTKO Community Cafe 17 19th August 2008 23:27



All times are GMT +2. The time now is 11:09. vBulletin skin by ForumMonkeys. Powered by vBulletin® Version 3.8.11 Beta 3
Copyright ©2000 - 2024, vBulletin Solutions Inc.