@# Quotes DB     useful, funny, interesting





Google
 
Web www.quotesdb.info
Undernet  |  EFnet  |  Quakenet  |  Freenode  |  Dalnet  |  Ircnet  |  Galaxynet
Page: 1 2 3 4



Comments:

<0> I wouldn't say 'only'. PHP has advantages, like being a loosely typed language and being easily run from the command line
<1> loosly typed? is that an adventege? check all the security mailling lists
<1> advocating to strongly type you vars
<1> so i would like that the compiler i use enforce this
<1> and when needed i'll cast my var
<0> It's not inherently a security flaw, only if it's abused properly :D
<1> would i rellay on the ignorance of the attacker?
<1> ;=)
<0> No no I was talking about abuse by the programmer
<1> that's as bad as "the security by obscurity" paradigm
<1> how would him know?
<1> heh
<1> in fact they can know!
<2> actualy instead of 'abuse' I should have said 'laziness' or 'ignorance'
<1> that's the point!
<1> manny of php website are run by nonprogrammers



<1> ;=)
<1> hard to do in j2ee environement
<1> where the task are really clean separated
<2> yeah I guess so, but that really isn't a good excuse IMHO
<1> and the admin, the programmer, the deployer shoud know about their work
<1> ok i still do some work with php
<1> but at some scale it's not really usefull
<1> and it's a pain inthe ***
<1> trying to add some nature to a technology that was not deseigned for it
<2> Wait specificaly pains you
<1> distibuted computing
<1> n-tiers architecture
<1> load balancing
<1> and HA
<2> load balancing shouldn't be a big issue, but it depends on how you are going about it I guess
<2> What load balancing method are you using Da0?
<1> a linksys solution
<1> but when in a http transaction the second request is being redirected to a diff server from the one where the session where registred?
<1> how to deal with this with php?
<2> Well Da0, what I do is notch it up at least one more layer in the transaction and make it either handled at the server level or the DNS level
<2> And your server scripts don't care one way or another where they are running at :)
<1> ok but that's a hack more then being a technology solution ;=)
<2> No no no Da0 round robin DNS is a valid and viable technique
<2> granted it's not the only technique, and you might argue that there are better ways of accomplishing your goal, but it works
<1> if you would use a reverse proxy with fail over capability that would be safer the DNS RR
<1> JasonS; have you got the point? this is neither php nor java
<2> Well you said you didn't like PHP because of issues with load balancing but I don't see them really
<1> application servers can deal with those issues
<2> you mean java servlets?
<1> in a very felxible and configurable way
<1> servlets are just a minor part of j2ee
<1> they can eaven manage objects, context replication, percistance for you
<2> What's the issue? session data? Just put the session data in a database somewhere. Is that such a big issue that you condemn PHP for it?
<1> JasonS; i would like to access the DB as less as possible
<1> i would like to cach some of the sames results if i'll get them over and over
<2> I think the Zend optimizer for PHP does that
<1> i would like to distibute the objects over more then one server
<1> i'm not against php
<1> i just say that at the entreprise scale it's not valid anymore
<2> Alright I'll concede there, distributing data directly with other servers sounds nice... but I wouldn't say that PHP isn't a valid option just because of that
<1> i dont say it's not an option at all
<1> it's good for 2-tiers application
<2> You said it wasn't valid :P
<1> it's eaven more productive and efficient then java/j2ee
<1> but at a bigger scale it fails
<2> hrm
<2> and I suppose you have tried it and found that it takes way too much time to execute and too much bandwidth against your database servers
<1> exact
<1> i've worked on some Telco solutions for a local gsm provider
<2> so how much did you save with j2ee percentage wise then
<1> php was an option for some of them
<1> but discarted for other more critical
<1> like billing
<2> bandwidth, but billing works
<1> why shall i relay on "some other hacks" when i can get it bundled in some product?
<2> heh
<1> JasonS =))
<2> what "some other hacks" are you talking about?
<1> DNS RR, serializing session to db ...
<2> I call them "solutions" but they are solutions to specific problems, now if you have different problems then the solutions might not be applicable to those but you can not brush them off as hacks



