After working more then last one year in web development, i fill admin/admin panel is the common for all projects. I found two types of sites mainly developed. Static and dynamic. Static sites are consider HTML, XHTML, CSS and JavaScript mainly. For dynamic their are number of languages Like ASP Dot net, PHP, JSP, Ruby On Rail and Others. Whatever the technology you choose for development, client requirement and consideration are same. Because most of them are not technically sound enough. Management employees are concern for literate them. Management try to make usual the admin and client viewing.
What is Admin and Client Viewing? First Client Viewing means the out looking of a site. Like when you write http://www.yahoo.com you get a page. Principle work of Admin panel is the arrangement of this client viewing.
From my short, unstructured, massy and spaghetti development experience i found all web site have number of modules. Almost every module of dynamic site is controlled through admin panel. Whereas every module have 4 basic operations. These are Create, Retrieve, Update and Delete( Called CRUD). Every developer do the same thing in different ways. Database support only these four operation, so no one can get out from this boundary. But the difference between a spaghetti and expert coder is the arrangement/structure of coding to accomplish these operations. Everyone try to manage his code with a good standard. So that anyone can understand and recode / modify / expand code easily after a short or long period of time.
Admin panel is the heart of a dynamic site. When clients are familiar with it they get the facility what they actually wants. For every module basic features are maintained by three/four different pages (I found for most developers). First page is concern with add one item for respective module. Second page display listing of these features. From this page clients can go for edit or delete a specific item. Edit and delete operation are accomplished by two different pages. This was my development strategy last year. Slowly one thinking in my mind arise. Cant i do all the CRUD operations in a single page. It must reduce my time and re-use UI (User Interface). Finally i can make a shape my thinking.
I don't do anything much appreciable. 100 times better then this is already exist in development industry. But this is the implementation of my thinking. That's why it's important for me. And surely it save my time. I use a single page where from i can add, edit, view listing and delete any item of my module. The page is completely customizable and open source. This is the thing what feels to me nice for novice developers. Additionally every module operations are in separate page. All business logic are implemented in this page. It separate logic from user interface. Every module have different logic's for it's operational behavior. This page is also customizable and easy to use and expand. I use here static function feature which is strong and powerful feature of OOP(Object Oriented Programming). You must like it because the features are easy to understand, modify and expand. Here are the benefits of my One Page Admin Module
1. Add, Edit, Listing and Delete all are in same page.
2. All messages (for add, edit, manage or delete) are at the beginning of the page.
3. You can use ordering (if exist for current module).
4. You don't need to change most of the codes.
5. User interface are not within code (so you can easily modify user interface by any IDE)
6. Section wise comment which help you to understand quick.
7. Additional class for
You shall get the complete code here :
http://www.shopno-dinga.com/download/master_page/
Click Download Link, customize and enjoy your coding.
Any advice will be highly appreciated. Really i expect from you.
No comments:
Post a Comment