During the last months, I have created a new shop software. I think, that was really necessary. There are many shop systems, of course, but they are really terrible to use. So I have focused to create a shop system, which
- … is based on modules: I want to reuse my software wherever it is possible. There are three basic modules: UserManagement, UserAddressManagement and ShopManagement.
- … can be extended by writing new modules: The system uses an event handling structure. New modules can interact with current modules without changing current code.
- … uses current techniques: The shop uses PHP 5 which enables a really good object oriented way to code.
- … always checks user inputs: the system realizes a security class, which always checks user data. No database entry will be created unless the data is checked, the programmer does not need to do this manually.
I wanted a software, which is able to be customizable and which – of course – creates valid xhtml pages. The templates should be as powerful as possible to create every possible design but they also should be separated from logic to enable designers to write their own templates. So I have used basic PHP statements to realize these approaches:[source:php]<ul>
<? foreach ($data[“objects”] as $object): ?>
<li>print an object.</li>
<? endforeach; ?>
Yesterday, the shop was published: Wolf-Terrararien – Shop. I had to use current page design and to import old data.
The shop is able
- to create static links
- to manage user accounts (incl. order management)
- to manage user addresses
- to interact with editland
I think, Mr. Wolf is very happy with his new shop and I’m sure, there will be interesting improvements and perhaps some new moduls.