Waffles

Status
Not open for further replies.
Well, your copy. There are several different candidates for Waffles. You made two different ones. I made one.

What are you talking about, dude? Lol. There's only one copy. The only thing that may be different is the style of it, since I'm the crappiest web designer ever, and you are good. But the coding is all one copy, which was mostly done by me, since you are a very lazy person! You did some core things, and some base structuring but basically, only working a lot on it like one day, haha. I worked on that little sucker every day for a while, until we basically just stopped and .. did nothing. :)
 
Waffles is dead. Still better than any other CMS in development or available to the public right now. Too bad it'll never be released. /:


Here's a little teaser thingy.. o.o

PHP:
private function sendEmail($name, $email, $vercode)
    {
        global $mailer, $prop;
        
        $mailer->addRecipient($name, $email, "to");
        $mailer->setSubject("[".$prop->show("site_name")."] Email Verification");
        
        $msg = "
            Welcome $name,<br />
            <br />
            Please go to this link to complete your registration: <a href='".$prop->show("site_url")."/".$prop->show("****cms_dir")."?act=register&do=verify&code=".$vercode."'>".$prop->show("site_url")."/".$prop->show("****cms_dir")."?act=register&do=verify&code=".$vercode."</a><br />
            <br />
            Thank you,<br />
            ".$prop->show("site_name")."
        ";
        
        $mailer->setBody($msg);
        
        if($mailer->connect())
        {
            $connect = $mailer->send();
            $mailer->disconnect();
        }
    }
 
Last edited:
Waffles is dead. Still better than any other CMS in development or available to the public right now. Too bad it'll never be released. /:


Here's a little teaser thingy.. o.o

PHP:
private function sendEmail($name, $email, $vercode)
    {
        global $mailer, $prop;
        
        $mailer->addRecipient($name, $email, "to");
        $mailer->setSubject("[".$prop->show("site_name")."] Email Verification");
        
        $msg = "
            Welcome $name,<br />
            <br />
            Please go to this link to complete your registration: <a href='".$prop->show("site_url")."/".$prop->show("****cms_dir")."?act=register&do=verify&code=".$vercode."'>".$prop->show("site_url")."/".$prop->show("****cms_dir")."?act=register&do=verify&code=".$vercode."</a><br />
            <br />
            Thank you,<br />
            ".$prop->show("site_name")."
        ";
        
        $mailer->setBody($msg);
        
        if($mailer->connect())
        {
            $connect = $mailer->send();
            $mailer->disconnect();
        }
    }

Finally OOPHP :D
 
Object Oriented PHP. If you've ever looked at C# or Java, they're object oriented, based on classes and functions and whatnot. ( I'm not an expert don't flame :P )
Notice all the "$mailer->" things, $mailer is the name he gave to the class that holds all the functions like addRecipient or setSubject.
Basically, it makes it a lot more organized then the old CypeCMS.
 
Object Oriented Programming (OOP) :) It's where you created classes and functions for those specific classes. Like in that code I pasted, there were classes and functions for those classes. Like itcjx3 said, the Mailer classes ($mailer) would use many functions inside that class, such as addRecipient(). addRecipient is a function inside the Mailer class.. :) Think of it as a house. House is the class, and all of the functions are things inside the house. So we want a couch from the house, we would do $house->getCouch(). Kinda like this

PHP:
<?php

/**
 *+---------------------------------+
 *|          Mailer Class           |
 *+---------------------------------+
**/

class Mailer
{
    function addRecipient($recName, $recMail, $recType)
    {
        if(!isset($recType))
        {
            $recType = "to";
        }
        else
        {
            $recType = strtolower($recType);
        }
        
        $recType = strtolower($recType);
        
        if(!is_array(isset($this->lstRecipients[$recType])))
        {
            $this->lstRecipients[$recType] = array();
        }
        
        $this->lstRecipients[$recType][$recMail] = $recName;
    }
};
?>

:) Teehee.
 
I feel the urge to work on this some more o.o.. oh well. I'll let the urge die. :D
 
I could release this in the future. It's still better than all the other CMS's out on ragezone.
 
Lol im sure alot of CMS will own this in the Future just release it, and yet you guys talk about this awesome CMS Waffles but yet never seen proof, that this is real, release it now and get rep of your great work...
 
Last edited:
Status
Not open for further replies.
Back