Salve a tutti,
sono nuovo del forum.
Ho visto che sono stati rilasciati i sorgenti di appulo.us (adesso chiuso, demo a apptrackr.org).Mi è sembrato un sistema molto innovativo in quanto è praticamente tutto dinamico senza mai dover ricaricare le pagine. E siccome ho intenzione di aprire un sito di Warez è quello che fa al caso mio. Però non c'è documentazione, guide spiegazioni o altro, neanche in inglese.
Il codice è scaricabile da http://appulo.us/promise.html .
E' da configurare anche la libreria hydrogenphp ( http://www.hydrogenphp.com/ ) che essendo anch'essa in versione Alpha non ha alcuna istruzione.
Oltretutto lo trovo un gran bel progetto, anche se abbandonato dallo sviluppatore, quindi se riuscissi ad installarlo poi mi adopererei per tradurlo e scrivere parte della documentazione.
Il problema è che ho sempre e solo utilizzato cms come phpbb, joomla, mybb o wordpress, che sono semplicissimi da installare.
Qualunque aiuto è ben accettato.
Grazie in anticipo.
P.S.
Vi posto le poche cose che ho trovato a riguardo:
Ecco il contenuto di README.txt che era nel source di appDBRequirements to run AppDB code:
* PHP 5.3+ or later Note that I'm not aware of any web host or server provider that has this. It's pretty new. You can download it and install it locally, but on a server, you'll probably have to do a custom build.
* The following PHP/PECL extensions: curl, memcache, gd, mcrypt, and mysql If you're building the mysql extension yourself, include PDO and the new mysql driver.
* The latest MySQL 5.1.x Community Server You'll need to modify it to index 4-character words in FULLTEXT blocks. It ignores those by default.
* A PHP opcode cache You can use either APC or XCache for PHP 5.3.0, or just XCache for PHP 5.3.1 or newer. APC is reportedly built into PHP 6, so no worries if it's the future and you're running that ;-)
* Memcached
* App icons and screenshots None of those images are included with this package. Don't ask me for them. I don't have them.
* The Hydrogen PHP library (Alpha 1), available at http://www.hydrogenphp.com I contributed RECache and some other tidbits to the Hydrogen project in the past number of months, and now AppDB uses it at its core. Drop its libraries into lib/hydrogen.
* READ THE README.txt! Seriously. It's important if you want to learn anything at all from the code, and has further instructions for getting it running to test out.
* KNOWLEDGE. I am NOT supporting this source code. I will NOT help you install it. I will NOT help you set up a server. I will NOT make updates or fix bugs. I will NOT contribute to the launching of another site with this code. Do NOT attempt to contact me for any such support, or I will laugh at you and delete your message. This release is for educational purposes ONLY.
Ed ecco l'unico file di hydrogen php:AppDB Code release
------------------
REQUIREMENTS:
PHP 5.3 or higher
The Hydrogen PHP library, available at http://www.hydrogenphp.com . This is the only library not included in this distribution, but
you can download it for free and plug it in. Note that it uses 'Alpha 1' and that future versions may not work with this code.
NOTES:
This code is in various stages of disarray. The first version was rushed and messy; this version is a middle-stage in getting it
flipped over into cleaner, more efficient code. As a result, much of this code is either horrible or pristine, with very little
middle-ground.
Beyond this text file, this code is entirely unsupported, use-at-your-own-risk, figure-it-out-yourself. You may have to modify MySQL
to allow indexing of 4+ letter words in FULLTEXT blocks. You'll need to copy the configuration files in /config without 'sample' in
them, and customize. You may have to dig through the code to find out what, exactly, some of the configuration options actually do.
You may have to retrieve your own product icons and screenshots, because that's a few gigs of data that I'm totally not trying to
serve out. I didn't even back those up before I let the server expire, so please don't ask for it.
These things are all on you, if you choose to use the code. I am not liable for any consequence of using this code, whether it results in
technical issues or legal issues. This code is being offered ONLY as an educational resource. Someone should be able to learn from
the time I put into this.
Note that, because this project was stopped during development, there are features alluded to in the code and entire database columns
that are never used and not programmed. It's a bit confusing at first, but you can take a look at the DB schema in
/utilities/install.php and deduce what can be removed. This code is also FULL of quirks and bugs. Well maybe not 'full', but
there's a few. Have fun, if you decide to hunt them down.
There are maintenance utilities in /utilities. They're messy and rushed, but they work. If you're using any form of the old AppDB
database dump, you may need to run correcttables to keep things clean.
Again, I relinquish all responsibility for this code. It's here for people to learn from. If you use it, any and all consequences
are yours.
Cheers
Kyek
PS: I forgot to mention -- since I'm keeping Appulo.us and the rights to the logo and all of that branding-type stuff, anything with
the logo has been overlaid with 'SAMPLE'. If you're just learning from the code, none of that will matter. If you're trying to take
this to launch some clone site somewhere, then you'll need to come up with your own site name and logo. Not that I condone that,
because I don't. I just know that some of you will try regardless.
Welcome to Hydrogen Alpha 1.
http://www.hydrogenphp.com
Requires PHP 5.3.0 or higher
Intended to be used with an opcode cache such as XCache or APC. Using Hydrogen without an opcode cache may result in a performance loss.
-------------------------------------------------------
STUFF YOU SHOULD KNOW
This Hydrogen release was made solely to get a proof of concept out on the internet for peer review. Some of the libraries within this release are fully documented, while others have absolutely no documentation at all. This will change in a future release, and shortly after, the website should also have documentation and tutorials. For now, we recommend that the only people who explore this code are the ones written permission-of-use has already been given to, as well as their peers.
The idea behind Hydrogen is to make a PHP library that makes websites screamingly fast through intelligent caching. The focus of the Hydrogen project (at this stage, at least), is the 'model' side of the MVC structure. While each of Hydrogen's mini-libraries are very useful on their own, the hydrogen\model library is what ties the whole project together. That library remains undocumented in this release, but future examples will show the power behind it, when used in conjunction with Hydrogen's very portable database tools.
Aside from the model and other data operations that Hydrogen's libraries address, the secondary goal is to provide solid, flexible libraries for the tedious parts of web applications that developers find themselves writing over and over. The config library is an end-all solution to text file-based website configs. The error handler is a versatile crash manager that can be called on and layered without restriction. The log library makes debugging a snap, mimicking logging standards set up by packages like log4j -- without the tedious configuration.
Lastly, the goal behind Hydrogen is to offer developers a high-performance tool that speeds up development WITHOUT locking them into some incredibly restrictive application structure. While all-inclusive MVC frameworks like CakePHP and CodeIgniter are great and make for a very rapid development process, being forced into a certain URL format and directory structure is often not ideal. Hydrogen gives developers a super-fast engine and unparalleled portability without sacrificing the freedom to code however and wherever you want.
That said, consider this release of Hydrogen to be COMPLETELY UNSTABLE. It's been tested and makes most applications measurably faster, but the testing group was limited and not public. Author not responsible for nuclear server explosion
-------------------------------------------------------
GETTING STARTED
Copy hydrogen.autoconfig.sample.php to hydrogen.autoconfig.php and make any necessary changes to match your directory structure.
Look at the configuration examples in the 'config/sample' folder, choose what's best for your project, and copy it to whatever patha nd filename you specify in the autoconfig.
require_once() the file hydrogen.inc.php at the top of any PHP file that can be loaded directly. USE AN ABSOLUTE PATH (PHP 5.3's __DIR__ constant is useful for this) to avoid generating expensive filesystem stats.
Go! Documentation coming soon.