Jump to content

Nameless12

Members
  • Posts

    244
  • Joined

  • Last visited

    Never

Profile Information

  • Gender
    Not Telling

Nameless12's Achievements

Member

Member (2/5)

0

Reputation

  1. I always thought people who wrote the majority of php tutorials were noobs for a lot of reasons, but i really had no idea how stupid they could be. I was writing my own bbcode parser, and why looking for lists of bbcode params etc for my parser I came across some code http://elouai.com/bb2html.php.txt this code reminded me of many tutorials I saw a long long time ago before i learned anything about security. People who are writing tutorials etc should know better then to release code like this, millions of webpages will of copied the above technique... BBCode was invented as a security measure, code like the above is not secure and if you are going to code like that it is as insecure as html. I find it very odd that the phrase BBCode Injection is rarely heard of, I imagine this is probably one of the most common security flaws on the web.
  2. Oh dear.. no wonder you can't see the difference :\ You have miss read the intent of my words, when i said that I did not mean that I don't see the difference. I know oop quite well, I just don't think it is drastically different from procedural IN TERMS OF APPLICATION FLOW, I don't think anyone could ever say they are the same due to the fact oop has a lot of features that procedural lacks. However that said I still don't think it changes the flow of an application any more than how HOOKS change the flow of an application. Also classes are just a bunch of related data, just look at the php4 OO model and it is clear that is right. I see OOP as more then this, but I just thought it was a better way to put it in context to someone who is just starting out.
  3. A petition against global warming. http://en.wikipedia.org/wiki/Oregon_Petition I have no interest in convincing you of anything, but this should be enough to show there is another point of view. I don't doubt climate change at all, but to say its because of global warming is wrong in my opinion. Humans are involved, humans who would otherwise be out of a job. The reason so many people believe various things like this has little to do with science and everything to do with what they hear on tv. I am not saying that what is on tv may or may not be true, but that is what people use to form their opinion and I just find that to be rather stupid.
  4. climate change is real, but global warming is myth.
  5. Exactly One new unit for each race and new features plus a new game engine and unit tweaking plus the new units you mentioned. Doesnt this sound like an addon?? And I dont mean this in a negative way when i say it is a remake, I am soooo happy it will look and feel like a remake because I loved the original so much.
  6. not allowing spaces in the names would help make it easier to filter with regex
  7. you should have a whole table of admins storing the users id and their administration level, the users have no way of changing their user_id so its pretty much impossible for them to pretend to be an admin. If you are just worred about people going around with a username of ADMIN, just filter out names you dont allow in registration page.
  8. If it is easy then all the more reason to sit the exam.
  9. I hope its as good as the original. It must be around 10 years since starcraft was released and people still play it online. I am glad they are not changing starcraft, it looks more like a remake of the original. I think for this reason alone it will not be out as late as liquid fire thinks.
  10. [quote] because I have almost mastered javascripts since I Started on it, on monday [/quote] Most people tend to underestimate javascript, there is quite a lot more to it then people realize. [quote] I just want to get some information, I am learning javascript.  I want to know of ways I can utilize javascript. [/quote] Here some of my recent bookmarks, they are using canvas to draw the 2d\3d, I bet you didnt think javascript could do much of the stuff in the following list. Dont be so quick to say you have mastered something, there is almost always much much more depth than you first anticipate (regardless of what language you are using). http://www.croczilla.com/svg/samples/svgtetris/svgtetris.svg http://canvex.lazyilluminati.com/83/play.xhtml http://henrikfalck.com/unrealsoccer/ http://andrewwooldridge.com/canvas/canvasgame001/canvasgame002.html http://www.abrahamjoffe.com.au/ben/canvascape/ http://www.abrahamjoffe.com.au/ben/canvascape/textures.htm http://arapehlivanian.com/wp-content/uploads/2007/02/canvas.html http://developer.mozilla.org/en/docs/A_Basic_RayCaster http://www.blobsallad.se/
  11. What I said was wrong and innacurate but the reason I said that was when you compare functions with classes, I really dont see much of a difference in terms of the flow of the application, I dont see the difference because functions can use other functions inside a function and it uses different parts of the program, when most phpers talk about procedural I get the impression they are talking about Top to bottom apps if you understand what I mean. I shouldn't of said what I said, I just hate the term procedural because anyone who programs top to bottom like I think many phpers do is a beginner or an idiot. And the reason I think most phpers do this is because php is so popular and thats the way the majority of tutorials teach People talk about how oop is so modular as if somehow functions are not modular enough. Functions are heaps modular, but the majority of people programming in php dont seem to understand how to use them properly because they are optional unlike many other languages. I am ranting, anyway you are right what I said was wrong but it was to try and describe this rant in a shot way.
  12. The same way you learn anything else, persistence and try to be a perfectionist as much as possible.
  13. No, its not personal preference.. Any OOP Programmer who discards functional programming because he has "Chosen to use oop" is an idiot. They should be used together, people should not pick one over the other. class: A grouping of related functions that share the same properties. OOP can just do lot of neat things it can do that cannot be done without them, figure out what they are because there is to much for me to list in this post. (there is that much)
  14. Try not to use golden rules, you could as easily use functions as opposed to classes. //here is my own little summary for you Controller: Should route to a specific area where you can `control` things Model: classes\functions\generic things, there should never be output here unless you are debugging View: the template file where the Controllers data is passed and displayed
  15. Models should not be creating instances unless its object composition, the controller is called the controller because it controls everything.
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.