logs archiveIRC Archive / Freenode / #php / 2006 / June / 7 / 33
artax
or you can se pdfLib or an equivilant
Monkey_b
yea thats fine
cythrawll
korkl, they do have a namespace like naming convention
Monkey_b
would it be possible to alter the properties of the pdf, so that the form fields can't be changed by the user?
artax
Monkey_b: check out pdflib
all-in-one commercial package
korkl
cythrawll: ok thanks for the tip, i really have not looked at Pear much yet
artax
there is afre alternative that escapes me at the moment
Monkey_b
k artax
thx :]
korkl
just curious, how many of you are college students?
         

artax
i quit college
after 3 classes
Lafy
does anyone know why pg_trace would create a blank file even though there are commands being sent to the db?
korkl
artax, hmm so how are you supporting yourself?
artax
i run the IT department
cythrawll
i just graduated with my associates, now im looking for a job and will continue with my bachelors online when i find one
artax
built me resume up and moved up the chain
also, incorp yourself, no one asks for education when you are representing yourself as a company
cythrawll
and I have a job that i worked through college doing IT work
Rick
artax: ha :)
korkl
do you guys have sites?
Fango
www.live.com
is mine
Wolfpaws
hm
Fango
its still Beta tho
cythrawll
im working on mine, trying to help out with zend framework by developingwith it
korkl
fango, yes i do like cold weather (plan to move to seattle after graduating) :P
artax
korkl: you will find most hiring manager, myself included skip the education section and go straight to skills/experience
education is secondary in IT
cynic
Thank god. =)
colder
how google-like live.com looks :)
||cw
that's cause it all changes every 6 months
artax
you wouldn't believe how many graphics/php interviewees have BA's etc but cant program design for jack
cynic
Yeah, which is also kind of a pain in the butt. =)
         

