Download Latest Version MythCore-UI v0.1.0.4-alpha (144.3 kB)
Email in envelope

Get an email when there's a new version of MythCore

Home / MythCore-UI / 0.1.0.4
Name Modified Size InfoDownloads / Week
Parent folder
README.md 2015-08-28 5.5 kB
MythCore-UI v0.1.0.4-alpha.tar.gz 2015-08-28 144.3 kB
Totals: 2 Items   149.8 kB 0

MythCore-UI v0.1.0.4-alpha

MythCore-UI Alpha Preview Release v0.1.0.4

UI access components for the MythCore framework

And finally, we're at the alpha release of the UI package of MythCore. The UI package currently includes a complete set of classes to cover the html write DOM along with a subset of the Bootstrap module that handles BS grids and simple controls.

Again, this release file only contains the UI package and what's needed for it to run from other modules (some classes from the IO module are needed to add support for writing html to streams and to the standard output using stream-style code)

The firectory structure is the same as other alpha packages already released. The root contains the Core.inc file that you require or require_once to add support for the MythCore-UI package and the Core directory, which contains the IO, Debug directory containing classes needed by the Core-UI package to function from the Core\IO and Core\Debug namespces.

The Core directory also includes the UI directory containing classes of the Core-UI package. The are mainly in two sub-directories representing the namespaces for the two current modules of the Core-UI package:

Core\UI\Html

Interfaces

  • IDOMNode
  • IDOMMetaData
  • IMetaDataProvider

DOM Classes

  • Element
  • EmptyElement
  • GenericContainerElement
  • Html - This is he factory class that you will use to generate Html elements using static factory methods. e.g. Html::A(some-text, some-href) will generate a hyperlink (a) element with some-text as the link text and some-href as the href/target
  • HtmlDocument
  • HtmlDocumentBase
  • HtmlNode
  • HtmlPage - This is the class you want to use to create a document structure for an html document

Data Structures

  • FBAlbumData
  • FBArticleData
  • FBBookAuthorData
  • FBBookData
  • FBBookGenreData
  • FBBusinessData
  • FBMetaData
  • FBMovieData
  • FBMusicData
  • FBPlaceData
  • FBProductData
  • FBProfileData
  • FBRestaurantData
  • FBRestaurantMenuData
  • FBRestaurantMenuItemData
  • FBRestaurantMenuSectionData
  • FBSongData
  • FBTVShowData
  • FBVideoData
  • PageMetaData
  • SOMetaData
  • TwitterAppCard
  • TwitterCard
  • TwitterGalleryCard
  • TwitterPhotoCard
  • TwitterPlayerCard
  • TwitterProductCard
  • TwitterSummaryBigImageCard
  • TwitterSummaryCard

Enumerations

  • AllTags
  • AreaShapes
  • Attributes
  • DocTypes
  • FBObjectTypes
  • FBProperties
  • KeyTypes
  • LinkMediaValues
  • LinkRelValues
  • LinkTypeValues
  • MetaHttpEquivValues
  • MetaNames
  • InputTypes
  • ScriptTypes
  • SOAttributes
  • SOItemProperties
  • SOTypes
  • Tags
  • TargetValues
  • TwitterCardTypes
  • TwitterMetaNames

Core\UI\Html\Nodes

This is the namespace(and directory) containing the different classes that represent different html DOM elements and nodes:

AbbrElement, AddressElement, AElement, AreaElement, ArticleElement, AsideElement, AudioElement, BaseElement, BdiElement, BdoElement, BElement, BlockquoteElement, BodyElement, BrElement, ButtonElement, CanvasElement, CaptionElement, CiteElement, CodeElement, ColElement, ColGroupElement, CommentNode, ContainerElement, DataListElement, DdElement, DelElement, DetailsElement, DfnElement, DialogElement, DivElement, DlElement, DocTypeNode, DtElement, EmbedElement, EmElement, FieldsetElement, FigCaptionElement, FigureElement, FooterElement, FormElement, H1Element, H2Element, H3Element, H4Element, H5Element, H6Element, HeadElement, HeaderElement, HrElement, HtmlElement, IElement, IFrameElement, ImgElement, InlineScriptElement, InputElement, InsElement, KbdElement, KeygenElement, LabelElement, LegendElement, LiElement, LinkElement, MainElement, MapElement, MarkElement, MetaElement, MeterElement, NavElement, NoScriptElement, ObjectElement, OlElement, OptGroupElement, OptionElement, OutputElement, ParamElement, PElement, PreElement, ProgressElement, QElement, RawTextNode, SampElement, ScriptElement, SectionElement, SelectElement, SElement, SmallElement, SourceElement, SpanElement, StrongElement, StyleElement, SubElement, SupElement, TableElement, TBodyElement, TdElement, TextAreaElement, TFootElement, THeadElement, ThElement, TimeElement, TitleElement, TrackElement, TrElement, UElement, UlElement, VarElement, VideoElement, WbrElement

Core\UI\BS

This is the namespace and directory containing the current subset of bootstrap components supported so far. It is sill growing to include more complex components which will be added in future releases. We choose to include this to showcase the framework's future direction and headings.

  • BS - The bootstrap factory class. Use the static methods in this class to create bootstrap components such as BS::Lead() or BS::TextField
  • BSIcon - Factory class to generate GlyphIcons span elements: BSIcon::Asterisk()
  • Capitalized
  • CenterAligned
  • CheckBox
  • CheckBoxInline
  • ClassEnforcedContainerElement
  • ClearFix
  • Col
  • Column
  • ColumnDeviceOptions
  • Container
  • Context
  • Devices
  • FluidContainer
  • FormGroup
  • FormState
  • HorizontalForm
  • Icons
  • ImageBorders
  • InlineForm
  • InputGroup
  • InputGroupAddon
  • JustifyAligned
  • Lead
  • LeftAligned
  • LowerCased
  • NoWrapAligned
  • RadioBox
  • RadioBoxInline
  • RightAligned
  • Row
  • StaticFormControl
  • Table
  • TextAlign
  • TextCase
  • TextField
  • TextFieldTypes
  • UpperCased

Class Reference & Documentation Comming Soon

Source: README.md, updated 2015-08-28