Difference between revisions of "Bower"

From OpenEMR Project Wiki
Line 1: Line 1:
=Bower=
:Added this to attempt to standardize the assets that are used by openemr. Assets that are collected via bower are stored at interface/static; note this location is flexible since we are not sure where we will be storing these in the future as migrate to MVC architecture.
:Added this to attempt to standardize the assets that are used by openemr. Assets that are collected via bower are stored at interface/static; note this location is flexible since we are not sure where we will be storing these in the future as migrate to MVC architecture.
:*The path is set to a global here in the codebase(so the path will be easy to change in the future, if needed):
:*The path is set to a global here in the codebase(so the path will be easy to change in the future, if needed):
Line 13: Line 14:
::*Use composer for back-end libraries? If so, use separate directory?
::*Use composer for back-end libraries? If so, use separate directory?
::*Should we be using bower for this or is it better to manually bring in packages in a standard fashion?
::*Should we be using bower for this or is it better to manually bring in packages in a standard fashion?
=Forum=
:*[https://sourceforge.net/p/openemr/discussion/202506/thread/d4ec2b8b/ assets directory]

Revision as of 08:17, 27 June 2016

Bower

Added this to attempt to standardize the assets that are used by openemr. Assets that are collected via bower are stored at interface/static; note this location is flexible since we are not sure where we will be storing these in the future as migrate to MVC architecture.
  • The path is set to a global here in the codebase(so the path will be easy to change in the future, if needed):
Current assets are:
  • font-awesome
Development is ongoing for this project:
  • Ideal directory for this stuff
  • Ideal syntax of the bower openemr package
  • Incorporating versioning of the assets to allow multiple versions of 1 library (ie. such as jquery)
  • Several questions to answer:
  • Use this only for front-end libraries (css/js)?
  • Use composer for back-end libraries? If so, use separate directory?
  • Should we be using bower for this or is it better to manually bring in packages in a standard fashion?

Forum