<1> ok solutions if you want so =)
<1> but limited ones ;=)
<2> there may be another way to share session data with PHP too... if the servers have access to a central file system then you can configure PHP to use the remote one for session data instead of the local machine
<1> yet not a build in solution did you get it?
<2> Well session data is written out to the disk any which way
<2> You wouldn't change anything in PHP but the configuration
<3> hello.. can i ask something about eclipse?
<4> hi
<4> I have on a machine an exe that updates from time to time an htlp frame. How can I make that frame refresh when it is changed? It curentrly user autorefresh, but I would really want to refresh on file change. can it be done?
<5> whats that got to do with java?
<4> I was thinking about a java script, that can chack from tim to time the pages and compare them
<4> I'm looking for solutions
<5> javascript isn't java thou
<3> is it possible to run openoffice macros in java
<3> ?
<6> for Information Technology information and programming solutions, visit http://itinfo.eyethroughtheweb.com/itinfo/
<7> how can i run a jsp file on tomcat5??
<5> deploy it under the webapps directory like any other webapp
<7> what do u mean deploy?
<8> u might need to read a tomcat tutorial
<7> why i can't compile in textpad??
<7> where do i save my files??
<8> u might need to read a jsp tutorial
<7> i guess i might need a "tutorial" bot....
<8> Omicron23 u have no understanding at all
<8> u need to go read up on how JSPs and JSP containers etc work
<7> Deano, i only want to know where will i save my jsp files using textpad and how can i view my jsp files using apache
<8> apache tomcat u mean
<5> Omicron23: and I told you.
<5> in its default configuration, any directory under the webapps directory will be an 'application', any jsp file in that directory will be viewable in the browser from /directoryname
<8> talios can u just deploy a jsp file on its own as opposed to packaging it in a war?
<5> yep - which is tomcats default configuration
<5> you can either copy a .war into the webapps directory, or have an expanded webapp in there
<5> i.e. ./webapps/myapp/hello.jsp would be viewable via say http://localhost:8080/myapp/hello.jsp
<7> thnx talios..u help me alot
<7> thnx to Deano too,for questioning talios:)
<5> Omicron23: I would suggest finding a jsp tutorial and actually learning thou - just putting JSPs in a directory and treating it like PHP is just bad bad bad bad bad bad bad bad bad bad bad
<5> bad bad bad bad bad bad bad bad bad bad bad bad
<8> talios I know u can expand the war etc but didnt know u could have a jsp on its own without some further web-inf info etc
<8> ta.
<8> but as u say, its something I'll probably not do, or ever want to do.
<5> Deano: without having any WEB-INF/web.xml or anything its just a basic/dump container that'll compile/serv jsps
<8> fair enough
<9> hey idiots
<10> 'sup basic programmer ?
<11> what's DataOutputStream/InputStream in C++?
<12> std::istream/ostream
<12> are the closest C++ analogies
<13> hi. I'm get a String from jTextField2.getText(); but i want to make sure there's only integers in the text field.. how to do so?
<9> shut up all plz
<12> oh, a troll. how novel
<12> drknnja - You can use Integer.parseInt
<12> and catch the NumberFormatException indicating it wasn't well formed
<13> ok
<13> ty man
<12> np
<13> Asriel, well.. it's not throwing an exception..
<13> x.parseInt(jTextField2.getText());
<13> catch (NumberFormatException e) { e.printStackTrace(); jLabel14.setText("Please enter only integers in the fields above"); }
<13> I initialized Integer x = null; at the start
<12> Integer.parseInt(foo)
<12> it's a static method
<13> ah
<14> hello all i search sample for use webcam with java plz
<10> check out jmf java media framework
<14> ok thx
<15> hi kmh
<10> hi Clackwell
<16> is anyone well versed in socket programming in Java?
<15> ask the real question?
<10> the java tutorial has a part on sockets
<16> k, I got all the basics working :), but the DataInputStream readLine() function is depreciated
<10> if you just need the general idea or ask a concrete question


Name:

Comments:

Please enter the result of the sum 63 + 46 (to avoid spam):






Return to #java
or
Go to some related logs:

#c++
ausie teens
#networking
c++ avr class string
#AllNiteCafe
you lie when you're scared john gotti
#teens
#linux
#java
Qahba Nittiena



Home  |  disclaimer  |  contact  |  submit quotes