sounds really interesting. why do you want to load the whole app into the db?
i'd rather put it into some directory. just read the php documentation on file operations they're quite simple to work with.
more info concerning what you want to do would be nice...