1,893 reputation
31425
bio website anime.stackexchange.com
location Israel
age 23
visits member for 3 years, 2 months
seen Dec 17 at 23:47

Madara Uchiha, second Rikudo. The most powerful shinobi of the time. Mess with me, and I will drop a meteor on your head. >:)

Plus I program in PHP, HTML, Java, CSS, And plenty other languages.

Pleased to meet you :)

If you're an anime fan, we'd love to have you! Come help us at Anime and Manga.

Avatar From EspadaZero@DeviantArt


Oct
26
comment Are frameworks used for “big” websites?
@CodeCrack that's because there isn't one. Sorry to disappoint you. There's no such thing as a "high quality framework" that will allow you to magically code and keep maintenance cost low. That's your job as a programmer, not the framework's. The framework's job is to get you started quickly, most frameworks don't really help you beyond that, and some even do that badly.
Oct
26
comment Are frameworks used for “big” websites?
@CodeCrack also, that lists popularity, not quality. There's a heaven-and-earth difference between those two. Would you call WordPress a high quality tool? I wouldn't. It still powers approximately 20% of all websites on the web.
Oct
26
comment Are frameworks used for “big” websites?
@CodeCrack The way I see it, there currently are no "good" PHP frameworks. You cannot expect an end-to-end framework to match all of your data, business, storage and display needs, of every application. You can come close. A better way would be to take modules of functionality (like what Symfony does), and use them separately. In that sense, you can say that Symfony or Zend are not as bad as the rest.
Oct
25
comment Are frameworks used for “big” websites?
@CodeCrack CodeIgniter is pure horse crap. If you compare all of the crappy PHP frameworks to a garbage bag, CodeIgniter is the liquid that's dripping from the bottom.
Oct
10
comment What are the difference between server-side and client-side programming?
It depends. Some client-side code depends on the existence of a server (prime example: AJAX).
Jul
17
comment Can someone help me understand MVC?
You lost me at "Models are essentially databases". Models are most definitely not databases. "Instances" of these models are most definitely not rows in the database.
May
27
comment Javascript Event in Innerhtml Resulting from PHP Server Script
Like I said, this is a question to Stack Overflow, not here. Please ask it there.
May
27
comment Javascript Event in Innerhtml Resulting from PHP Server Script
You'll need to ask that one on Stack Overflow. Without your actual code there's nothing much we can do to help. Link to the question here, provide your code and as many details as possible. Make your problem clear as well as what you've tried.
May
27
comment Javascript Event in Innerhtml Resulting from PHP Server Script
No, that's wrong. By the mere fact that you can see it on the page, means that it's added to the DOM. Rather, newly created elements need to be attached with the event handler anew. If you are attaching the event handler to an element that doesn't get removed and re-added (like the parent div), you don't have that problem.
May
27
comment Javascript Event in Innerhtml Resulting from PHP Server Script
This is called event delegation. If you have a div with children, clicking on any of the children also counts as clicking on the parent. By setting a handler on the parent, and using .target to know which child was actually clicked, you can make a generic handler for all of the children at once. Read the attached link for more information.
May
27
comment Javascript Event in Innerhtml Resulting from PHP Server Script
See if my answer fits your needs.
May
27
comment Javascript Event in Innerhtml Resulting from PHP Server Script
So the ID comes back from the XHR query? Or was it in the popup the entire time? I don't understand where the problem is.
May
15
comment Many-to-many in OOP: Class A instantiates Class B, which instantiates Class A, which
@RobertHarvey: The idea of a DataMapper is to completely separate your logic from your storage and from the logic of fetching/saving from/to storage. You could say it's like an Entity Framework, although that still wouldn't be quite accurate. Check out teresko's top answer on Stack Overflow for a better explanation.
May
15
comment Many-to-many in OOP: Class A instantiates Class B, which instantiates Class A, which
@RobertHarvey: I think you're confusing. DataMapper is a more generalized implementation of ORM. It abstracts the need for your objects to match your storage schema.
Mar
22
comment Why is Global State so Evil?
That's highly dependant on the language. In languages where programs run persistently, it may be true that you're able to save memory by using global space and singletons instead of instantiating many classes, but even that argument is shaky. It's all about priorities. In languages like PHP (which is run once per request, and objects don't persist), even that argument is moot.
Sep
22
comment What are the advantages and disadvantages of cryptographically signing commits and tags in Git?
Interesting, thanks for the well thought out answer! I'll wait a while longer to see if someone has a different opinion and then accept yours if nothing serious comes up :) Thanks!
Sep
22
comment What are the advantages and disadvantages of cryptographically signing commits and tags in Git?
@James: It's not company work, but I do participate in some open and closed source projects.
Mar
31
comment What is a Service Locator?
Plus I noticed that this question does not appear anywhere on the Stack Exchange network. Posting it would do great for SEO.
Oct
24
comment What are the difference between server-side and client-side programming?
So add it, feel free.
Oct
24
comment What are the difference between server-side and client-side programming?
@KSteff you are welcome to edit my question to add that.