- Details
- Written by: Matthew Murphy
- Category: How-To Guides
- Hits: 23
Joomla Nativity Standards (JNS)
Designing DB
- Every table should contain published field where it is applicable
- Every table should contain checked_out and checked_out_time fields if this table records managed in backed.
- Every table should contain access field where it is applicable
Development
- Component should be developed in complete MVC model of Joomla 1.5 taking in account all Joomla MVC standards
- MVC implementation should be done through core Joomla JController, JView, JModel classes.
- File structure should conform
- In administration component should use Joomla core Toolbar to create Functional buttons
- Every list of records have to have checkin and checkout functionality implemented to prevent double editing record at the same time.
- Every list of records should have published/unpublished opportunity
- Every list of records should have access column where it is applicable and its implementation should work in frontend.
- All error messages should be outputted through JError class
Styling Admin
- All standard toolbar buttons functions like publish, unpublish save, apply, close, edit, etc should use template images
- Custom button icon should be in the same style
- You should think out interface using Joomla interface elements like Sliders, Tabs, Toolbar, ... as much as possible
- Generating tables and forms standard CSS classes like admintable, adminform, ... should be used
- Everything component generate and display either in back-end or front-end should be formatted with appropriate core Joomla classes that should guaranty best outlook with any template.
- Personal formatting may be used but it should not format colors and borders
Styling Frontend
- All elements rendered on frontend should be formated by core Joomla CSS classes. For example main title: .componentheading, subtitle: .contentheading, data/time: .createdate, .modifydateand so on.
- Special attention to format tables that list items. Do not forget table classes like .sectiontableheader, .sectiontableentry1, .sectiontableemtry2. I noted that many ignore that.
- Elements should be placed on the page in general Joomla style.
By one word, user should not think a lot how to adopt component to looks great in his currect template but just install component and use it. I mean that even if user need to edit template just to change positions and order of elements but not color and font size.
- Details
- Written by: Matthew Murphy
- Category: How-To Guides
- Hits: 19
PLEASE NOTE: If you noticed anything important that I have left out please email me or if you want to add to this, As I am NOT a programmer, I am just taking all the links and the information I have learned from talking to programmers and helping adapt a PHP programmer into a PHP Programmer who can code a Joomla Component.
First off, I think you should have a understanding on the joomla frame work, you should never hack the core to do what you want, if you fill its something missing or its a bug in Joomla dont just submit a but report, all the people who work on 1.5.x release do not get paid by the hour, or by the project... They voluntear, try to fix the bug/feature flaw yourself and submit the patch to the proper place.
Second I am not a programmer, Im a hacker, i take code and modify it a bit, I have programmers who work for me and are way faster then me and I have no desire in becoming them.
Framework (MVC)
1.5 Native
Templates
Components
Modules
Plugins
- Details
- Written by: Matthew Murphy
- Category: How-To Guides
- Hits: 39
Go to components and read carefully. If you cant do this then pay me lll do it for you for $100 So you got your SQL file, right? Lets move on
I REALLY recommend you to make a new directory within the old install call it 'upgrade' look at the old sites config, what was your old sites prefix for table names? write it down on a post it note
I also recommend you making a brand new database and backing up your old database so you wont be a retard and lose all your sites content (right sCOTTo, ask him, he loves to delete entire websites 'accidently') We want a 1.5 thats just been extracted and not installed yet
So we are at the place now on 1.5 that is starts to ask about username, pass, site title and DATABASE information.
Thanks to Dacs this article is unfinished and published.
