Oh no! Where's the JavaScript?
Your Web browser does not have JavaScript enabled or does not support JavaScript. Please enable JavaScript on your Web browser to properly view this Web site, or upgrade to a Web browser that does support JavaScript.
Not a member yet? Click here to register.
Forgot Password?

Open Thread for PHPFusion 9.03 Development Status

Asked Modified Viewed 1,147 times
C
Chan
C
Chan 0
Lead Developer of PHP-Fusion
  • Super Admin, joined since
  • Contributed 3,841 posts on the community forums.
  • Started 232 threads in the forums
  • Started this discussions
  • Answered 6 questions
asked
Super Admin

Hello all, I have been contacted by our avid follower for the status quo of the Andromeda release.

Instead of replying privately, I would take this opportunity to inform everyone of the status quo and the plans for que for the next public release of 9.0.xx from the project code: Andromeda branch on Github.

Andromeda is lacking a few inspections at this moment:

1. Setup/Upgrade Installer.

There have been people who failed to update their site from version 7 to version 9 and cases have been reported.
One major setback was showed to me personally from the failure of upgrading to PHPFusion 9.0 by the USA NSS website.

I do not know why because as there are no reports given to me as of date.

Core Infusions upgrade specifically to the forum have been deemed problematic. There are 2 aspects that needs in-depth checking.

a. User Rights, and User Level
b. From Non-Multi language to Multi language

Solution: We might need a new installer patching / rework / approach / modelling.

That being said, this problem does not affect those who are running version 9 and above. It only affects people with version 7. Andromeda will need to fix this permanently because all future releases will inherit the same installer.

2. Enable Toggling of Error Logging in Administration. (File/SQL) base.

3. Official Andromeda Theme by RobiNN (Magazine) Tweaks have been released. (Checking status)

4. Dropping of Atom-X framework from Core (Removal of Theme Engine) in favour of adopting to multi frameworks.

As of now, we all know PHPFusion 9 must run Bootstrap 3 version. We are tied to it. Andromeda will need to release the grip, and be flexible enough to adapt more popular frameworks. To name a few:
a. Semantic UI - https://semantic-ui.com/
b. Foundation - https://foundation.zurb.com/
c. Materialize - https://materializecss.com/
d. Bootstrap 4 - https://getbootstrap.com/
e. UI Kit - https://getuikit.com/

These all carry different HTML markups. And the Core Components of Theme_Includes (Modal, Accordion Toggle, Dropdown, and Navigation Tabs) & Comments, Ratings, Sitelinks API all tied up to Bootstrap 3.xx, we need to rework all these components so that they can be fluid enough to generate the same components under multiple framework.

How do we achieve this? Through PHPFusion Template Engine. By going through an adapter that is now released in Andromeda, we will do boilerplates that the Template engine can read and decipher and output the correct elements.

The direct advantage we gain when we do this:
1. Site Speed. Noticeable 10x faster than ordinary inline echo, because it is raw HTML output parsing.
2. From raw HTML file, theme designer can work on just pure HTML, with no PHP knowledge required.

An example of HTML file that PHPFusion Template engine uses now (at this site even):
<div id="{%navbar_id%}" class="navbar {%navbar_class%}" role="navigation" {%affix%}>
 {open_container.{
 <div class="{%class%}">
 }}
 {navbar_header.{
 <div class="navbar-header">
 <!--Menu Header Start-->
 <button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#{%navbar_id%}_menu" aria-expanded="=false">
 <span class="sr-only">{[global_017]}</span>
 <span class="icon-bar top-bar"></span>
 <span class="icon-bar middle-bar"></span>
 <span class="icon-bar bottom-bar"></span>
 </button>
 {%header_content%}
 <a class="navbar-brand {%banner_position%}" href="{%banner_link%}">{%banner%}</a>
 <!--Menu Header End-->
 </div>
 }}
 <div class="navbar-collapse collapse" id="{%navbar_id%}_menu">
 <ul class="nav navbar-nav primary">{%menu_item%}</ul>
 {%html_content%}
 {menu_alt.{
 <ul class="nav navbar-nav secondary navbar-right">
 {%menu_alt_item%}
 </ul>
 }}
 </div>
 {close_container.{
 </div>
 }}
</div>


The above code is what makes up the Sitelinks in Andromeda forward. By modding the code above, you can see direct changes. Since the above is a Stock, I am also pleased to tell you that I have built a bypass so that you can override the HTML to your own custom file.

The API is this:

In your theme.php, add this line:


\PHPFusion\Template::getInstance('DefaultMenu')->register_template(__DIR__.'/templates/bootstrap3/navbar/navbar
.html');


Now, the sitelinks will read into your own html file. So you can do A LOT of fancy like mega dropdown menus, etc on your theme level.

The method is here, the engine is also published. It's very simple, and lightning fast that re-optimize the entire PHPFusion core and transforms it into something else.

Since I can publish the codes here, means work have been done, and partially completed.

5. General Error Checking - Core Infusion.
We'll be using Andromeda extensively for next 60 days and fix all errors in Core Infusions.

6. Infusions Version NOT EQUALS Core Version.

We have seperated it out in Andromeda forward. Core Infusions will lead the development requirements and when API is insufficient, then you need to upgrade the PHPFusion Core. Otherwise, just keep your follows at the progress on PHPFusion CMS Official Supported Infusions ("known as CI from here onwards").

For this instance, let me put up an example.

You have CI Forum 1.0, which was released in PHPFusion 9.02. Now, CI Forum 1.2 has been released. You just update Forum itself only. No need to update the whole of PHPFusion.

Some day later, CI Forum 2.0 has been released, but it requires you to have PHPFusion CMS 9.03, then you need to upgrade PHPFusion CMS 9.03 to use that CI Forum 2.0. Through the installer, you need to run a special "installer" or "upgrade", and that is where your tables will need to be modified.

This is also where we are having problems now in Andromeda. (Fallback to Issue No.1), which we need to inspect to ensure that our new approach will need to work correctly.

Release Plan for PHPFusion Andromeda - The plan to finish up may be due end of 2018 or early 2019.

We will also need to compile the change logs.
0 replies

1 post

C
Chan
C
Chan 0
Lead Developer of PHP-Fusion
  • Super Admin, joined since
  • Contributed 3,841 posts on the community forums.
  • Started 232 threads in the forums
  • Started this discussions
  • Answered 6 questions
answered
Super Admin

If you have any further question, please do not hesitate to post here.
0 replies

Category Forum

General Discussion

Statistics

  • Views 0 views
  • Posts 1 post
  • Votes 0 votes
  • Topic users 1 member

1 participant

C
C
Chan 0
Lead Developer of PHP-Fusion
  • Super Admin, joined since
  • Contributed 3,841 posts on the community forums.
  • Started 232 threads in the forums
  • Started this discussions
  • Answered 6 questions

Notifications

Track thread

You are not receiving notifications from this thread.

Related Questions

Not yet