ZORALab / Hestia

One Peaceful Frontend+Backend Software Library Suite.
https://hestia.zoralab.com
Other
19 stars 1 forks source link

Plan and Plot hestiaLIBS API and Directory Structure #79

Closed hollowaykeanho closed 1 year ago

hollowaykeanho commented 1 year ago

Description

Please provide a short description of what feature you're looking forward to
add into the existing repository below. Please include the story behind your
idea as well to give a better visualization of your idea.

While performing library assimilations across the globe, we should plan out and plot the hestiaLIBS API before it reaches the same point of no return like any other libraries.

Expected Behavior

Please specify the expected behavior of your requested feature. Some great and
helpful pointers are your expected interface (e.g. command patterns, simple
sketches of the user interface, etc).

The hestiaLIB layouts and API foundations are tested and constructed.

implemented across all packages:

hestiaBOOL/IsBool
hestiaBOOL/Sanitize

hestiaCOMPILERS/hestiaHUGO/Clean
hestiaCOMPILERS/hestiaHUGO/FormatConsole
hestiaCOMPILERS/hestiaHUGO/IsHestia
hestiaCOMPILERS/hestiaHUGO/Metadata
hestiaCOMPILERS/hestiaHUGO/Page
hestiaCOMPILERS/hestiaHUGO/RobotsTXT
hestiaCOMPILERS/hestiaHUGO/SaveOfflineURL
hestiaCOMPILERS/hestiaHUGO/Start

hestiaCSS/ToString

hestiaENTITY/Roles
hestiaENTITY/Sanitize

