CrazyEngineers
  • How to intigrate tiles framework in php ?

    The_Small_k

    Member

    Updated: Oct 26, 2024
    Views: 1.3K
    Hello friend's
    1 year ago i was working with tiles with struts framework in java.
    Now i have a php project and i want to use that tiles like framework in php also.
    Actually tiles is a presentation framework in which we have to write different html pages for different sections(like header.jsp for header,footer.jsp for footer,body.jsp for body, nav.jsp for nav section and integrate them into a single page) if i click on a link insted of loading whole page only body.jsp will load.
    .
    Can anyone tell me how can be do this in php ?
    0
    Replies
Howdy guest!
Dear guest, you must be logged-in to participate on CrazyEngineers. We would love to have you as a member of our community. Consider creating an account or login.
Replies
  • Prasad Ajinkya

    MemberOct 17, 2012

    umm, use php function include() 😁

    you can also take a look at some of the cooler MVC frameworks in PHP out there - symfony and cake to name a couple.
    Are you sure? This action cannot be undone.
    Cancel
  • The_Small_k

    MemberOct 29, 2012

    sorry for late reply.
    .
    But using include() i can able to make the template like that but it fails to load that particular section page. When i submit a button it will reply back with whole new result page while in the case of tiles you can manually load the sections.
    Suppose if on any button click i want to load new body section and footer section i can do it with tiles.
    .
    Till now i have only core php.
    I have no idea of symfony and cake.
    I want read the framework which will provide tiles like presentation framework.
    That is why i have the posted the question here.
    Are you sure? This action cannot be undone.
    Cancel
Home Channels Search Login Register