2. Why is a framework so usefull?

Discuss requests for comments/changes posted in the Issue Tracker for the development of phpBB's style.
Forum rules
Please do not post support questions regarding installing, updating, or upgrading phpBB or modifying styles of released phpBB versions. If you need support for phpBB please visit the Support Forums on phpbb.com.

If you have questions regarding creating styles please post in Styles Support & Discussion to receive proper guidance from our staff and community.
User avatar
hanakin
Infrastructure Team
Infrastructure Team
Posts: 788
Joined: Sat Dec 25, 2010 9:02 pm
Contact:

Re: 2. Why is a framework so usefull?

Post by hanakin » Thu Mar 09, 2017 3:40 pm

@3Di

yes and no.

true OO it not feasible with something that requires customization at the user level, meaning that we can not really use too many objects. Reference the first post where I explain the difference between patterns/singletons.

Patterns are not really feasible which is the true power of OO, one pattern such as a media pattern can have drastic code reduction and improvements. Singletons(my own term) we will be using. Think of them as small building blocks that our components use. Some refer to theses as components and use the term modules to refer to what ITCSS refers to as components. Either way its the same thing just a better more accurate wrapper as everything is technically a module. every individual file is a module by definition based on JS terms.

User avatar
hanakin
Infrastructure Team
Infrastructure Team
Posts: 788
Joined: Sat Dec 25, 2010 9:02 pm
Contact:

Re: 2. Why is a framework so usefull?

Post by hanakin » Wed Aug 30, 2017 11:38 pm

Just a quick update for those interested.

I have built some documentation into the framework now http://hanakin.github.io/base-l/. It is still not fully complete but it does go into a lot of the detail related to the coding standards.

We will be using the same coding standards for phpbb starting with version 3.3 as well. I am working on porting over the documentation from here to the phpbb docs but it takes a little time to convert everything from markdown to RST and get it reviewed and merged.

I have alos put together several core components to play with and test

Action Bar (Object): https://codepen.io/hanakin/pen/dRoZzO
Topic Row (Component): https://codepen.io/hanakin/pen/dNVWmm
Forum (Component): https://codepen.io/hanakin/pen/jybzBY


WIP:

Post (Component): https://codepen.io/hanakin/pen/jmPOwL

User avatar
Meis2M
Registered User
Posts: 411
Joined: Fri Apr 23, 2010 10:18 am
Contact:

Re: 2. Why is a framework so usefull?

Post by Meis2M » Thu Aug 31, 2017 7:55 pm

i like it , it is standard and good ...

a question:

you are use bootsrap or new framework ?

User avatar
hanakin
Infrastructure Team
Infrastructure Team
Posts: 788
Joined: Sat Dec 25, 2010 9:02 pm
Contact:

Re: 2. Why is a framework so usefull?

Post by hanakin » Thu Aug 31, 2017 9:34 pm

New framework! Bootstrap is not a framework it is a ui library although v4 is starting to add in some framework aspects but not very cleanly. The framework is just the separation and organization of files coupled with the coding standards and guidelines. You can easily port over bootstrap components with little to no nessecary changes.

User avatar
Meis2M
Registered User
Posts: 411
Joined: Fri Apr 23, 2010 10:18 am
Contact:

Re: 2. Why is a framework so usefull?

Post by Meis2M » Fri Sep 01, 2017 7:57 pm

with your point .. if you retired one day we have no problem :D
because i thought about when this day arrive

Post Reply