Page 2 of 2

Re: Mac's PHP MVC Framework with an AJAX Flat File CMS

Posted: Tue Apr 29, 2008 6:12 pm
by RobertGonzalez
Are planning on making any of your code PHP5? Right now it would fail E_STRICT. Unless the code you are showing on the site is not the code in the framework.

Re: Mac's PHP MVC Framework with an AJAX Flat File CMS

Posted: Wed Apr 30, 2008 11:57 am
by macrob7
Hi Everah,

Thank you for your feedback, currently I am using E_ALL I changed it to E_STRICT and everything works perfectly, what would you prefer I use E_ALL or E_STRICT?

I don't have any plans on re-building the framework in php5 just yet.

Re: Mac's PHP MVC Framework with an AJAX Flat File CMS

Posted: Wed Apr 30, 2008 12:11 pm
by RobertGonzalez
For me, if it isn't PHP 5, I won't touch it. That is a personal decision of mine.

http://gophp5.org/

Re: Mac's PHP MVC Framework with an AJAX Flat File CMS

Posted: Wed Apr 30, 2008 3:44 pm
by macrob7
I have made the framework in such a way that it would work both on PHP4 and PHP5. I am not using PHP4 version specific code. I am curious to see if I can also get it to work for PHP6.

Re: Mac's PHP MVC Framework with an AJAX Flat File CMS

Posted: Tue Oct 21, 2008 8:30 pm
by macrob7
Hey all,

First of all I would like to thank "Everah" for getting me interested in re-building my Framework in PHP5.

I Have released a new version of my framework at sourceforge:http://sourceforge.net/project/showfile ... _id=194062 below are the features and notes:

Notes:
This is a completely new re-write of the entire framework, using some of the more powerful PHP 5 libraries and concepts like PDO, SimpleXML and Reflections.

As a result the framework is not backwards compatible to PHP4.

Also I have gotten rid of the CMS section ( If there is a demand for the CMS, I will work on adding one, but it will be a completely new re-build from scratch )

Changes:
- Complete Re-Write, the framework works on PHP5+
- Added a Base Controller, Base Model, Base Config
- Removed the concept of plugins
- Found some really powerful PHP5 libraries to help in HTML to PDF conversion and Image Manipulations and added then to the libs folder.
- Introduced the concept of Localization, you can now set the Language of the current page and the framework will pull the content from that language.

For example:

$this->setLanguage('eng');
$this->loadContent('home'); // Will pull the content file views/content/eng/home.php

$this->setLanguage('fr');
$this->loadContent('home'); // Will pull the content file views/content/fr/home.php

Please let me know what you all think.

Thank you,
Mac

Re: Mac's PHP MVC Framework with an AJAX Flat File CMS

Posted: Wed Oct 22, 2008 1:36 am
by alex.barylski
Please let me know what you all think.
I think you need to show us how your's is at least different (if not better) when compared to Zend, CakePHP, CodeIgnitor, etc...

Otherwise it's just another framework. There is someone else writing a framework on Sitepoint and I would gander a guess and suggest one in five developers choose to develop their own.

Re: Mac's PHP MVC Framework with an AJAX Flat File CMS

Posted: Wed Oct 22, 2008 11:29 am
by Christopher
Any conversation about a framework quickly turns into reconciling many, many specifics with a few goals -- so asking for a critique of a framework is a little unfair. Add disagreements about the goals to the conversation and it becomes essentially non-productive. ;)

Is there specific feedback you are looking for? I just looked briefly and saw lots of things to comment on: base Model, View and Controller classes in the same directory with the app classes? Is 'Master' the Front Controller or not? Why are many things built-in, like Timing and Logging, when they could just be plugins? Etc...

Re: Mac's PHP MVC Framework with an AJAX Flat File CMS

Posted: Sun Feb 01, 2009 2:54 pm
by macrob7
Hi All,

I have released a new version of my PHP MVC Framework

Site: http://macs-framework.sourceforge.net/
Documentation: http://macs-framework.sourceforge.net/php5shell/
Download at: http://sourceforge.net/projects/macs-framework/