korkl
indeed
cynic
Everyone *I* know who has a college degree for the field really does not seem to have any idea what they're talking about 90% of the time.
Monkey_b
I agree
korkl
cynic: hehe that's how i feel about the kids in my class
artax
the biggest niche right now if you can teach yourself is the programmer who can talk business.
Monkey_b
the problem is, people learn the bare minimum to pass their classes, and after the class is over they forget everything.
korkl
artax: yep i'm working on my ISM degree
artax
you can't learn that in school.. its experience
Monkey_b
if you don't practice coding every day, you lose your ability.
artax
same with business, sales, presentation etc.
cynic
They all also seem to like making errors seem like a lot more of a big deal than they are.
artax
writing business requirements.. its all the same t- takes practice and keeping up with it
Monkey_b
I remember having to bust my butt off to pass my c++ class. I learned alot too, but ask me to write C++ now, and I can't even write the header :P
I lost it soo fast it's not even funny.
anything you don't practice, you forget.
cythrawll
im trying to make a system info script (os uptime, cpu and mem info), *nix *bsd will be easy. But im trying to figure out a way to do it in windows, any ideas (being a linux guy i am really inexperiened with windows)
cynic
I got a reward for writing Java in high school! Now I can't even read it.
erg0t_
heh, Monkey_b , same here... learned C/C++ a few years ago in college... now i forgot all.. lol
korkl
cynic, monkey_b: seriously?? they're so similar to php5
||cw
cythrawll: phpsysinfo
oh wait, windows
yeah, not easy at all. you'll need to use COM objects and interact with the WMI
cynic
=)
cyth2
if anyone answered my question i wasn't around for it :(
||cw
cynic: I can more or less read just about any lang, even ones i haven't seen before
Monkey_b
is C++ really that similar to PHP5? I haven't touched the OOP portions of PHP5 THAT much yet, so I don't know. The OOP model has to be the same, but the syntax is quite different I'm sure.
cynic
I want to start on Ruby. Seems to be the best way to go.
||cw: Yeah, I thought about that after I sent it.
philip
rumor has it that learning Lisp is the way to go
Monkey_b
It sucks when you see these great job openings that you can't qualify for because you don't know the one or two specific things it needs :\
artax
i think i am the only one i know who doesnt like ruby ... granted, i dont use it - but just something about it rubs me wrong
korkl
Monkey_b: it's more like java or C#.. but obviously those are similar to C++
cynic
Smalltalk!
||cw
Monkey_b: the OOP implementation is in php is not quite like anything else. in general syntax is similar, about as siliar as java
Nathe
OOP model is way different
||cw
philip: only lisp I've dealt with was in aotucad, no thanks.
Nathe
missing things like overloading
||cw
i'd rather to vba than lisp
Nathe
which is bad. overloading is the win
cynic
artax: For me, I think it's just the ruby on rails that's leading me in. It seems to be way too sweet.
korkl
||cw: lisp actually isn't too bad, GIMP uses scheme for its scripting
||cw
Nathe: it's not missing, just different. see func_get_args()
cythrawll
if your overloading alot, you should be using inheritance
or a factory
and it's easily hackable
philip
learning lisp not to use lisp, but to learn the logic behind it
Nathe
cythrawll: uh...
arg
phone
korkl
cythrawll: what's that about hackability?
Monkey_b
I'm sure 90% of the OOP model is the same
you can't call it a OOP language if it's not OOP, and if it is OOP, it can't be all that different :P
cythrawll
what about overloading functions?
CyaNox
Monkey_b: Actually C++ allows much more then PHP
Monkey_b
no doubt
cythrawll
korkl func_get_args() <== enough said
Monkey_b
I'm just saying, the parts of PHP that ARE OOP (i imagine) are the same as in any other OOP language
for the most part anyhow
korkl
monkey_b: yeah, like java. single inheritance, multiple interfaces
Monkey_b
but you know what the worst part of OOP is? it's so powerful, that you can easily go the wrong route in building an app, because there are sooo many ways to go about doing something
CyaNox
Monkey_b: For example multiple inheritence, friend functions and classes, the whole virtual thingy, etc.
korkl
that's why you design the architecture beforehand
cythrawll
all you need to be OOP is classes with properties and methods... by true paradigm definition
Monkey_b
yes, I think you're righ
t
korkl
i personally welcome more php developers to right well designed OOP code
can't believe i spelled write wrong
Monkey_b
I just bought my Zend Certification Guide... hopefully I'll learn some of PHP5's OOP stuff in it, since I haven't had much time to fiddle in that area
korkl
monkey_b: you should get the free ebook, power php5 programming
cythrawll
Zend Certification tests PHP 4
so no PHP 5 you will learn
Monkey_b
but the guide still has OOP stuff
cythrawll
yeah PHP had OOP
Monkey_b
sheiza
CyaNox
I think there is no solid defined way to use OOP ... there are some things that are seen as bad practice however.
cythrawll
it's just tottally different in 5
well not tottally,mostly different i should say
korkl
read, better
Monkey_b
so no php5 i will learn :(
cythrawll
unless you get another book
artax
don't start with 4.. learn 5
Monkey_b
but I need my ZCE
cythrawll
unless you want the zend cert
Monkey_b
i dont want to wait until the next revision of the test
cythrawll
then learn 4
Monkey_b
k
korkl
ok i'm off to classes; nice chatting with you all
Monkey_b
i'll learn 4, then move to 5 i suppose
thanks guys
artax
just keep in mind 4 is not 5
Monkey_b
will do
cythrawll
im studying for my cert too
cynic
At all.
Nathe
cythrawll: I use inheretence almost obsessively, but how that help me with function foo(string $bar){//whee} function foo(object_type $bar){//whee}
I know there are ways to do it inside of the function, but it's cleaner in my opinioin to overload it. **shrugs** plus operator overloading and other things like that
err
opinion
CyaNox
One thing I personally would like to see in PHP is friend functions and classes. I came acros several ocasions I could have used it quite nicely.
||cw
Nathe: since php doens't type the params, just check the type and do it different
Fenix|work
Greetings... is there a Zend channel?
||cw
you do't need to overload
and it's not cleaner, one function def is always easier
Fango
#zend
Lateralus
||cw: That's a matter of opinion.
||cw
Fenix|work: probably not an official one. they a use a mailing list
Fenix|work
||cw, I see... I just wanted to ask how to use a different php install :) I don't wanna use the one they use.
cythrawll
Nathe, gettype()
Nathe
||cw: I dislike doing it that way.
cythrawll: I already DO that
cythrawll
so why you need overloading?
Lateralus
Nathe: That's all you've got, use it or don't.
Noel4DMB
hey guys. How can i define a var as an integer?
CyaNox
Noel4DMB: $var = 1;
Nathe
oh for crying out loud. I'm doing it in my code, I'm saying that NOT having to do so would be a cleaner way.
Noel4DMB
I want to make sure that no matter what, $var = $var1+$var2; comes out as an integer, not $var1$var2
cythrawll
overloading is not cleaner imho, it's a tad bit messy way of doing delegation
« prev 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 36 37 38 next »