hestiaGUI/joshuamacdonaldDOWNARROW/CSS
hestiaGUI/joshuamacdonaldDOWNARROW/CSSVariables
hestiaGUI/joshuamacdonaldDOWNARROW/HTML
hestiaGUI/joshuamacdonaldDOWNARROW/JS
hestiaGUI/zoralabANCHOR/CSS
hestiaGUI/zoralabANCHOR/CSSVariables
hestiaGUI/zoralabANCHOR/HTML
hestiaGUI/zoralabANCHOR/JS
hestiaGUI/zoralabBADGE_SHIELD/CSS
hestiaGUI/zoralabBADGE_SHIELD/CSSVariables
hestiaGUI/zoralabBADGE_SHIELD/HTML
hestiaGUI/zoralabBADGE_SHIELD/JS
hestiaGUI/zoralabBLOCKQUOTE/CSS
hestiaGUI/zoralabBLOCKQUOTE/CSSVariables
hestiaGUI/zoralabBLOCKQUOTE/HTML
hestiaGUI/zoralabBLOCKQUOTE/JS
hestiaGUI/zoralabBUTTON/CSS
hestiaGUI/zoralabBUTTON/CSSVariables
hestiaGUI/zoralabBUTTON/HTML
hestiaGUI/zoralabBUTTON/JS
hestiaGUI/zoralabCARD/CSS
hestiaGUI/zoralabCARD/CSSVariables
hestiaGUI/zoralabCARD/HTML
hestiaGUI/zoralabCARD/JS
hestiaGUI/zoralabCAROUSEL/CSS
hestiaGUI/zoralabCAROUSEL/CSSVariables
hestiaGUI/zoralabCAROUSEL/HTML
hestiaGUI/zoralabCAROUSEL/JS
hestiaGUI/zoralabCATALOG/CSS
hestiaGUI/zoralabCATALOG/CSSVariables
hestiaGUI/zoralabCATALOG/HTML
hestiaGUI/zoralabCATALOG/JS
hestiaGUI/zoralabCODE/CSS
hestiaGUI/zoralabCODE/CSSVariables
hestiaGUI/zoralabCODE/HTML
hestiaGUI/zoralabCODE/JS
hestiaGUI/zoralabCOLOR_GREEN/CSS
hestiaGUI/zoralabCOLOR_GREEN/CSSVariables
hestiaGUI/zoralabCOLOR_GREEN/HTML
hestiaGUI/zoralabCOLOR_GREEN/JS
hestiaGUI/zoralabCOLOR_RED/CSS
hestiaGUI/zoralabCOLOR_RED/CSSVariables
hestiaGUI/zoralabCOLOR_RED/HTML
hestiaGUI/zoralabCOLOR_RED/JS
hestiaGUI/zoralabCOLOR_YELLOW/CSS
hestiaGUI/zoralabCOLOR_YELLOW/CSSVariables
hestiaGUI/zoralabCOLOR_YELLOW/HTML
hestiaGUI/zoralabCOLOR_YELLOW/JS
hestiaGUI/zoralabCORE/CSS
hestiaGUI/zoralabCORE/CSSVariables
hestiaGUI/zoralabCORE/HTML
hestiaGUI/zoralabCORE/JS
hestiaGUI/zoralabDEBUGGER/CSS
hestiaGUI/zoralabDEBUGGER/CSSVariables
hestiaGUI/zoralabDEBUGGER/HTML
hestiaGUI/zoralabDEBUGGER/JS
hestiaGUI/zoralabDEFLIST/CSS
hestiaGUI/zoralabDEFLIST/CSSVariables
hestiaGUI/zoralabDEFLIST/HTML
hestiaGUI/zoralabDEFLIST/JS
hestiaGUI/zoralabDIALOG/CSS
hestiaGUI/zoralabDIALOG/CSSVariables
hestiaGUI/zoralabDIALOG/HTML
hestiaGUI/zoralabDIALOG/JS
hestiaGUI/zoralabDIVIDER/CSS
hestiaGUI/zoralabDIVIDER/CSSVariables
hestiaGUI/zoralabDIVIDER/HTML
hestiaGUI/zoralabDIVIDER/JS
hestiaGUI/zoralabDIVIDER_CUT/CSS
hestiaGUI/zoralabDIVIDER_CUT/CSSVariables
hestiaGUI/zoralabDIVIDER_CUT/HTML
hestiaGUI/zoralabDIVIDER_CUT/JS
hestiaGUI/zoralabDIVIDER_DASHED/CSS
hestiaGUI/zoralabDIVIDER_DASHED/CSSVariables
hestiaGUI/zoralabDIVIDER_DASHED/HTML
hestiaGUI/zoralabDIVIDER_DASHED/JS
hestiaGUI/zoralabDIVIDER_PAGE_BREAK/CSS
hestiaGUI/zoralabDIVIDER_PAGE_BREAK/CSSVariables
hestiaGUI/zoralabDIVIDER_PAGE_BREAK/HTML
hestiaGUI/zoralabDIVIDER_PAGE_BREAK/JS
hestiaGUI/zoralabDRAWER/CSS
hestiaGUI/zoralabDRAWER/CSSVariables
hestiaGUI/zoralabDRAWER/HTML
hestiaGUI/zoralabDRAWER/JS
hestiaGUI/zoralabFONT_NOTOSANS/CSS
hestiaGUI/zoralabFONT_NOTOSANS/CSSVariables
hestiaGUI/zoralabFONT_NOTOSANS/HTML
hestiaGUI/zoralabFONT_NOTOSANS/JS
hestiaGUI/zoralabFORM/CSS
hestiaGUI/zoralabFORM/CSSVariables
hestiaGUI/zoralabFORM/HTML
hestiaGUI/zoralabFORM/JS
hestiaGUI/zoralabIFRAME/CSS
hestiaGUI/zoralabIFRAME/CSSVariables
hestiaGUI/zoralabIFRAME/HTML
hestiaGUI/zoralabIFRAME/JS
hestiaGUI/zoralabNOTE/CSS
hestiaGUI/zoralabNOTE/CSSVariables
hestiaGUI/zoralabNOTE/HTML
hestiaGUI/zoralabNOTE/JS
hestiaGUI/zoralabNOTE_ERROR/CSS
hestiaGUI/zoralabNOTE_ERROR/CSSVariables
hestiaGUI/zoralabNOTE_ERROR/HTML
hestiaGUI/zoralabNOTE_ERROR/JS
hestiaGUI/zoralabNOTE_SUCCESS/CSS
hestiaGUI/zoralabNOTE_SUCCESS/CSSVariables
hestiaGUI/zoralabNOTE_SUCCESS/HTML
hestiaGUI/zoralabNOTE_SUCCESS/JS
hestiaGUI/zoralabNOTE_WARNING/CSS
hestiaGUI/zoralabNOTE_WARNING/CSSVariables
hestiaGUI/zoralabNOTE_WARNING/HTML
hestiaGUI/zoralabNOTE_WARNING/JS
hestiaGUI/zoralabOLIST/CSS
hestiaGUI/zoralabOLIST/CSSVariables
hestiaGUI/zoralabOLIST/HTML
hestiaGUI/zoralabOLIST/JS
hestiaGUI/zoralabPICTURE/CSS
hestiaGUI/zoralabPICTURE/CSSVariables
hestiaGUI/zoralabPICTURE/HTML
hestiaGUI/zoralabPICTURE/JS
hestiaGUI/zoralabPRE/CSS
hestiaGUI/zoralabPRE/CSSVariables
hestiaGUI/zoralabPRE/HTML
hestiaGUI/zoralabPRE/JS
hestiaGUI/zoralabSECTION_SPLIT_SKEW/CSS
hestiaGUI/zoralabSECTION_SPLIT_SKEW/CSSVariables
hestiaGUI/zoralabSECTION_SPLIT_SKEW/HTML
hestiaGUI/zoralabSECTION_SPLIT_SKEW/JS
hestiaGUI/zoralabTABLE/CSS
hestiaGUI/zoralabTABLE/CSSVariables
hestiaGUI/zoralabTABLE/HTML
hestiaGUI/zoralabTABLE/JS
hestiaGUI/zoralabTILE/CSS
hestiaGUI/zoralabTILE/CSSVariables
hestiaGUI/zoralabTILE/HTML
hestiaGUI/zoralabTILE/JS
hestiaGUI/zoralabTOC/CSS
hestiaGUI/zoralabTOC/CSSVariables
hestiaGUI/zoralabTOC/HTML
hestiaGUI/zoralabTOC/JS
hestiaGUI/zoralabULIST/CSS
hestiaGUI/zoralabULIST/CSSVariables
hestiaGUI/zoralabULIST/HTML
hestiaGUI/zoralabULIST/JS

