Hot answers tagged

4

In the old days, you used <a name="whatever"> if you wanted another link to jump to a particular point on the screen. Nowadays (for a long time actually) we use the "id" attribute.


3

I would foster the first approach for 2 reasons: As far as I understand, painting a vehicle, changing its brakes or replacing oil are 3 distincts operations that are made separately (in time, in space). Therefore it's not the concern of the endpoint managing the brush to know that the brakes must be replaced by cheap ones (or even worse, by null ones). If ...


2

You could imagine that some Javascript code is dynamically changing the DOM to add that missing href= attribute dynamically at runtime.


1

This Use one type for every message seems counterintuitive and potentially problematic to me. I would much rather specify different messages for different scenarios and send these to different endpoints. Your endpoints will have to reject messages they don't expect, but as they should reject badly formed messages anyway, I don't think there's much of ...


1

W3Schools.com says: In HTML 4.01, the tag could be either a hyperlink or an anchor. In HTML5, the tag is always a hyperlink, but if it has no href attribute, it is only a placeholder for a hyperlink. I recommend against using an <a> tag without an href as a placeholder. Better to use <u> tags so that the broken links show up ...


1

Also, don't be afraid tot tell me it's a silly idea. It's a silly idea :P And here's why: Data caps. The primary hog when it comes to data are things that happen in the background without any user's consent. You wouldn't want to be leeching off a person's data. Battery and heat. Of course, processing takes up resources and resources doesn't come free, ...


1

The examples shown is correct, but Zend\Form is not exactly what you want to use in your controllers. I'm talking about Exhibit A, where it shows how much code to create, populate and style a form with two elements. It is tedious to create forms that way. To avoid turning the controller into a form factory, you need to create a factory that will create the ...



Only top voted, non community-wiki answers of a minimum length are eligible