Inhalte aufrufen

customizing without changing core?


  • Bitte melden Sie sich an, um eine Antwort zu verfassen.
6 Antworten zu diesem Thema

#1 Guest_Dimitry_*

Guest_Dimitry_*
  • Guests

Geschrieben: 18 October 2016 - 11:39

Hi there,

we are going to switch to smartstore. but before we do this we need  to clarify some questions.

1. we need to make some changes in smartstore (e.g.: ordering process, adding some extra-fields, some additional entities to db).
From other side we would like to get all the upcomming changes and bug fixes; easily update to the new version when it will be released.

 is it possible to override existing functionality,  WITHOUT changing original code of smartstore?

probably there is some mechanism like hooks in Drupal?

if not, how do we need to proceed?


2. there is 2.6 released at the moment. but 3.0 has a lot of interesting changes. is it good idea to take 3.0 - and work with it? or is it still not stable and better stay with 2.6? when the 3.0 will be released?

Thanks in advance for your answers!



#2 Marcus Gesing

Marcus Gesing

    SmartStore AG

  • Administrators
  • 3799 Beiträge

Geschrieben: 18 October 2016 - 12:20

1. Hooks, events, interfaces, widgets, module\plugin integration, filtering... there are many ways to extend and customize.
Typically done by a plugin: "ordering process" depends on details, "adding some extra-fields" that's possible, "some additional entities to db" that's possible too.
"is it possible to override existing functionality,  WITHOUT changing original code of smartstore?" Yes, for instance by action filters. Example, see SmartStore.DevTools plugin at GitHub.
 
If you wish to change many things in many areas then a plugin or a theme could be to short-sighted. In this case I would recommend to use your own Git fork of SmartStore.NET and use Git to stay in sync with the core.
 
2. I would use 2.6 (or the 2.x Git branch). 3.0 is construction site and could make problems. I don't have a release date of 3.0 yet.

Marcus Gesing

Smartstore AG


#3 Guest_Dimitry_*

Guest_Dimitry_*
  • Guests

Geschrieben: 18 October 2016 - 12:55

thank you much for quick answer!

1. could you please give some examples? is there some documentation of hooks? events, interfaces?

2. will it be possible to update 2.6 to 3.0? or the changes are already dramatical?

3. what minimal kind of subscription will give us support in deep developement? for instnace: we can ask  you to know where to do changes to achieve some requirements?



#4 Guest_Dimitry_*

Guest_Dimitry_*
  • Guests

Geschrieben: 18 October 2016 - 13:52

do i understand correctly that 2.x will be potentially released as 2.7? is 2.x stable? probably better in compare to 2.6?



#5 Marcus Gesing

Marcus Gesing

    SmartStore AG

  • Administrators
  • 3799 Beiträge

Geschrieben: 18 October 2016 - 15:55

1. You can find the developer documentation here but there is no explanation of the mentioned techniques yet. So unfortunately at the moment there is only the source code for orientation.
 
2. Yes. I don't know a reason why it should not be possible.
 
3. The platinum support contract is intended for deep development support. Another scenario would be the "pay per incident" service, which is also possible. Or you can try to get support through this forum and count on voluntary contribution.
 
4. There is no 2.7 version planned. Next version will be 3.0. 2.x and 2.6 are almost identical. 2.x just contains a few bug fixes and yes, it's stable.

Marcus Gesing

Smartstore AG


#6 Guest_Dimitry_*

Guest_Dimitry_*
  • Guests

Geschrieben: 19 October 2016 - 14:25

one more question:

 

what is significant difference between 2.6 and 3.0? new features? plugins which are supported in 3.0 but not in 2.6?



#7 Marcus Gesing

Marcus Gesing

    SmartStore AG

  • Administrators
  • 3799 Beiträge

Geschrieben: 19 October 2016 - 15:02

You can find already implemented issues in the changelog.
 
Upcoming issues for version 3.0 are listed here.
 
Yes, there will be new plugins with 3.0 that won't be backward compatible because they use new infrastructure features. See changelog for details.

Marcus Gesing

Smartstore AG