I'd like a testimonial page where a user can leave his message.
Regards Claudio
X3 Photo Gallery Support Forums
mjau-mjau wrote:Yes this can be done in a variety of ways, and database would not be required ... I will look into this next week once we have a few more bugs fixed.
You speaking in general for caching? Database would not make it faster ... Just look at an average wordpress DB website on average hosting. In fact, the most popular WP cache plugins w3-total-cache and wp-super-cache, all rely on disk-based file-caching to cache page output, essentially just like X3.Bulletproof IT wrote:Do you not plan to offer any caching methods? e.g. File, MySQL, and the other two I have forgotten (VPS/Dedicated). (to support using a database at some stage or another?)
Yes, databases are more flexible for data storage, especially mass amounts ... and that is essentially the benefit. It is easier to create a system for example for search, or when "pages" are not to be locked to a "structure" like they are in X3, or if you want to sort pages/data into abstract layers like under "tags" or multiple "categories" instead of a single physical "parent" category like X3. In X3, we shaved off some complexity to create simplicity, which essentially benefits performance also.Bulletproof IT wrote:I thought database was better for data storage... oh... IF you are making a large number of queries...
Technically speaking, all databases are "file based" in such regards, as they occupy physical space on the server. The only difference with SQLlite, is that it most often is just a single file in the same working space on the server as the PHP files, and does not require a DB installation. However, like any other database, it does not provide any speed benefit. In fact, I would like to dispel the illusion entirely that any database would provide any speed benefit for pages or cached pages output ... Let me explain:Bulletproof IT wrote:Q: Can't you cache through SQLlite instead of MySQL? SQLlite is file based as far as I know, just in an organised form. Pear has a system i've not played with, but remember in a tutorial a long time ago. There must be hundreds for PHP.
Slightly different concepts, but these modules will basically speedup PHP processing by caching parts of the PHP directly into the memory. It could not be used to "cache" full output of all pages on a website, at least not automatically. Furthermore, these modules are not defaults in PHP servers, so we can't really use them . I haven't any experience myself in utilizing them, but I was interested in checking out memcache for our hosted service, which might speed up processing.Bulletproof IT wrote:I think the other Opcode methods were Zend's... I'll be stabbing in the dark here, but xCache would be Opcode. eAccelerator maybe? and.... APC?? I've no idea about APC... It has been a while since I "fiddled" with these on a VPS or Server. Hmm MEMCache ... Another I name I remember. No doubt Memory based. Is it worth providing optimisation for one or more of these methods down the track once X3 has gone stable?