CodeIgniter and Business Applications
What <ul><li>A little bit about what might be useful for anyone creating a business application based on CI. </li></ul><ul...
Active Record extended <ul><li>Examples: </li></ul><ul><ul><li>Overwrite _protect_identifiers: Add a list of well known SQ...
XML/XSLT based report engine <ul><ul><li>PDF </li></ul></ul><ul><ul><ul><li>Create a HTML file and use tcpdf to create a P...
Libraries you might need <ul><li>Ajax Library </li></ul><ul><ul><li>Assign values (Assign result from model to form elemen...
Reporting <ul><li>Use XSLT </li></ul><ul><ul><li>To speed up big reports: xsltproc </li></ul></ul><ul><ul><li>Extended Rep...
AJAX <ul><li>Map PHP methods -> JavaSript </li></ul><ul><li>Ideas </li></ul><ul><ul><li>Have a look at how XAJAX works </l...
Compile files <ul><li>Compile the CSS and JavaScript </li></ul><ul><ul><li>JS: Google Closure Compiler (Compile into one f...
Upcoming SlideShare
Loading in …5
×

CodeIgniter and Business Applications

1,480 views

Published on

Published in: Technology
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total views
1,480
On SlideShare
0
From Embeds
0
Number of Embeds
2
Actions
Shares
0
Downloads
0
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

CodeIgniter and Business Applications

  1. 1. CodeIgniter and Business Applications
  2. 2. What <ul><li>A little bit about what might be useful for anyone creating a business application based on CI. </li></ul><ul><li>You should prepare all libraries before! you start developing the application. </li></ul>
  3. 3. Active Record extended <ul><li>Examples: </li></ul><ul><ul><li>Overwrite _protect_identifiers: Add a list of well known SQL commands, which are not to escape. (CURRENT_TIMESTAMP, MATCH...) </li></ul></ul><ul><ul><li>One methode “Insert or Update” (Based on an array of fields to match) </li></ul></ul><ul><ul><li>Different Subquery methods </li></ul></ul><ul><ul><li>A method to create WHERE (...) OR (...) </li></ul></ul><ul><ul><ul><li>Example: Create a helper class which allows you to create any kind of WHERE part as a SQL string </li></ul></ul></ul>
  4. 4. XML/XSLT based report engine <ul><ul><li>PDF </li></ul></ul><ul><ul><ul><li>Create a HTML file and use tcpdf to create a PDF out of it. </li></ul></ul></ul><ul><ul><li>Styled reports: </li></ul></ul><ul><ul><ul><li>Smarty/Dwoo or whatever you like </li></ul></ul></ul><ul><ul><li>Some nice file formats for reporting: </li></ul></ul><ul><ul><ul><li>ODS, ExcelML </li></ul></ul></ul><ul><ul><li>SVG </li></ul></ul><ul><ul><ul><li>Raphael and g.raphael or batik </li></ul></ul></ul>
  5. 5. Libraries you might need <ul><li>Ajax Library </li></ul><ul><ul><li>Assign values (Assign result from model to form elements - XML based config) </li></ul></ul><ul><li>Registry </li></ul><ul><ul><li>A central object which takes care of all settings models (Caching, creation) </li></ul></ul><ul><li>Real Time Communication </li></ul><ul><li>Reporting system </li></ul>
  6. 6. Reporting <ul><li>Use XSLT </li></ul><ul><ul><li>To speed up big reports: xsltproc </li></ul></ul><ul><ul><li>Extended Reports </li></ul></ul><ul><ul><ul><li>Grouping can be done via temporary tables </li></ul></ul></ul><ul><ul><ul><li>Keep settings as XML, do not hardcode reports </li></ul></ul></ul><ul><ul><li>Graphics: Use SVG </li></ul></ul><ul><ul><ul><li>Raphael or batik to support IE8 </li></ul></ul></ul>
  7. 7. AJAX <ul><li>Map PHP methods -> JavaSript </li></ul><ul><li>Ideas </li></ul><ul><ul><li>Have a look at how XAJAX works </li></ul></ul><ul><ul><li>Object to map PHP objects -> HTML form </li></ul></ul>
  8. 8. Compile files <ul><li>Compile the CSS and JavaScript </li></ul><ul><ul><li>JS: Google Closure Compiler (Compile into one file!) </li></ul></ul><ul><ul><li>CSS: YUIcompressor </li></ul></ul>

×