A
A
Alexey Pavlov2015-03-31 13:44:52
symfony
Alexey Pavlov, 2015-03-31 13:44:52

What features does the bundle lack?

Wrote a new bundle to manage site settings LexxpavlovSettingsBundle ( repository , packagist ).
Designed to store application settings (service emails, site block settings, contacts, etc.).
Opportunities:

  • Able to receive settings from the database - both individual settings and a group of related settings.
  • Able to cache data.
  • Configurable via Sonata or manually.

Will such a bundle be useful to you? What could be added to it to make it more useful?
I also ask those who wish to conduct a Code Review. Let's get smarter together! :)
What do I mean by settings:
- globally enable/disable comments for entries
- number of entries in the list
- text of the action on the main page
- email for sending service letters or orders
- contacts that are displayed in the header of the site
That is, everything that you may need on several pages, and can be changed by the client, not by the programmer.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
S
Sergey, 2015-03-31
Protko @Fesor

Will such a bundle be useful to you?

no.
https://github.com/lexxpavlov/LexxpavlovSettingsBu... - everything seems to be very bad. I apparently do not understand why a bundle is needed at all and what it actually does.
Looking further - even more I do not understand why all this is necessary. Good luck with this.

W
WarGot, 2015-04-29
@WarGot

As I understand it, the settings are stored vertically for you, i.e. one record and each setting has its own field. Or due to the connection on the category they become horizontal?
Usually do
setting 1 - setting value
setting 2 - setting value
setting 3 - setting value
site_url - wargot.com
seo_desc = 'bla bla bla'
seo_keywords = 'bla, bla, bla, bla'
By the way, where is the external link to Settings on Category ?

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question