Pages

Thursday, October 25, 2012

Php Tutorials Working with Conditions.

    Working with Php is not as difficult as you might think. One way to think of it would be like making making a list of things to do. And with this list you may want to add more list. Now for a start you have two list. But one list you only want to show to you. And the second list you want everyone else to see. This would be called a Condition. A Conditional statement would be needed to only show your list to you, and only show everyone else the second list. This is what we call a Conditional Statement. Let us look at this example.

IF list one = you;
    {then show list 1} ELSE {show list 2} now this being our Condition.

Now lets see how it works with Php. We now have Objects that we need to assign a Variable to so Php knows what they are. Our Object Variables would be "$list_one" "$list_two" "$you" and "$everyone" . Php makes it simple because you can name your Variables what they represent and Php will store these values temporarily or permanently within the program where you may need them.

$you = 'Bob';
$everyone = 'everyone else !';
$list_one = 'This is your list !';
$list_two = 'This is everyone else's list !';  
IF $you == 'Bob';
    {ECHO "$list_one";} ELSE {ECHO "$list_two";}

Now for each Conditional Check we must have a Operator--
this would be our "= (equals to)"  "==(does equal)" and "!= (does not equal)".
In this case You = Bob so it will show only Your List_one.
You can reverse this also to where your Condition checks if you Does Not Equal or != Then show everyone elses list_two first. 



Thursday, October 11, 2012

Php Frameworks

The "EccenceOne" Framework For Php !

    EssenceOne by Robin Deatherage !
The core behind this Framework is it's ability to route all Models, Views and Controllers up front and Alphanumerically in an organized listed Class wrapped Module . For each new module you add simply add another Class router and boogy. In a nutshell it is the easiest and fastest Php Framework ever.
    The idea started when trying to access Pages using 5 miles of script in a Class Function that would pass the page name by using url request scripts. The fascinating thing about Essence is that you wont need too.
  In this example we will touch base on this.

site name folder
    m1
        static_class_router.php
    m2
        protected_class_router.php  
    m3
        private_class_router.php
            
    v1                       //static module views
        head.php
        horizontal_menu.php
        left_menu.php
        (pagename).php //Content Section
        right_menu.php
        farright_menu.php
        footer.php
    v2                        //protected members module views
        head.php
        horizontal_menu.php
        left_menu.php
        (pagename).php //Content Section
        right_menu.php
        farright_menu.php
        footer.php
    v3                         //private admin module views
        head.php
        horizontal_menu.php
        left_menu.php
        (pagename).php //Content Section
        right_menu.php
        farright_menu.php
        footer.php     c1                                 //static module controllers
        class_blog.php
        class_login.php
        class_join.php
        class_news.php
        class_menus.php
        class_archives.php
    c2                                 //protected module controllers
        class_user_check.php
        class_profile.php
        class_wallpost.php
        class_users_list.php
        class_user.php
        class_friend.php
        class_friends_list.php
        class_album.php
        class_album_list.php
        class_img.php
        class_settings.php
        class_account.php
        class_apps_list.php
        class_app.php
    c3                                  //private module controllers
        claas_admin.php
        class_users.php
        class_editor.php
        class_member_roles.php
        class_img_editor.php
        class_page_editor.php

 With the folders in Alphanumeric order we can now organize everything within the build process according to breakdown. Sense we know our models, views and controllers are all  numbered, we can easily determine in which order they fall within the build process. Then the views are broken down into smaller segments to allow class sections to be implemented more dynamically in any order we choose.
A sample protected members module router class and how it list controllers and views in alphanumeric order:
  • c2/class_user_check.php    //redirect user before header//
  • v2/head.php
  • v2/horizonta_menu.php
  • c2/class_profile.php
  • v2/left_menu.php
  • c2/class_wallpost.php
  • v2/profile.php                //content page name//
  • c2/class_friends_list.php
  • v2/right_menu.php
  • c2/class_apps_list.php
  • v2/farright_menu.php
  • v2/footer.php
Now we pass all user variables, page names and links through each router module class as needed and you are done. It's that simple. EssenceOne is no more a Php framework than it is a very useful tool for dynamic Php web or social development within any build development. And does all this without having to use tons of unneeded and bulky scripts and classes as other Php Frameworks.

Wednesday, September 26, 2012

Wall Posting System

Wall Posting System compete with Modal Image Pop-Out Viewer and Image Comments as well. Social Or Business Custom Social Web Site Platform.

  • Bootstrap Powered Fully Fluid Front-End, Apple i-pad, i-pod, touch- Mobile.
  • Member Roles as Employee, Manager, Supervisor, Client, Vendor. 
  • Report Entry as Daily, Weekly, Monthly,Quarterly, and Yearly.
  • Graphs, Presentations.
  • Employee Hiring, Testing.
  • Inventory Control, Retail, Cost, Expense Reports.
  • Working Private Messenger.
  • Groups, Forums, Topics, Albums, News, Advertising.
  • Page-Create, Group-Create, Album-Create.
  • Upload-Images, User-Profiles, About-Me, Settings, Account, Walls.
  • Admin Back-End, Page Create, Links Create, News-Create, Advertising, Member Control.
  • Developed with Php-5.5, Mysql 5.5.1 and Bootstrap HTML-5, CSS-3.

   

Web Itinerary

Custom Web-Sites Designed for ease of control and changes to your specifications.

CEO WEB PORTAL

Social Business Web Site Developer





Social Web Business CMS.