Enriching your Views

Loading...

Flash Player 9 (or above) is needed to view presentations.
We have detected that you do not have it on your computer. To install it, go here.

0 comments

Post a comment

    Post a comment
    Embed Video
    Edit your comment Cancel

    2 Favorites

    Enriching your Views - Presentation Transcript

    1. Enriching your Views Ben Scholzen Game Developer Gameforge Productions
    2. What we will cover
      • Zend_ProgressBar
        • Applications
        • Structure
        • Usage in the Web and on the Console
      • Zend_Tag_Cloud
        • Definition of Tags and Tagclouds
        • Advantages of Zend_Tag_Cloud
        • Basic usage
    3. Zend_ProgressBar
    4. What Zend_ProgressBar does
      • Takes absolute progress data
      • Calculates relative progress data
      • Display the progress
        • Sort of ...
    5. Sample output for end-users
      • Web
      • Console
    6. Where you can use progress bars
      • Sending newsletters
      • Upload
      • Download
      • Processing files
      • Any other long-running tasks
    7. Structure of Zend_ProgressBar
      • Zend_ProgressBar
        • Managing absolute values
        • Session management
      • Zend_ProgressBar adapters
        • Receiving relative calculated values
        • Output of the data
    8. Incremental example
      • Useful for fixed-growing values
    9. Differential example
      • Useful for variable-growing values
    10. The three standard adapters
      • Zend_ProgressBar_Adapter_Console
        • For output on the console
      • Zend_ProgressBar_Adapter_JsPush
        • For sending data in a single connection
      • Zend_ProgressBar_Adapter_JsPull
        • For sending data in multiple connections
    11. The console adapter
      • Style of the output can be completly customized
      • Elements can be arranged
        • Bar
        • Percent
        • ETA
        • Text
      • Output stream can be changed
      • Finish action can be choosen
        • Newline
        • Remove progressbar
        • Do nothing
    12. The JavaScript Push adapter
      • Only requires a single connection
        • A separate one when doing uploads
        • A combined one when sending e-mails
      • Used with either <iframe/> or <object/>
      • Drawbacks
        • Some antivirus software blocks the receiving until the connection was closed
    13. The JavaScript Pull adapter
      • Runs in multiple separated connections
      • New data are received via JSON
      • Update interval can be freely choosen
      • Drawbacks
        • Depending on the update interval, many connections can slow down the server
    14. On the browser side
      • Calculated data are received by the browser
        • Current
        • Max
        • Percent
        • TimeTaken
        • TimeRemaining
        • Text
      • Output is created with HTML / CSS / JavaScript
        • JavaScript Frameworks (jQuery, Dojo, etc.)
        • Manually
    15. Zend_Tag_Cloud
      • Zend_ProgressBar
      • Zend_Tag_Cloud
        • Was sind Tags
        • Vorteile von Zend_Tag_Cloud
        • Benutzung
      • Fragen & Antworten
    16. What are tags and tag clouds?
      • Tags
        • Catchwords / Notes
      • Tag clouds
        • Visualization of information
        • Collection of tags
        • Alphabetically sorted
        • Tags are visualized according to their weight
    17. How a tag cloud looks like
    18. Why should I use Zend_Tag_Cloud?
      • Interface / class for single tags
        • Setting and getting the title
        • Defining custom parameters
      • Class for collections of tags
        • Simple iteration through all tags
        • Automatic callculation of logarithmical weight
      • Class for output of tag clouds
        • Comes with a standard decorator for HTML
          • Can be completly customized
        • Allows output on any media
      • Decorators and tags can be added either via configuration or programtically
    19. A simple example
    20. And what you get
    21. What we got so far
      • Within a few minutes we created:
        • Multiple tags with weight and links
        • HTML output
    22. Style the nasty list
    23. The final result
    24. Summary — Questions?
      • Zend_ProgressBar
      • Zend_Tag_Cloud
        • Was sind Tags
        • Vorteile von Zend_Tag_Cloud
        • Benutzung
      • Fragen & Antworten
    25. Where to go from here
      • Zend Framework documentation http://framework.zend.com/manual/en/zend.progressbar.html http://framework.zend.com/manual/en/zend.tag.html
      • Follow me Blog: http://www.dasprids.de
      • Twitter: dasprid
      • Rate this talk http://joind.in/talk/view/634
    26. Thank you!

    + Ben ScholzenBen Scholzen, 1 month ago

    custom

    299 views, 2 favs, 0 embeds more stats

    When creating the view-part of MVC, you are always more

    More info about this document

    © All Rights Reserved

    Go to text version

    • Total Views 299
      • 299 on SlideShare
      • 0 from embeds
    • Comments 0
    • Favorites 2
    • Downloads 15
    Most viewed embeds

    more

    All embeds

    less

    Flagged as inappropriate Flag as inappropriate
    Flag as inappropriate

    Select your reason for flagging this presentation as inappropriate. If needed, use the feedback form to let us know more details.

    Cancel
    File a copyright complaint
    Having problems? Go to our helpdesk?

    Categories