10,119 reputation
43549
bio website programmers.stackexchange.com/…
location Bad Rappenau, Germany
age 44
visits member for 4 years
seen 19 hours ago

writes code

ruby (on rails), c++, python, pascal, vb, ti-basic, sql, js, jquery, html, xml, qt

find me on Google+


Sep
15
comment How to design RESTful URI to get all unread messages?
@VansFannel I would simply see this as a specific task of the already existing index action and just add a param to the url like ´from_message_id´. This at least unless the way you display this type of messages differs a lot from the normal index display.
Sep
15
comment How to design RESTful URI to get all unread messages?
@AndyBursh that's not really a duplicate. The question here is a more specific problem, most likely not covered there.
Sep
8
comment Providing friendly URLs for a website vs. realities of database IDs
If you have a unique id in your URL I don't see why you would want to verify the slug part at all. Use it for the looks and ignore it for the lookups.
Sep
7
comment How to determine what should get it's own respective controller?
Maybe have a look at RESTful design. It doesn't solve every single problem of this kind, but gives you a very good direction how to think about it.
Sep
7
awarded  Populist
Sep
5
awarded  Guru
Sep
5
awarded  Good Answer
Sep
4
awarded  Enlightened
Sep
4
awarded  Nice Answer
Sep
4
comment Why are the <b> and <i> tags deprecated?
Roughly you could use <b> for things that should be "highlighted" but not "emphasized", like keywords in a text. In technical documentation you find often different text styles used to show certain attributes, like in programming books code samples or technical terms. For such use cases like a technical term <b> or <i> could be used.
Sep
4
answered Why are the <b> and <i> tags deprecated?
Sep
3
comment Website compatibility with old operating systems
We don't know your user base. In general nobody I know would care for Windows98 (wtf? really?). XP maybe, but at least expect people to run some recent browser version if that is possible. That said in some places and some companies are various restrictions and limitations that make it difficult or impossible to update. If that's a large part of your customers you will have to find ways. Maybe have different versions of your site?
Sep
3
comment How can I put multiple hierarchical forms in a single web page and avoid making it a mess?
A bit unclear what/where exactly is your problem. A redesign of the form would be off topic since that's a UX question (also the design shouldn't really matter much for your code). So is the problem frontend (javascript) or backend (what technology do you use? In Rails for example splitting this thing into partials or templates, moving some code into helpers etc would work). Also do you have a reasonable MVC structure? You may have too much controller or even model code mixed into the view.
Sep
1
answered Whether to store all numbers or just their ranges in database for this application
Aug
30
comment How do you set and check a single bit in a programming language that does not support bitwise operations?
The Wikipedia article on bitwise operations explains the mathematical equivalents, mostly they seem to be based on some modulo2 operations.
Aug
29
answered REST API design for associations/aggregation
Aug
28
answered Is routing a site with RESTful not the best when you have very long URLs?
Aug
28
answered Good practice to pass this information through URL parameter
Aug
28
comment Good practice to pass this information through URL parameter
Totally standard. Even if both options could be used in parallel you could use something like me=actual;past and split on the server.
Aug
28
comment Loading database in memory vs querying
Would much depend on many details. Do you really need the whole database in memory or could you for example just keep the most recent entry for every file and load older versions only on demand? Also with something that seriously wants to handle that amount of files a dedicated server for this database could be an option. Basically 10-15 million records shouldn't be that much of a query problem if the dbms system is highly optimized, columns are indexed properly etc. Maybe researching different database solution (eg NoSQL) would be another option.