Post Project
  • Search
    • Buyers can
    • Search offers to buy now
    • Search freelancers to request a proposal
    • Freelancers can
    • Search projects to quote on
  • How it works
  • Log in
  • Sign up
  • Freelancer?
Browse by Category
    Technology & ProgrammingWriting & TranslationDesignDigital MarketingVideo, Photo & ImageBusinessMusic & AudioMarketing, Branding & SalesSocial Media

    Build a notification system in PHP Codeigniter

    - or -

    Post a project like this
    1780
    $50
    • Posted: 5 years ago
    • Proposals: 4
    • Remote
    • #1967025
    • Awarded
    Muhammad S.Priya G.Parth D.Anuj O. have already sent a proposal.
    • 2
    • 2

    Description

    Experience Level: Intermediate
    I have a web application being developed in PHP using Codeigniter. Basically, it is a requisitions management platform where each user can create requisition which will go through different levels of approvals before it reaches its final stage.

    I would like to develop a notification system that work as follows:
    - Can be accessed from each controller in my system
    - to have a a notification function as follows:

    function notify (user_id, rel_to, rel_id, notif_type, msg) { ... }

    - user_id: user to notify
    - rel_to: string, name of the related table in the databae (for example, related to requisitions table)
    - rel_id: id of the record in the related table
    - notif_type: notification type (error, success, warning, info, announcement) to be flexible to add more notification types in the future

    - to have a notification_viewed function to mark notification as viewed.

    - A database table to have at least the following fields:
    id (auto incremental) primary key,
    user_id (foreign key),
    rel_to,
    rel_id,
    notif_type,
    msg,
    date_created (auto insert default timestamp),
    viewed (false by default)

    Notification to be displayed in a notification dropdown menu* as well as in notifications page (see attached images).

    * For notification dropdown menu, it'll be better to have a view that generates the content of the dropdown menu in html then we can get the notifications and append them in the html container using Ajax calls.

    Please feel free to suggest changes to my structure above in case you feel something is missing or wrong.

    Finally, I'll provide you with the theme I'm using in this application.
    •  
    •  
    Ahmed D.
    Ahmed D.
    80% (4)
    Projects Completed
    4
    Freelancers worked with
    4
    Projects awarded
    24%
    Last project
    17 Oct 2018
    United Arab Emirates

    New Proposal

    Login to your account and send a proposal now to get this project.

    Log in

    Clarification Board Ask a Question

      There are no clarification messages.
    1780
    $50

    - or -

    Post a project like this
    Ahmed D.
    Ahmed D.
    80% (4)
    Projects Completed
    4
    Freelancers worked with
    4
    Projects awarded
    24%
    Last project
    17 Oct 2018
    United Arab Emirates

    Related project Searches


    ajax code igniter html/html5 database PHP programming language web application development

    Product

    • About
    • Team
    • Careers

    Support

    • How it works
    • Trust & Safety
    • Help Centre

    Discover

    • GuidesStoriesNews

    Resources

    • Customer Stories
    • Business Cost Calculator
    • Startup Cities

    Browse

    • Freelance Services
    • Freelance Services By Country
    • Freelance Skills
    • Terms
    • Privacy
    • Sitemap
    • Company Details
    • © 2023 People Per Hour Ltd
    We collect cookies to enable the proper functioning and security of our website, and to enhance your experience. By clicking on 'Accept All Cookies', you consent to the use of these cookies. You can change your 'Cookies Settings' at any time. For more information, please read ourCookie Policy
    Cookie Settings
    Accept All Cookies