hestiaHTML/ToString

hestiaI18N/IsCountry
hestiaI18N/IsLang
hestiaI18N/IsScript
hestiaI18N/Sanitize
hestiaI18N/ToID

hestiaIO/hestiaFS/IsFileExists
hestiaIO/hestiaFS/ParseDataFile
hestiaIO/hestiaFS/ParseFile
hestiaIO/hestiaFS/WriteFile

hestiaIO/hestiaTERM/Errorf
hestiaIO/hestiaTERM/Warnf

hestiaJS/ToString

hestiaJSON/schemaorgLDJSON/CreativeWork
hestiaJSON/schemaorgLDJSON/Entity
hestiaJSON/schemaorgLDJSON/Thumbnail
hestiaJSON/schemaorgLDJSON/WebPage
hestiaJSON/schemaorgLDJSON/WebSite

hestiaLIST/Sanitize
hestiaLIST/IsSlice
hestiaLIST/IsMap
hestiaLIST/IsList

hestiaMATH/SanitizeNumberPositive
hestiaMATH/SanitizeNumber
hestiaMATH/IsStringInt
hestiaMATH/IsNumber

hestiaMEDIA/ChooseSize
hestiaMEDIA/Sanitize
hestiaMEDIA/ToHTML

hestiaMIME/IsAudio
hestiaMIME/IsCSS
hestiaMIME/IsHTML
hestiaMIME/IsImage
hestiaMIME/IsJavascript
hestiaMIME/IsJSON
hestiaMIME/IsMedia
hestiaMIME/IsSVG
hestiaMIME/IsType
hestiaMIME/IsVideo
hestiaMIME/IsXML
hestiaMIME/Sanitize

