Link to home
Start Free TrialLog in
Avatar of Marco Gasi
Marco GasiFlag for Spain

asked on

Custom basic CMS update automation

So I buld dynamic websites. As CMS I use something I have built by myself because I wanted to offer something very simple and easy to use to my client: they are small clent and they can't spend time to learn how to use Wordpress, OpenCart or other complex CMS. They just have to add, delete and modify some products data, or even just add some news to publish in the homepage.
So I have developed my own CMS. My problem is that I always work on it to improve it and everytime I change somewthing I have to manually upload changed files to the clients websites in order to always be sure I have the same code running in the various Control Panels.

As you guess, this becomes soon a crazy task, subject to errors and confusion. I would like to automate this process but I'm not sure how to do it.

Let me say that the develpment version of the code uses Git as Version control system. I also have to specify that between the various versions of the Control Panel, only one file is specific to that specific client, a configuration file in json format which my classes read to do the various tasks.

This config files holds specific settings and many times, as I improve the doce and some new features, the config file itself needs to be changed and I have some doubt this can be automated because here I need to preserve orginal specifi settings whil I add new sections with new settings and their default values.

So I think I could manually update only this file, but how can I make the other core components "self-update" when I change the "matrix"?

Any idea or suggestion?

Thank you in advance for any idea :)
ASKER CERTIFIED SOLUTION
Avatar of David Favor
David Favor
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Marco Gasi

ASKER

Hi and sorry fir the delay.
@David: I understand your point about business, but I love to write code :) I'll check about tagging updates

@Scott: that's sounds good too. Maybe I can use both...

Thank you all
Thank you again
Marco, for what it is worth, I run into the same thing as you.   A client finds WP too hard to use when they just want to create a calendar or manage some products.  I do the same thing as you where I create a simple cms for title, description(s), categories, images etc.  I have tried duplicating and the issue I run into is the needs from one to the other are not identical.  I just try and give them objective reasons for using a custom cms or WP.  Most are happy to pay more for something custom that just works.  I have tried to create a CMS on my own site to do what you want thinking I could use for multiple people and just keep the code in one spot. The issue is the same. The reason somebody wants a custom CMS is to be tailored to their own system.  I have just went with that and kept custom code for each individual.

If you are doing this for shopping carts, it may be interesting to check out opencart where you do the initial set up and have your code access the api for managing product in what you will make a simple interface http://docs.opencart.com/en-gb/system/users/api/  You end up presenting something easy to your client, but it is built on something proven that you don't have to manage to the extent you are doing.

Good luck!
Scott, thank you for still giving help:) About OpenCart API: are you saying that I can install OpenCart and then, using the API, I can use whatever I want for the frontend? I mean, we are not linked to OPenCart themes? Really interesting. In effect I've just ended to setup a small ecommerce system whith a bunch of classes in their namespace and it works nicely, but OpenCart offers much more so this is definitely a useful info you gave me. Thank you.