Jump to content

Recommendations to Separate the Website Parts Into Their Own


Recommended Posts

I have built a website where everything comes together one can think of regarding building sites for the internet and now I would like to separate the functionalities into their own so I can use them again in the next projects.

 

Be it the commenting, favoriting, rating, profile, sign in, sign up system and et cetera - I simply want all systems to be separated for later re-use.

 

I am wondering what would be the best way to approach this? Any recommendations?

 

I did consider to use neutral and abstractive terminology when coding the scripts so it is not specific to the current project.

I would build a mini framework and use a modules system. Each thing (commenting, favoriting, rating...) would be its own module and completely independent of one-another. This way you can just drop in whatever module you want and you're good to go.

re-usable as in php code? or as in the entire thing (images, css, js, ..)? The first scenario means a strong abstraction. The second implies the use of modules (or mini-app):

 

module1

- css

- js

- img

- something.php

- manifest.xml

module2

- css

- js

- img

- something.php

- manifest.xml

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.