This isn't as progressive as it sounds. Im not taking the whole "Oh I know Java, that must mean I can write in JavaScript too!" attitude. I have some education on Java under my belt, but now find myself having to do some PHP web development (whi
I'm trying to optimize my site and found this nice little Django doc: Database Access Optimization, which suggests profiling followed by indexing and the selection of proper fields as the starting point for database optimization. Normally, the django
So I'm programming along in a nice, up to date, object oriented fashion. I regularly make use of the various aspects of OOP that PHP implements but I am wondering when might I need to use closures. Any experts out there that can shed some light on wh
Great guys have helped me a lot in this other post: Get last word from URL after a slash in PHP Now I am facing another issue. How can I say something like this in PHP: if in $last_word you find also -0.htm then delete -0.htm I explain my $last_word
I'm reading up on web security and one obvious topic to cover is SQL injections. I'm trying to set up a basic php page where I can execute an sql injection (its a local server). However, it seems my code (or server) automatically escapes single quote
We use special keywords such as :refer, :as, :only and others, in namespacing. What are those keywords called? The books I've seen so far simply refer to them as themselves, except for The Joy of Clojure which seems to call them "directives" on
This function doesn't work and I can't find the problem, which is somewhere inside the query. function get_category_posts($category, $page, $per_page) { $start = (int)($page - 1) * $per_page; $per_page = (int)$per_page; $sql = "SELECT `posts`.`post_i
I have built simple PHP application by looking at various articles and tutorials around the web. Since I am now giving it to a few clients, I am worried about its security. How do I make sure it doesn't get hacked?If you're talking just from the pers
I am a user of Ruby on Rails framework and am thinking of giving back to it by contributing to the code. I understand that there is a need for thorough understanding of the Ruby language concept to contribute? Ive cloned the project, looked at the co
I'm about to start GWT on OSX. I come from a typical Textmate/RoR background. Is there anything I should be aware of? Is OSX a bad envrionment to be doing GWT developmenet in?OSX is a fine environment for developing GWT. I would strongly suggest you
I've created a few applications that have been targetted against 2.2 I'm thinking to invest in a cheap handset to try these out (thus far only used emulator). The handset I want is running verion 2.1 of Android. From a code point of a view, is there
I have an assignment called "Write a client server socket program in Java in which server will authenticate client using authentication algorithm." How do I get started? Which are the prerequisites of knowledge of computer security and socket pr
I know next to nothing when it comes to the how and why of https connections. Obviously, when I'm transmitting secure data like passwords or especially credit card information, https is a critical tool. What do I need to know about it, though? What a
Hi I have a website with hundreds of tv shows and tens of thousands of episodes. I want the user (who didn't log in) to be able to save his favorites shows and to mark the episodes he's watched and save these data using cookies. So I've already imple