Yes, I'm a beginner.
I wonder to know which are the main problems of security on a web site under PHP framework.
Can someone give some link and/or some issue list?
I would be very grateful, because I write php by some month but I have no idea about that!
...
In programming, as many professions, there are mistakes you'll make now that you may not have made as a beginner. For instance, consider pointers:
In C++, is there any difference between arrays and pointers?
The beginner will say yes, they are two completely different concepts, and treat them as such.
The intermediate programmer (...
First, I'd like to say that I think this is a common issue and there may be a simple or common solution that I am unaware of. Many have probably encountered a similar problem. Thanks for reading.
I am creating a GUI where each component needs to communicate (or at least be updated) by
multiple other components. Currently, I'm using a S...
According to Five Simple Database Design Errors You Should Avoid by Anith Sen, using a common-lookup table to store the possible statuses for an entity is a common mistake.
Edit + Answer: The figures in Anith's article aren't well labelled - I thought both Figure 1 and Figure 2 are examples of bad design, whereas Figure 2 is good design...
Mine is that, I almost always forget to put a # before the id name of the element
Example:
$("ElementId") instead of $("#ElementId")
Whats yours?
...
I'm currently planning a piece of software for dogbreeders and I'm in doubt about my datadesign...whether I'm doing something smart or stupid :)
The plan at the moment is one holistic "dog" table sorta like this...
Id | Name | FatherId | MotherId
-------------------------------
1 | A | NULL | NULL
2 | B | 1 | NULL
3 ...
Possible Duplicate:
Common programming mistakes for JavaScript developers to avoid?
This is kind of a subjective question, but I am hoping the well-tenured programmers might know of solutions.
I have noticed now predominately in javascript, or any .js file that causes an error can halt further js from running. This could be a...
Possible Duplicate:
How to help a struggling newbie do a better job?
What is the best way you have found for helping a new or inexperienced programmers overcome common mistakes?
...
This question is inspired by several back-and-forths I've had recently about techniques that are or are not optimal for python programming. I may know other languages, but I am still learning in python. A wonderfully helpful comment was just recently posted by MikeD on a suboptimal answer of mine here that mentioned the operator module a...
I have a .NET class (for discussion, ClassA) that calls a SQL Server stored procedure (for discussion, fooSproc), processing the results with a SqlDataReader. The rows are processed, and the columns are referenced using the name of the column in the returned result set. For example, where dr is the SqlDataReader, something like dr["col...
I would like to start a collection of MVVM-light (w/ RIA Services) Best Practices. There are a number of items I have found to be helpful best practices or best approaches, but would like to hear from others using the MVVM-light toolkit and see what they have found as well.
Please post your best practices as answers to this question....
Possible Duplicate:
Common programming mistakes for PHP developers to avoid?
PHP is hated by a lot of programmers and even more hated is how the code is written by sloppy PHP coders.
What, according to you, are the basic things a PHP programmer must follow and things (s)he must never not do? Or give example(s) of the most com...
Working on a legacy project that includes a fair amount of velocity. Not sure on what I can safely post on her (copyrights and all) but I'll try to be an clear and concise as I can.
We have several templateX.vm files. They're not large, only about 200 lines or so long. They do not rely on outside resources. They do not use any macros. I...
How do I get a reference to the clicked link to delete the correct row?
<tr>
<td>c1r1</td>
<td>c2r1</td>
<td><a href="javascript:delete_row();">delete</a></td>
</tr>
<tr>
<td>c1r2</td>
<td>c2r2</td>
<td><a href="javascript:delete_row();">delete</a></td>
</tr>
function delete_row() {
this.parent().parent().remove();
}
I know I ca...