1. 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
  2. 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
  3. 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
  4. 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
  5. Question:How does security can be provided in CodeIgniter? 

    Answer
    CodeIginter provides a number of security options to handle to our applications:
    a. URL security
    b, Global security
    c. Filtering data
    d. Password salting
    e. Database security
    f. Cross-site scripting

    1. Report
  6. Question:Write the functions of Email class. 

    Answer
    There is a number of email class functions available in CodeIginter:
    $this->email->from()
    $this->email->reply_to()
    $this->email->to() 
    $this->email->cc() 
    $this->email->bcc()
    $this->email->subject()
    $this->email->message() 
    $this->email->set_alt_message() 
    $this->email->clear() 
    $this->email->send() 
    $this->email->attach() 
    $this->email->print_debugger()

    1. Report
  7. Question:What is a library? 

    Answer
    A CodeIgniter library is simply a class file that abstracts functionality into easy-to-use functions tha take much of the strain off the developer. The term "class" and "library" are used interchangeably in CodeIgniter.

    1. Report
  8. Question:What is stored in a session when you use session class? 

    Answer
    A codeIgniter session is simply an array containing the following data:

    1. The user's unique Session ID
    2. The use's IP address
    3. The user's User Agent string
    4. The "Last activity" timestamp

    1. Report
  9. Question:Define the term "Session ID". 

    Answer
    Session ID: This is a randomly-generated number, which is hashed with MD5 for portability, and is regenerated every five minutes.

    1. Report
  10. Question:What is the purpose of Flash data? 

    Answer
    CodeIgniter supports flashdata - data that is only available for one server request, and then removed. Flash data is very useful, and is usually used for informational messages such as "You hava been logged out" or "Removed user account". Flash variable are prefixed with flash_.

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