1. Question:What are dashboard functions? 

    Answer

    Dashboard function gives us a small problem to overcome. We want to be able to call this function from other functions in the class, as we have in the index function.


    1. Report
  2. Question:What are parse functions? 

    Answer
    Usually parse functions convert the data from one type into another type. Example: string to number, number to string.

    1. Report
  3. Question:What are debug functions? 

    Answer
    We should add in a debug function for ease of use. When  the  debug  function  is called , we want  to  echo  out  the  URL  of  the  last  API  call , and  the  HTTP  Status  Code.

    1. Report
  4. Question:Define hooks in term of codeigniter? 

    Answer

    A CodeIgniter hooks feature provides a means to tap into and modify the inner workings of the Codeigniter framework without hacking the core files. The hooks features can be globally enabled/disabled by—

                                    $config [‘enable hooks’] =TRUE;


    1. Report
  5. Question:What is thumbnail? 

    Answer

    The thumbnail function will simply resize the original image to smaller so that the browsers are capable to load it fast as an icon.

    $this->image_lib->resize();


    1. Report
  6. Question:Why we use _remap() ? 

    Answer

    If controller contains a function named _remap(), it will always get called regardless of what URI contains. It overrides the normal behavior in which the URI determines which function is called, allowing us to define our own function routing rules.


    1. Report
  7. Question:Write down  CodeIgniter  features? 

    Answer
    CodeIgniter's main features are:

    Model-View-Controller Based System
    Extremely Light Weight
    Full Featured database classes with support for several platforms.
    Active Record Database Support
    Form and Data Validation
    Security and XSS Filtering
    Session Management
    Email Sending Class. Supports Attachments, HTML/Text email, multiple protocols (sendmail, SMTP, and Mail) and more.
    Image Manipulation Library (cropping, resizing, rotating, etc.). Supports GD, ImageMagick, and NetPBM
    File Uploading Class
    FTP Class
    Localization
    Pagination
    Data Encryption
    Benchmarking
    Full Page Caching
    Error Logging
    Application Profiling
    Calendaring Class
    User Agent Class
    Zip Encoding Class
    Template Engine Class
    Trackback Class
    XML-RPC Library
    Unit Testing Class
    Search-engine Friendly URLs
    Flexible URI Routing
    Support for Hooks and Class Extensions
    Large library of "helper" functions

    1. Report
  8. Question:What do you mean by web service? How many ways we build webservice? 

    Answer
     Webservice:A software system designed to support interoperable machine-to-machine interaction over a network. 

    There are a number of ways in which we can bulid a web service:
    1. a.      Remote Procedure call with XML-RPC
    2. b.     Representational State Transfer with RESTful method

    1. Report
  9. Question:What are bottlenecks and what are the types of bottlenecks? 

    Answer
    A bottleneck is part of application that is slower than the other parts, and that is slowing down the application as a whole. Here are a number of different types of bottlenecks:
    1.  Database
    2. API
    3. Bandwidth
    4. Static
    5. Code

    1. Report
  10. Question:What do you mean by benchmarks? 

    Answer
    Benchmarks let us log the time it takes for a part, or multiple parts, of our application to run. Once we have benchmarked our application, we can generate a report to see the timings of our application wherever we set a benchmark. We can then seek out any bottlenecks in our application, and rectify them.

    1. Report
Copyright © 2024. Powered by Intellect Software Ltd