| |
| |
| |
|
Page: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35
Comments:
<0> Artnez_, do you know anything smaller than cpcommerce? <1> mozez: take my advice, if you want to learn how an 'e-commerce system' works, learn how to write simple applications first <1> 'e-commerce system' is a marketing phrase... like 'ajax' <0> Artnez_, i usually learn something by looking at a piece of code not by reading a book or a tutorial that's a waste of time <0> Artnez_, I'm not a beginning programmer <1> mozez: then you're in for a big disaster down the road. i'm insulting, just being honest. <0> Artnez_, disaster? ;) <1> example: learning how to write extensible e-commerce systems has alot to do with OOP in my opinion <1> you will find books on secure AIM/SIM transactions <1> and how to properly implement them <2> I want to do online banking over aim <1> Myconid: hold on, i'll find a tutorial :P <2> lolol. <0> Artnez_, okay... then maybe not e-commerce. just a simple program that let's you add a table, run queries, all that type of stuff... <2> Anyone used oscommerce? <2> What a piece of **** that is
<1> Myconid: i've seen it around. <1> anything mainstream is a piece of **** in my opinion <1> look at cpanel <3> *shivvers* <2> cpanel isnt bad, and fills a nitch. <1> Myconid: p-lease dude <1> it doesnt support apache2 <1> that says enough <2> OSC is bizzare... variables are named differently between the main pages and cart pages. <2> I did ~8 OSC customizations .. and wtf <2> its such a piece of **** <1> mozez: i really dont know what you're asking for. if you want to see how an application works, you're not going to find out much <2> someone needs to make a good php ecom app <1> go to hotscripts.com and search if thats what you're after :) <2> im not at all.. <3> they probably have; but it's in java or .net :D <2> CLoCkWeRX: .myballs <1> however if you cannot understand 'how' an application would function in PHP, you need to nail down the basics of PHP and go from there <2> What was that in reference to? <0> Artnez_, nm thanks <1> for example: "you add a table, run queries, all that type of stuff" -- i'm ***uming you meant database interaction which is a whole new slew of information to understand. <3> you have the Problem of mediocre programmers who used to be web designers "having a bash" at doing something in php that just doesn't be done <4> Myconid, cpCommerce IS a good php eCommerce application <2> tempest1: pssh... its crap.. utter crap <3> we don't have much in the way of One True Framework; so you don't get to draw on much except PEAR - so it's rolling your own Everything <1> tempest1: i think he was referring to osCommerce, not cpCommerse <4> Myconid, why is that? <4> no, i was refering to cpCommerce <0> Artnez_, a whole new slew? you make this sound like it's actually hard <2> erm .. sorry. <2> Ive never used cpC <2> my bad. <1> temptest1: yes, but i think HE was referring to osCommerse <2> OSC is poop <4> oh, ok <3> and before you know it, your BudgetDeveloperTeam has written a piece of **** like cpanel <4> yea, cpc was made to address the ****tiness of osc <2> CLoCkWeRX: I wrote my own 'cpanel' using the horde stuffs. <2> its pretty primitive.. but works <1> the guys who founded cpanel are really raking in the cash though <2> yep <2> its the best out there <1> who would think ... all it takes is a decent app like cpanel to be released and it'll steal all of cpanel's business <1> and make the developers millionares <5> is: catch (Exception $e) the default for trying and catching? <2> cpanel is pretty advanced... and the issue you run into is people think cpanel is defacto.. <2> and you need to copy it.. or they wont use yours. <4> firefly2442, i don't think you have to name the type <5> so just catch ($e) ? <4> i think <2> I hate try/catch <2> java called.. they want their ****ty interface back <5> hmm, that didn't seem to work <5> is there another way to do it? <5> I need to check for errors in socket networking <2> I just check for errors. <1> i just have a errorhandler cl*** with different handler methods <1> $errorhandler -> sethandler( "standard" ); is enough for me <4> firefly2442, yea, i think google knows... <2> Ive never used try/catch, and never had a problem. <2> When I read that PHP even had that functionality, I laughed.
<1> my errorhandler is very useful though, i use debug_backtrace() to get all the info i need <5> cool, I'll check it out on the manual <5> thnx <4> Myconid, it's useful for the people who use the OOP features of PHP5 because it allows for a more application specific error handling method of the reusable cl***es. <1> tempest1: how so? <1> error handlers can be nested <2> tempest1 <1> or so to speak <4> well, you could have the member functions return bad errors and have your code constantly check for them <2> erm.. I populate an $error field in my cl***.. i prefer to have a if(error) print error .. style funciton <4> or have one try statement block <4> and error handling at the bottom <4> eh <1> i dont see why even do all that <1> i just run trigger_error() in any cl*** method <1> debug_backtrace() gives me all the info i need -- where it was called and how <4> Artnez_, but what if i want to use that same code and not have it trigger an error? <4> then without editing the cl*** file i have no control over what it does <1> in my database abstraction cl***, i have an error method <4> ok <1> just edit the error method and you're good to go <1> $this -> error( "bling blong" ); <1> if you want to define how the entire application handles errors, check the errorhandler <4> all i'm saying is I'd use try/catch because i prefer handing errors on an application basis <4> and possibly using the same include files for multiple applications <4> if they all had different $this->error() methods i couldn't do that <4> Artnez_, what if i want to keep PHP errors seperate from cl*** errors? <1> debug_backtrace() facilitates that <4> but that's more difficult than simply using try/catch <1> it'll tell you where the error source came from, you can then use php's reflection API to find out anything you need about said cl*** <4> Artnez_, do you not see how that is more complex then a try statement block? <1> .. not really :/ <4> well, i guess it's a matter of opinion <4> i'll stick to my try/catch :-p <1> i wonder what would happen if we were put together in the same dev room <1> and told we were on the same level of the todem pole <1> noses would be broken :D <4> Artnez_, then we'd better hope that level isn't the top <4> lol <6> Won my baseball game, 4 for 4, booya jimmy <2> hrmph.. why do keyboards still have caps locks keys <6> If I want to include my webcam in a web page with PHP, can I do that? <5> well, it seems that the error message that I am trying to catch is a warning <6> Been trying to find a solution the past 15-30 minutes...should I use java? <5> so it's not being caught apparently <6> *cringe* <7> Artnez_, hi how to make the prvious page not visible when user log out :-) <5> is there a way to catch a warning? <7> Artnez_, i did headers() its working but a mable to view the content of previous page <8> I just want to note something I find a bit comical. There is a particular conditional statement that, when executed crashed my apache server (Rather it 'says' its crashing and doesn't). If I seperate the statement into a temp variable then apply it, its fine. Just thought that was a bit funny to note. <9> firefly2442: error_reporting(E_ALL) <10> nandan: you mean you want to stop the 'back' button after logging out? <7> deadroot, yes i dont want to display contents when user press back button after he logs out <5> wisp, thanks <10> nandan: www.php.net/headers has examples on how to expire the page and prevent caching <10> oops.. www.php.net/header <8> By any chance, could be php be reserving the keyword "system"? I did not see it on the reserved keyword list. <10> system is a function name <4> it's a function <8> Ah. Thanks. <10> strange though. i do use $array and it works <8> I've been using a $system[] array, which has been working until I tried to do a stacked condition with it. <10> stacked condition? <11> tek_: If your web-cam serves dynamic JPEG's then you won't need to do anything with either PHP or JAVA. <4> deadroot, is array a function? <4> if PHP doesn't support named arguments, then it can't be <10> $array = array(); <11> tempest1: No, it's a language construct. <6> owh: but to stream it <4> owh, thanks <8> if($system['something']=isset($blah)){} <4> ==
Return to
#php or Go to some related
logs:
pydns tutorial no files no folders konqueror #python winehq psi
awk: error while loading shared libraries: libdl.so.2: cannot open en open suse php $db->Insert_ID() xcompmgr error 8 ntfs partition size mismatch detecting hardware+ubuntu wine on ppc
|
|