Below are the new features:
- Added support for Page Level Caching ( Can be turned on and off from the config.php file )
- Added new Libraries ( Google Maps, Maintain Form State and Scroll position after POST )
- Created sample website with Documentation ( included with the download )
- Created SiteMap/Nav Generator ( Based on the SiteMap XML file )

Thank you,
Mac

Mac's PHP5+ MVC Framework for RAD

Posted: Mon Mar 30, 2009 10:11 pm
by macrob7
Hi All,

I just released a new version of my framework

Site: http://macs-framework.sourceforge.net/
Documentation: http://macs-framework.sourceforge.net/php5shell/
Download at: http://sourceforge.net/projects/macs-framework/

New Features:
--------------
Geo Targeting Capability
- This is a wrapper around the MaxMind GeoLiteCity Binary Database.

Advance Localization settings
- The SiteMap now allows you to put a prefix of the language before any property like for example 'en-CA_title' and when you call {title} in your view file it will automatically call the appropriate language title.

Easily embed audio and video
- The framework now includes an audio and FLV video player built in and a helper class to allow embedding them into your site easier.

Added Framework template Variable
a template variable called "frameworkCode" is now available to every view. This is basically a placeholder where all Code that the framework generates can be placed. Normally this template variable would be placed right before the closing head tag eg:
....
{frameworkCode}
</head>

New functions:
$this->addJSFile('js/jquery.js'); //Generates script to embed a JS file, the code generated is automatically added to the "frameworkCode" template variable.

$this->addCSSFile('css/test.css') // Works similar to the function above but generates code to embed a CSS file.

$this->addToFrameworkCode('<script type="text/javascript">var code = "test";</script>'); // This function allows you to add Raw code, which is appended to the end of the "frameworkCode" template variable

Enhancements to the DB class ( Can only be run from a Model class )
- Added a new function $db->loadCSVIntoTable($this->config->siteDir.'temp/test.csv', 'Test'); //As the name suggests this loads a CSV file and inserts it into a table

NOTE: There is also a function called generateCSV which generates a CSV file from a Table

Mac's PHP5+ MVC Framework for RAD

Posted: Sun Apr 26, 2009 3:02 pm
by macrob7
Hi All,

I just released a new version of my framework v0.8.2

Site: http://macs-framework.sourceforge.net/
Documentation: http://macs-framework.sourceforge.net/php5shell/
Download at: http://sourceforge.net/projects/macs-framework/

New Features:
--------------
This release introduces the concept of 'Main Content' and 'Content Buckets' it also includes an advance web crawler / Search library with caching capabilities to increase the speed of the search.

Re: Mac's PHP MVC Framework with an AJAX Flat File CMS

Posted: Sun May 24, 2009 11:09 pm
by macrob7
Hi All,

I just released a new version of my framework v0.8.5

Site: http://macs-framework.sourceforge.net/
Documentation: http://macs-framework.sourceforge.net/php5shell/
Download at: http://sourceforge.net/projects/macs-framework/

New Features:
--------------
This is a major feature enhancement release, this release now officially includes an AJAX Flat File Edit In Place / CMS Tool.

Re: Mac's PHP MVC Framework with an AJAX Flat File CMS

Posted: Thu Nov 19, 2009 12:07 am
by macrob7
Hey All,

Its been a while since I posted an update here, My framework: Mac's PHP MVC Framework with an Integrated AJAX Edit In Place Flat File CMS is now at version 1.0.3! with many new features

New Features and changes:
  • Full fledged Edit In Place CMS: The CMS allows admins to Change the Default Site Theme, Change the Site Name, Change the default site language, Change Page level properties like Page Title, Meta Desc., Meta Keywords, Add/Edit and Delete Child pages.
  • XSS filter support, filters out $_GET and $_POST by default but can easily be configured through the Config.php file.
Site: http://macs-framework.sourceforge.net/
Download at: http://sourceforge.net/projects/macs-framework/

Thanks,
Mac