28,121 reputation
352100
bio website
location
age
visits member for 3 years, 7 months
seen 2 hours ago

1d
awarded  javascript
1d
comment Would an “as if” block be a reasonable language feature?
Delphi has an 'as', for example (Sender as TButton)
1d
comment “flexible” functions in SQL Server 2012?
I think you are looking for "views".
1d
answered Strategy for generating unique and secure identifiers for use in a “sometimes offline” web app
2d
comment Do I need a business license to sell android apps in Texas?
This question appears to be off-topic because it is about local business licenses, not software development.
2d
answered Use one or multiple files for graphics properties?
Apr
16
comment Why returning XML/JSON for API requests, can't we just directly process request and return the modified web page (HTML/CSS/JS)?
I'm curious why you think you cant return HTML instead of JSON/XML. Thats basically the only way the web worked for its first 10 years.
Apr
15
comment IP after Splitting team up after Startup Weekend
This question appears to be off-topic because it is not a programming question.
Apr
12
comment Why we should (not) develop on a server via RDP
7. - you are at the mercy of your internet connection. With a local environment, even if the internet connection goes down you can still work.
Apr
12
comment What would be some ways to make a map app with a sidebar for sampling live music?
This is probably off topic because its asking for tool/platform recommendations. But its an awesome idea for an app. Best of luck!
Apr
11
comment Loosely compare user input with database record
The question seems pretty clear... he's looking for a way to intelligently recognize correct answers that may be phrased in different ways. Not sure how feasable it is to do in a basic PHP script, but the question is clear.
Apr
9
comment Best practices for caching search queries
Are you actually encountering problems right now with this? I'd be surprised if SQL Server doesn't already have some form of query caching built in. Have you profiled the ASP application to ensure that the problem is in fact the query time and not something else?
Apr
8
comment Is it wrong to have HTML strings within PHP objects, or is it only wrong in controllers?
Burning someone's house down is wrong. Choosing whether to embed HTML in strings is a preference.
Apr
4
comment Are there flavours of OOP where some or all of the SOLID principles are antithetical to clean code?
How are you defining 'clean code'?
Apr
4
comment PHP coding practice
@HerrSerker There is no 'debate'. No ones saying you can't mix and match PHP and HTML if you want. I'm just saying I don't like it for the reasons mentioned above. If you disagree you should add your own answer rather than continuing to use the comments.
Apr
4
comment PHP coding practice
@HerrSerker and as I said before, I don't like it. I've worked with CMS's that use PHP as the templating for their view generation. I just don't like that. I find it very messy. I use templates that only require basic substitutions (very minimal 'overhead' to the app). There is code generating the output, but the HTML comes from, as best as is possible, simple template files.
Apr
4
comment PHP coding practice
@HerrSerker and I think intermingling PHP with HTML isnt any good from a programmers stand point. I don't like application logic intermingled with the display. I keep code as code, and markup as markup.
Apr
3
answered PHP coding practice
Apr
3
comment Is there are problem holding large numbers of open socket connections for lengthy periods of time?
Thousands shouldnt be a problem, thats essentially what a lot of node.js apps and game servers do.
Apr
2
comment How to handle or prevent all Admins and users being removed
Please clarify - are you trying to always ensure that an admin user is in your application's user table even if someone manually deletes all entries in that table via SQL command? Or are you just trying to prevent all admin users from being removed via your application's normal interface?