hestiaNET/hestiaHTTP/hestiaBROWSERCONFIG/ToString

hestiaNET/hestiaHTTP/hestiaCORS/Sanitize
hestiaNET/hestiaHTTP/hestiaCORS/IsUseCredentials
hestiaNET/hestiaHTTP/hestiaCORS/IsAnonymous

hestiaNET/hestiaHTTP/hestiaPWA/ToString_APPJS
hestiaNET/hestiaHTTP/hestiaPWA/ToString_MANIFEST

hestiaNET/hestiaHTTP/hestiaROBOTS/ToString

hestiaNET/hestiaHTTP/hestiaSITEMAP/ToString_INDEX
hestiaNET/hestiaHTTP/hestiaSITEMAP/ToString_PAGE

hestiaSTRING/TrimWhitespaceRight
hestiaSTRING/TrimWhitespaceLeft
hestiaSTRING/TrimWhitespace
hestiaSTRING/ToID
hestiaSTRING/Sanitize
hestiaSTRING/Minify
hestiaSTRING/IsString
hestiaSTRING/FormatNumber

hestiaTIME/IsTime
hestiaTIME/Sanitize

hestiaURL/Sanitize
hestiaURL/IsURL

Reviewed Languages

Current Absent Behavior

Please specify the current behavior (e.g. workaround, blockage, etc).

hestiaLIB layouts and API foundations are not tested yet and it's still in idea phase.

Attachment

Please drag and drop the necessary data files (e.g. screenshot, logs, etc)
below.
hollowaykeanho commented 1 year ago

Appearently, HestiaHUGO is capable of laying out the foundation easily for the actual code libraries. Working on it alongside Issue #59 .

hollowaykeanho commented 1 year ago

HestiaLIBS foundation in HestiaHUGO is established. Commit ID: 41db825cec958413ed21e6e2211fd3350d7fda7f

corygalyna commented 1 year ago

Any update?

hollowaykeanho commented 1 year ago

Yeah.. a lot of good news so far...

1) template method does not requires file reading like partial == significantly reduces the IOCTL storm (Issue #59). 2) Most recent https://discourse.gohugo.io/t/how-to-pass-gos-pipeline-into-string-or-vice-versa/43289/9 resolves the template pipeline gap we had for all the content pages. 3) Phase 2 hestiaLIBS directory planning is done simultenously.

We will see a huge bump in performance once we release Phase 1.2 hestiaHUGO.

corygalyna commented 1 year ago

Item 1, you serious?

hollowaykeanho commented 1 year ago

https://github.com/ZORALab/Hestia/tree/experimental/hestiaHUGO/layouts/partials/Hestia

See for yourself. It really works like charm.

corygalyna commented 1 year ago

Great. Proceed further then. I assume this can be done in this week?

hollowaykeanho commented 1 year ago

Pretty much. It's just switching the API adapter. No much of novel development anyway.

corygalyna commented 1 year ago

Since this is heavily influencing the writing of getting started (Issue #67), please see it done before continue writing the them.

hollowaykeanho commented 1 year ago

No longer works for HestiaHUGO so let's scrap it and only focus on HestiaGO + HestiaRS.

corygalyna commented 1 year ago

new findings?

hollowaykeanho commented 1 year ago

Yeap.. updating the list of registered functions.

hollowaykeanho commented 1 year ago

Updated expected output. Completed hestiaHUGO's API reviews and merges.

hollowaykeanho commented 1 year ago

Restructuring API and directory layout again as we had decided to drop the Rust where it overly dictates naming convention pattern against all languages.

hollowaykeanho commented 1 year ago

Updated to the latest structure. Pending commit.

corygalyna commented 1 year ago

Perfect. Looks like taking Rust in was a bad decision during prototyping stage. You're right. Once everything is stable, then we will consider writing for it (knowing you, I know how it ends haha). Great job!

hollowaykeanho commented 1 year ago

All hestiaGUI ported and stabilized. hestiaGO and hestiaNIM can be included in. Mark this ticket as completed.

hollowaykeanho commented 1 year ago

Released in version v.1.2.0.