on-the-fly

Possible to refresh Django connections on the fly?

Is it possible to add a new database connection to Django on the fly? I have an application that uses multiple databases (django 1.2.1), and while running, it's allowed to create new databases. I'd need to use this new database right away (django.db.connections[db_alias]). Is it possible without server restart? Using module reload here ...

Creating buttons for textbox and assigning click functions on the fly in JQuery

Hello, I have the following code to create two buttons (one on the left one on the right) for each texbox on the page. Idea is to make an increment/decrement textbox. Code works fine with one textbox but with 2 or more every button increment/decrements all textboxes. Any idea how to create buttons on the fly and attach them to a textbox...

Delphi TStringList wrapper to implement on-the-fly compression

I have an application for storing many strings in a TStringList. The strings will be largely similar to one another and it occurs to me that one could compress them on the fly - i.e. store a given string in terms of a mixture of unique text fragments plus references to previously stored fragments. StringLists such as lists of fully-qua...

How to get the value of content that gets hidden or autogenerated?

This question comes after solving my last question, I'd like to get some values out of the hidden forms but when I try to retrieve them only empty strings come by, I've considered just using arrays to store the information as it is introduced but I'd like to know if it's possible just to retrieve it afterwards and how. Also, There is a ...

Generating RSS feed on the fly, from a list of links?

How might one dynamically generate a temporary RSS feed, on the fly, from a list of links that point to videos, for example? ...

Create array without declaring it first - Ruby

Howdy! I'm sorry if this question is a dumb one, but I must ask. In PHP, we can create a array without declaring it first, althought it isn't considered good pratice. Exercising my newly-knowledge of Ruby, I was writing a code to list the files inside a directory and sort them by their extensions. To do this, I started a loop to put the...

Yii framework....Calculate total on fly

Hi guys, I'm newbie in Yii framework and start learning on small web project so I got stuck on this position as how to solve it. I have a 'Order_form' where a user has confirm his order and if want to change the 'Qty' so only this can change then bydoing this I need to change the Total value to be calculate on fly on same form if Qty g...

PHP code debugger on the fly

i have a website on my localhost, a quite complicated one with many links is there a program that can debug for example, what happens when i click one link?or i login, etc and show me each function called in each file and everything that's happening with the scripts? ...