Oct 06, 2008, 11:51 PM *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
modxcms.com web
  MODxCMS.com   Forums   Help Login Register  
News:Read what MODx Developers say: MODx Dev. Blogs
Pages: [1]   Go Down
  Print  
Author Topic: A different CMF  (Read 3555 times)
0 Members and 1 Guest are viewing this topic.
ChuckTrukk
Committed to MODx
*****
Posts: 598



WWW
« on: Jul 26, 2006, 07:17 PM »

I was checking around the net and was pointed to http://www.codeigniter.com. It seems to provide a MODx type framework without a manager. It looks to provide the tools to build the manager, etc.

1. I was wondering if anyone here has seen this, experienced this, or has any thoughts on it.

2. The Calendar class and some of the other classes seem like a good idea to me for MODx additions. (Seems similar Jason's MakeTable and the new Doc classes recently provided).

Just wanted to know what your thoughts on this were.

Chuck
Logged

Chuck the Trukk
ProWebscape.com :: Nashville-WebDesign.com
- - - - - - - -
What are TV's? Here's some info below.
http://modxcms.com/forums/index.php/topic,21081.msg159009.html#msg1590091
http://modxcms.com/forums/index.php/topic,14957.msg97008.html#msg97008
OpenGeek
MODx Co-Founder
Foundation
*
Posts: 4,818


looking a little more like my avatar again...


WWW
« Reply #1 on: Jul 26, 2006, 08:13 PM »

@Chuck

CodeIgniter is indeed the best of the PHP frameworks I've yet seen, at least of the ones that work in PHP 4, and it's definitely high on what many would consider a competitor's list for the next generation MODx.  It's possible that CodeIgniter add-on's could be made for MODx, but I have not yet attempted to do so.

That said, IMO, the major strength of MODx is the simple templating model that has been employed.  I would go so far as to say that, as a pure PHP application framework CodeIgniter is a bit more robust and mature than MODx is at this time.  However, I truly believe the new core for MODx 1.0 will change this dramatically by combining the proven MODx templating model with a new, ultra-light object-oriented framework that will make porting and optimizing MODx for other db platforms a breeze, and will provide a more powerful and consistent API that, combined with a variety of other new features, will mean even more improvements in extensibility (with no need for hacks at all).

Does this mean that CodeIgniter and MODx can not co-exist?  Absolutely not..  Ultimately, the rewritten MODx framework focuses on what it does best, managing content, be it static or dynamic, and better organizes the core into logical, independent modules.  This will make it much easier to integrate MODx with a multitude of other PHP applications, frameworks, libraries, etc. by delegation.  Think of using CodeIgniter, or Zend Framework, or or a set of custom PHP pages, and managing it all in MODx.  And by applying a few key object-oriented patterns to the MODx code, it will make accessing and using the MODx API (including the template parser) inside other systems not only practical, but even efficient.  For example, you could write a simple WordPress plugin that could render a menu generated by a MODx snippet.
Logged

Jason Coward
MODx Co-Founder
xPDO Founder
Principal @ Collabpad
work productively.
work intelligently.
work together.
If you think of yourselves as helpless and ineffectual, it is certain that you will create a despotic government to be your master. The wise despot, therefore, maintains among his subjects a popular sense that they are helpless and ineffectual.
  — Frank Herbert
PaulGregory
MODx's midnight runner
Moderator
*****
Posts: 1,095

MODx's midnight runner


WWW
« Reply #2 on: Jul 27, 2006, 05:58 AM »

I was checking around the net and was pointed to http://www.codeigniter.com. It seems to provide a MODx type framework without a manager. It looks to provide the tools to build the manager, etc.

It does look like a decent PHP Application framework, but without the manager and without what I'd term a "website management framework", it just doesn't do it for me.

I cannot imagine ever building a web-based application that wasn't part of a website (even if it was just help pages for the application), and so I'm always going to be better off with something that has CMS functionality rather than reinventing that wheel.

Sure, there are parts of the MODx manager that I'd write differently - but MODx doesn't particularly stop me. I'd much rather create a custom management interface from the position of Having A Standard Manager rather than Not Having Any Manager.

But yeah, as Jason says - using both is highly doable.

Their CI vs Drupal thread is interesting. From this I can see the difference clearly:

MODx is a PHP application framework packaged as a fully functioning CMS.
Code Igniter is a PHP application framework.

Which would be fine, but it seems that a few people are using CI to create their own CMS, which just seems daft to me.

I've not watched it, but I see they have a video demo called "Create a Blog in 20 Minutes". Perhaps we should have a video called "Create a Blog in 2 Minutes".
« Last Edit: Jul 27, 2006, 06:06 AM by PaulGregory » Logged

No, I don't know what OpenGeek's saying half the time either.
MODx Documentation: The Wiki | My Wiki contributions | Main MODx Documentation
Forum: Where to post threads about add-ons | Forum Rules
Like MODx? donate (and/or share your resources)
Like me? See my Amazon wishlist
MODx "Most Promising CMS" - so appropriate!
smartalec
Jr. Member
*
Posts: 11



« Reply #3 on: Jul 27, 2006, 10:22 AM »

CakePHP has gotten a lot of good press recently, too, as a PHP framework. I personally would imagine that integrating CI or Cake with MODx would be a nightmare of API spaghetti. But what the hell do I know. Seems like you could build something like MODx with CI or Cake, but once you've got MODx, using CI or Cake would be a moot point. But what the hell do I know.
Logged
OpenGeek
MODx Co-Founder
Foundation
*
Posts: 4,818


looking a little more like my avatar again...


WWW
« Reply #4 on: Jul 27, 2006, 12:21 PM »

CakePHP has gotten a lot of good press recently, too, as a PHP framework. I personally would imagine that integrating CI or Cake with MODx would be a nightmare of API spaghetti. But what the hell do I know. Seems like you could build something like MODx with CI or Cake, but once you've got MODx, using CI or Cake would be a moot point. But what the hell do I know.

I don't believe it's moot at all.  In fact I'd say our ability to adapt to this is essential to the project's long-term viability.

You familiar with http://www.martinfowler.com/ ?  Or ever studied any of these patterns -- http://eaipatterns.com/ -- ?  EAI was my life for several years, so I have studied these and the rewrite that is in progress is based on solid, proven design patterns that make the implementation of more advanced patterns for application integration, well, a piece of cake (not to steal anyone's marketing hype).  MODx, as a content manager, stands on perfect ground to become a central point of web application integration by following these concepts, and as such, can further extend its reach into medium and larger-sized businesses, where application integration efforts are much more costly and complicated.

Here are some more high-level links to the concepts I am talking about when I indicate that MODx can, as a content management framework, co-exist with and delegate to external frameworks, libraries, or existing applications:

http://en.wikipedia.org/wiki/Enterprise_application_integration (general discussion)
http://en.wikipedia.org/wiki/Web_services (the focus of most current EAI efforts and a big part of the new architecture)
http://en.wikipedia.org/wiki/Enterprise_Content_Integration (emerging EAI focus where MODx can truly excel)
Logged

Jason Coward
MODx Co-Founder
xPDO Founder
Principal @ Collabpad
work productively.
work intelligently.
work together.
If you think of yourselves as helpless and ineffectual, it is certain that you will create a despotic government to be your master. The wise despot, therefore, maintains among his subjects a popular sense that they are helpless and ineffectual.
  — Frank Herbert
smartalec
Jr. Member
*
Posts: 11



« Reply #5 on: Jul 27, 2006, 12:33 PM »

Cool. I'm so happy there are smarter people than me out there!
Logged
williscool
Jr. Member
*
Posts: 37



WWW
« Reply #6 on: Feb 15, 2007, 03:27 PM »

so long story short cake php and code igniter are modx, though maybe a little more mature and robust, minus the pre-fab/ standard manager ?

edit:

so long story short cake php and code igniter are modx, though maybe ? a little more mature and robust, minus the pre-fab/ standard manager ?
« Last Edit: Feb 15, 2007, 04:33 PM by williscool » Logged

call it ModSeX o yeah Smiley

check us out and we need help Upscale Webservices http://www.upscalews.com/
rthrash
Foundation
*
Posts: 9,269



WWW
« Reply #7 on: Feb 15, 2007, 03:50 PM »

Why do you say that, particularly about the robust part?
Logged

MODx is a framework that allows web professionals to turn over sites to end-users for daily maintenance without worrying. Community participation and questions are encouraged, especially when you help us help you, read the wiki, and review snippet parameters – even if you have to look at the source. Searching the forums helps, too.
Ryan Thrash
MODx Co-Founder
Principal @ Collabpad
work productively.
work intelligently.
work together.
williscool
Jr. Member
*
Posts: 37



WWW
« Reply #8 on: Feb 15, 2007, 04:29 PM »

Why do you say that, particularly about the robust part?

because opengeek did

@Chuck...

That said, IMO, the major strength of MODx is the simple templating model that has been employed.  I would go so far as to say that, as a pure PHP application framework CodeIgniter is a bit more robust and mature than MODx is at this time.  However, I truly believe the new core for MODx 1.0 will change this dramatically ...



I honestly don't know who is where. I have never explored either deep enough to know (cake or codeigniter). I just found modx and it was everything I could have ever asked. Its like a really good girlfriend. When you have a good one you just don't feel the need to look around at other girls. Cheesy

I was just posing a question for claification.

I'm about to go to a meeting tonight with the Georgia Entreprenuer's Society because they are a good resource to help me get my business off of the ground

http://www.gesnow.com/

and a company by the name of shift 90 http://www.shift90.com/ is in the group makes their website and they are looking to redesign and they are looking at codeIgniter for the platform

I was thinking of evangelizing modx to them whether or not they decide to use it but I just wanted to make sure I knew what I was talking about.

so i did a search and found this topic and decided to ask the question for clarification.

in my opinion modx has more going for it than codeigniter it just seems like codeigniter, in terms of application framework, is a bit further along than modx.

I could be wrong though so I'm asking.

i've edited my question to be more clear
« Last Edit: Feb 15, 2007, 04:32 PM by williscool » Logged

call it ModSeX o yeah Smiley

check us out and we need help Upscale Webservices http://www.upscalews.com/
sirlancelot
Coding Team
*
Posts: 572


Eats PHP for breakfast.


WWW
« Reply #9 on: Feb 15, 2007, 04:46 PM »

I've not watched it, but I see they have a video demo called "Create a Blog in 20 Minutes". Perhaps we should have a video called "Create a Blog in 2 Minutes".
lol!

It's all about how fast someone can read this article Wink
Logged

seventhapex
Full Member
***
Posts: 177


Just another goober


« Reply #10 on: Feb 17, 2007, 03:42 AM »

if you use the blog tutorial along side the newsletter and ditto snippets you've got a pretty nice archiving newsletter system in about 20 minutes. Pretty good turnout rate and then modx makes it easier to template/style
Logged
gags
Jr. Member
*
Posts: 6


« Reply #11 on: Mar 17, 2007, 04:14 PM »

Hello MODxers,

I have not used MODx yet, I am here doing research on your project and have registered to try to add to this conversation about Code Igniter.

CodeIgniter is indeed the best of the PHP frameworks I've yet seen, at least of the ones that work in PHP 4, and it's definitely high on what many would consider a competitor's list for the next generation MODx.  It's possible that CodeIgniter add-on's could be made for MODx, but I have not yet attempted to do so.

CI absolutely rocks.  For the size and types of projects that I imagine PHP being used for most often CI offers an easy to learn and use methodology that if you are paying attention, helps you improve your code.  It has not helped us develop faster however the projects we produce have more features, for example - sophisticated error logging,  than they did before.  We are also beginning to realise the niceties of good code reuse and other goodness that I would attribute to the ethos that CI brought with it.

My first question when hearing about MODx was, will it co-operate with CI?

....but it seems that a few people are using CI to create their own CMS, which just seems daft to me.

We are currently developing a CMS site, with a small amount of web application pages, using Joomla!  The web application pages were so difficult to quickly implement.  Things that would take 1 day in CI took longer than a week!!  This leads people to asking would it not be easier to build a basic CMS in CI than make applications functionality work in Joomla!

In my mind this situation is crazy, never mind the utter lawlessness of the resultant code spewed out just to try and get the project to the client in time.

Think of using CodeIgniter, or Zend Framework, or or a set of custom PHP pages, and managing it all in MODx.  And by applying a few key object-oriented patterns to the MODx code, it will make accessing and using the MODx API (including the template parser) inside other systems not only practical, but even efficient.  For example, you could write a simple WordPress plugin that could render a menu generated by a MODx snippet.

For this reason I am quite excited about your project.  It seems to be placing itself exactly where something is needed.  I am a Director of a web development firm, and from a business perspective do not want to discard all of the CI libraries we have built and have the team take on yet another learning curve.  The best case scenario for us would be to use something like MODx than develop our own CMS. 

Watching, and reading, and hacking away with great interest.

Gags







Logged
Xsss4hell
Full Member
***
Posts: 140


Believe or not I'm member #6666 =(


« Reply #12 on: Mar 18, 2007, 04:02 PM »

OpenGeek already pointed out that Code Igniter is very robust and yes more stable at the moment than modx.
But that's not an argument, since Code Igniter needed years to become that stable and MODx is a new born child in comparison.

I already posted a link to Code Igniter in one of my post last month, because I found it quite useful for the "web-beeing".
Fact is that Code Igniter is a tool, just as MODx.
And it one tool can save work for another tool right?
That's the point!
You can use Code Igniter for MODx purposes, so they don't exclude each other.

For the fast readers, Code Igniter is a FRAMEWORK just as MODx is and frameworks can coexist.
Every Framework has it's bad or good side. So use one CMF for this and the other for that part of a job.


Don't ask what CMF is better. If you read everything you already know =)
Isn't it obvious  Roll Eyes
Logged
Pages: [1]   Go Up
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP

Copyright © 2005-2008 MODxCMS, All rights reserved. Contact Us
Styles by ziworks.com

Powered by SMF 1.1.4 | SMF © 2005, Simple Machines LLC

Valid XHTML 1.0! Valid CSS!