{"id":330,"date":"2012-07-08T09:30:56","date_gmt":"2012-07-08T09:30:56","guid":{"rendered":"https:\/\/www.frozenlogistic.com\/?p=330"},"modified":"2013-05-09T12:52:23","modified_gmt":"2013-05-09T12:52:23","slug":"framework-structure-2","status":"publish","type":"post","link":"https:\/\/www.frozenlogistic.com\/?p=330","title":{"rendered":"Framework structure"},"content":{"rendered":"<p>Gavern Framework has a quite extensive files structure. It is similar to a standard structure of majority of the themes, however, because of many functionalities, there are some new elements.<\/p>\n<p><!--more--><\/p>\n<p>The overall outline of files structure is presented below:<\/p>\n<ol>\n<li><strong>theme&#8217;s catalog<\/strong><br \/>\n<small>It includes all basic files and catalogs for a theme. It is worth seeing that Custom Pages templats have a <strong>theme.<\/strong> prefix at the beginning of their names which helps to find them in files structure.<\/small><\/p>\n<ol>\n<li><strong>css<\/strong><br \/>\n<small>There are all CSS theme&#8217;s files in it. They are described in details in an entry about framework&#8217;s CSS code.<br \/>\n<\/small><\/p>\n<ol>\n<li><strong>back-end<\/strong><br \/>\n<small>To have everything ordered, CSS files connected with an administration panel were placed in this catalog.<br \/>\n<\/small><\/li>\n<li><strong>font-awesome\u00a0<\/strong><br \/>\n<small>Awesome font directory contain full suite of Retina ready pictographic icons.<\/small><\/li>\n<\/ol>\n<\/li>\n<li><strong>fonts<\/strong><br \/>\n<small>This catalog is used for storing files with additional fonts. You have to remember that each font must have its own catalog including a stylesheet.css file. More information about fonts service can be found in an entry about <strong>Fonts<\/strong> in an administration panel.<strong><\/strong><br \/>\n<\/small><\/li>\n<li><strong>gavern<\/strong><br \/>\n<small>A catalog including the base of whole GavernWP framework work.<br \/>\n<\/small><\/p>\n<ol>\n<li><strong>cache_nsp <\/strong><br \/>\n<small>Cached files from GK News Show Pro widget.<\/small><\/li>\n<li><strong>classes<\/strong><br \/>\n<small>Files with supporting classes used in framework&#8217;s code.<br \/>\n<\/small><\/li>\n<li><strong>config<\/strong><br \/>\n<small>Files including framework&#8217;s configuration. It has to be remembered that there are additional catalogs used for making transalations.<br \/>\n<\/small><\/li>\n<li><strong>demo <\/strong><br \/>\n<small>It includes a file used to generate demo content based on widgets.<\/small><\/li>\n<li><strong>form_elements<\/strong><br \/>\n<small>It includes a main file with a code which generates basic form elements in an administration panel, as well as, catalogs with elements created by a user.<br \/>\n<\/small><\/li>\n<li><strong>helpers<\/strong><br \/>\n<small>A collection of classes connected with specific framework&#8217;s tasks, e.g. with generating layout fragments.<br \/>\n<\/small><\/li>\n<li><strong>layouts<\/strong><br \/>\n<small>Files used for generating HTML code of an administration panel.<br \/>\n<\/small><\/li>\n<li><strong>options<\/strong><br \/>\n<small>Files which store options of particular sections of theme&#8217;s administration panel. Similarly to <strong>config<\/strong> catalog; there are also additional catalogs used for making translations.<strong><\/strong><br \/>\n<\/small><\/li>\n<\/ol>\n<\/li>\n<li><strong>images<\/strong><br \/>\n<small>Graphic files used with a theme<br \/>\n<\/small><\/p>\n<ol>\n<li><strong>back-end<\/strong><br \/>\n<small>Files connected with an administration panel.<br \/>\n<\/small><\/li>\n<li><strong>demo<\/strong><br \/>\n<small>Images connected with demo content.<br \/>\n<\/small><\/li>\n<li><strong>post_formats<\/strong><br \/>\n<small>Images connected with entries formats.<br \/>\n<\/small><\/li>\n<\/ol>\n<\/li>\n<li><strong>js<\/strong><br \/>\n<small>JavaScript scripts files used in a thme<br \/>\n<\/small><\/p>\n<ol>\n<li><strong>back-end<\/strong><br \/>\n<small>Likewise in <strong>css<\/strong> and <strong>images<\/strong> catalogs there are files included used in an administration panel.<strong><\/strong><strong><\/strong><br \/>\n<\/small><\/li>\n<li><strong>templates<\/strong><br \/>\n<small>Additional JavaScript files used by some Custom Pages.<br \/>\n<\/small><\/li>\n<li><strong>widgets<\/strong><br \/>\n<small>JavaScript files used by GK Widgets.<\/small><\/li>\n<\/ol>\n<\/li>\n<li><strong>languages<\/strong><br \/>\n<small>Main files used for creating translations.<br \/>\n<\/small><\/li>\n<li><strong>layouts<\/strong><br \/>\n<small>Files used for generating subpages; they include elements which are used very often; e.g. a head section.<br \/>\n<\/small><\/li>\n<\/ol>\n<\/li>\n<\/ol>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Gavern Framework has a quite extensive files structure. It is similar to a standard structure of majority of the themes, however, because of many functionalities, there are some new elements.<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[25],"tags":[39,41,31,38,40,28,33],"class_list":["post-330","post","type-post","status-publish","format-standard","hentry","category-theme-essentials","tag-css","tag-custom-pages","tag-fonts","tag-framework","tag-js","tag-json","tag-translations"],"_links":{"self":[{"href":"https:\/\/www.frozenlogistic.com\/index.php?rest_route=\/wp\/v2\/posts\/330","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.frozenlogistic.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.frozenlogistic.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.frozenlogistic.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.frozenlogistic.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=330"}],"version-history":[{"count":3,"href":"https:\/\/www.frozenlogistic.com\/index.php?rest_route=\/wp\/v2\/posts\/330\/revisions"}],"predecessor-version":[{"id":961,"href":"https:\/\/www.frozenlogistic.com\/index.php?rest_route=\/wp\/v2\/posts\/330\/revisions\/961"}],"wp:attachment":[{"href":"https:\/\/www.frozenlogistic.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=330"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.frozenlogistic.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=330"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.frozenlogistic.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=330"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}