Wednesday, December 24, 2014

दक्षिण एशियाली महिला भलिबलमा नेपाल उपविजेता

दक्षिण एशियाली महिला भलिबलमा नेपाल उपविजेता

२०७१ पुष ८ गते २०:०६ मा प्रकाशित
८ पुस, काठमाडौं । पहिलो दक्षिण एशियाली आमन्त्रण महिला भलिवल च्याम्पियनसिपमा नेपाल उपविजेता बनेको छ ।
प्रतियोगिताको अन्तिम खेलमा श्रीलंकाबिरुद्ध रोमाञ्चक जित दर्ता गर्दै घरेलु टोली नेपाल प्रतियोगिताको दोस्रो स्थानमा रहन सफल भयो । दक्षिण एसियाली स्तरको प्रतियोगितामा नेपाल दोस्रो भएको यो पहिलो पटक हो ।
उपाधि भने भारतले जितेको छ ।
मंगलबार त्रिपुरेश्वरस्थित राष्ट्रिय खेलकुद परिषदको कवर्डहलमा भएको अन्तिम खेलमा नेपाल श्रीलंका बिरुद्धको प्रतिस्पर्धात्मक खेलमा ३-२ को सेटमा जित निकाल्न सफल भयो ।
सुरुवाती दुई सेट आˆनो पक्षमा पारेको नेपालले त्यसपछिका दुई सेटमा कमजोर प्रदर्शन गर्दै गुमाउन पुग्यो । तर, अन्तिम सेटमा उत्कृष्ट पुनरागमन गर्दै नेपालले पहिलो पटक अन्तराष्ट्रिय प्रतियोगितामा श्रीलंकालाई हराउन सफल भयो
पहिलो र दोस्रो सेट क्रमशः २५-२३ र २५-२२ ले जितेको नेपाल तेस्रो र चौथो सेटमा कमजोर भयो र श्रीलंकाले २५-१९ र २५-१४ को जित हात पार्‍यो । दुई सेटमा उत्कृष्ट प्रदर्शन गरेका नेपाली खेलाडीहरु बाँकी सेटमा भने केहि थकित देखिन्थे ।
तर, अन्तिम तथा निर्णायक सेटमा नेपाली टोलीले उत्कृष्ट पुनरागमन गर्दै १५-१० ले आफ्नो पक्षमा पार्न सफल भयो ।
भारतले बंगलादेशलाई ३-० को सोझो सेटमा हराउँदै उपाधि जितेको छ । राउन्ड राविन लिग प्रणालीमा खेलाइएको प्रतियोगितामा भारत एकमात्र अविजित टोली रहृयो । भारतले २५-१३, २५-०६ र २५-९ को सहज सेटमा जित हात पारेको हो ।
उपाधि विजेता भारतले नगद दुई हजार डलर पुरस्कार पाएको छ भने उपविजेता नेपालले १ हजार डलर र तेस्रो भएको श्रीलंकाले ५ सय डलर पाएको छ । प्रतियोगिताको उत्कृष्ट खेलाडी उपाधि विजेता भारतकी स्पाइकर टिजी राजु घोषित भइन् ।

मेस्सीलाई चेल्सीले किन्दैन : माउरिन्हो

मेस्सीलाई चेल्सीले किन्दैन : माउरिन्हो

२०७१ पुष ९ गते १०:१२ मा प्रकाशित
messi९ पुस, काठमाडौं । चेल्सीका प्रशिक्षक जोसे माउरिन्होले बार्सिलोनाका सुपर स्टार लिओनल मेस्सीलाई स्टमफोर्ड ब्रिज ल्याउने सम्भावना अस्वीकार गरेका छन् ।
एक अन्तरवार्तामा माउरिन्होले मेस्सीलाई चेल्सीमा ल्याउने सम्भावना नरहेको प्रष्ट पारे । उनले भने-‘किनकी हामीले फाइनान्सियल फेयर प्लेको नियम मान्नुपर्छ ।’ उनले अघि भने-‘सुपर अमेजिङ प्लेयरलाई सुपर अमेजिङ नम्बर (रकम) मा ल्याउने योजना छैन ।’
हालै मात्र चेल्सीका मिडफिल्डर सेस फेब्रिगासले पूर्वटिममेट मेस्सी स्टमफोर्ड बि्रज आए आफू खुसी हुने बताएका थिए ।
फेब्रिगास र मेस्सीले बार्सिलोनामा केही सिजन एकसाथ खेलेका थिए ।
फेब्रिगास यो सिजन चेल्सी आएका छन् र चेल्सीले प्रिमियर लिगको शीर्ष स्थान बनाउनुमा उनको उत्कृष्ट प्रदर्शनको महत्वपूर्ण भूमिका छ ।
चेल्सीका प्रशिक्षक माउरिन्होले यो सिजन प्रिमियर लिगमा आफूहरु उपाधि दावेदार भएको बताए । चेल्सीले राम्रो फुटबल खेलिरहेको उनको दावी छ ।

टेलिकमले लगायो जागीर अबधीमा हदबन्दी

टेलिकमले लगायो जागीर अबधीमा हदबन्दी

तीन उच्च अधिकारीको जागिर खुस्कियो

२०७१ पुष ८ गते 
८ पुस, काठमाडौं । सरकारी स्वामित्वमा रहेको दुरसञ्चार सेवा प्रदायक कम्पनी नेपाल टेलिकमको जागिरे अवधिमा हदबन्दी लगाइएको छ । टेलिकमको आइतबार साँझ बसेको सञ्चालक समिति बैठकले उच्च पदस्थ कर्मचारीको जागिर अबधीमा सीमा तोकेको हो ।
NTCनयाँ व्यवस्था अनुसार कम्पनीको एउटै पदमा लामो समयसम्म काम गर्न नपाइने भएको छ । बैठकले प्रबन्ध निर्देशक भइसकेको व्यक्तिले कार्यकाल समाप्त भएपछि तल्लो तहमा झरेर काम गर्न नपाउने व्यवस्था गरेको छ । प्रबन्ध निर्देशकको पाँच वर्षे कार्यकाल समाप्त भएपछि उसलाई स्वतः अवकास दिइने छ ।
यसभन्दा अगाडी प्रबन्ध निर्देशक भइसकेको व्यक्ति आफ्नो कार्यकाल समाप्त भएपछि पुनः नायव प्रबन्ध निर्देशक भएर काम गर्दै आएका थिए ।
त्यसैगरि, नायव प्रबन्ध निर्देशकहरुले पनि सोही पदमा पाँच वर्ष सेवा अवधी पुगेपछि स्वतः अवकास पाउने भएका छन् । यस बिचमा प्रबन्ध निर्देशकमा बढुवा भएमा भने उनीहरुको सेवा अवधि निरन्तर हुने छ ।
कम्पनीमा कार्यरत प्रबन्धकहरुको हकमा भने ८ वर्षे सीमा लगाइएको छ । एउटै प्रबन्धक पदमा लगातार ८ वर्ष काम गरेका कर्मचारीलाई पनि स्वतः अवकास दिइने निर्णय बैठकले गरेको छ ।
३ वर्ष अन्य कम्पनीमा काम गर्न नपाइने
साथै, बैठकले सेवाबाट अवकास भएका कर्मचारीहरुले तीन वर्षसम्म प्रतिस्पर्धी कम्पनीमा काम गर्न नपाउने पनि व्यवस्था गरेको छ । यदि अटेर गरेर प्रतिस्पर्धी कम्पनीमा छिरेमा टेलिकमबाट पाउने उसका सेवा सुविधाहरु कटौती हुने बताइएको छ ।
समितिको नयाँ निर्णयपछि मधुसूदन कर्माचार्य, अनुपरञ्जन भट्टराई र जीवनरत्न शाक्यले अवकास पाएका छन् । कर्माचार्य र शाक्य पाँच वर्षदेखि एउटै पद नायब प्रबन्ध निर्देशकको रुपमा कार्यरत थिए भने भट्टराई एक पटक प्रबन्ध निर्देशक भइसकेपछि पनि पुनः नायब प्रबन्ध निर्देशकमा झरेर काम गरिरहेका थिए ।

वित्तीय संस्थाको बर्गिकरण हटाउने राष्ट्र बैंकको तयारी

वित्तीय संस्थाको बर्गिकरण हटाउने राष्ट्र बैंकको तयारी


नेपाल राष्ट्र बैंकले नेपालको बैंकिङ क्षेत्रलाई 'युनिभर्सल बैंकिङ प्रणाली'मा लैजाने तयारी गरिरहेको छ । यस्तो प्रणालीमा लागू भएमा...

अमेरिका र क्यानडा किन हानिए जीवन ?


अमेरिका र क्यानडा किन हानिए जीवन ?

नायक जीवन लुइटेल अमेरिका हानिएका छन् । एक महिनाका लागि उनी अमेरिका र क्यानडा हानिएका हुन् । जीवनको हातमा यतिबेला चलचित्र छैन । उनी फागुन महिनामा चलचित्र ‘तीन घुम्ती’मा अभिनय गर्ने तयारीमा छन् । बर्षमा धेरै चलचित्र खेलेपछि असफलताको...

Tuesday, December 23, 2014

Arduino Uno


Arduino Uno


                               
The Arduino Uno is a microcontroller board based on the ATmega328. It has 14 digitalinput/output pins (of which 6 can be used as PWM outputs), 6 analog inputs, a 16 MHz ceramic resonator, a USB connection, a power jack, an ICSP header, and a reset button. It contains everything needed to support the microcontroller; simply connect it to a computer with a USB cable or power it with a AC-to-DC adapter or battery to get started.
The Uno differs from all preceding boards in that it does not use the FTDI USB-to-serial driver chip. Instead, it features the Atmega16U2 (Atmega8U2 up to version R2) programmed as a USB-to-serial converter.
"Uno" means one in Italian and is named to mark the upcoming release of Arduino 1.0. The Uno and version 1.0 will be the reference versions of Arduino, moving forward. The Uno is the latest in a series of USB Arduino boards, and the reference model for the Arduino platform; for a comparison with previous versions, see the index of Arduino boards.
Summary:
Microcontroller
ATmega328
Operating Voltage
5V
InputVoltage (recommended)
7-12V
Input Voltage (limits)
6-20V
Digital I/O Pins
14 (of which 6 provide PWM output)
Analog Pins
6
DC Current per I/O Pin
40 mA
DC Current for 3.3V Pin
50 mA
Flash Memory
32 KB (ATmega328) of which 0.5 KB used by bootloader
SRAM
2 KB (ATmega328)
EEPROM
1 KB (ATmega328)
Clock Speed
16 MHz
Power:
The Arduino Uno can be powered via the USB connection or with an external paower supply. The power source is selected automatically.
External (non-USB) power can come either from an AC-to-DC adapter (wall-wart) or battery. The adapter can be connected by plugging a 2.1mm center-positive plug into the board's power jack. Leads from a battery can be inserted in the Gnd and Vin pin headers of the POWER connector.
The board can operate on an external supply of 6 to 20 volts. If supplied with less than 7V, however, the 5V pin may supply less than five volts and the board may be unstable. If using more than 12V, the voltage regulator may overheat and damage the board. The recommended range is 7 to 12 volts.
The power pins are as follows:
·      VIN. The input voltage to the Arduino board when it's using an external power source (as opposed to 5 volts from the USB connection or other regulated power source). You can supply voltage through this pin, or, if supplying voltage via the power jack, access it through this pin.
·      5V.This pin outputs a regulated 5V from the regulator on the board. The board can be supplied with power either from the DC power jack (7 - 12V), the USB connector (5V), or the VIN pin of the board (7-12V). Supplying voltage via the 5V or 3.3V pins bypasses the regulator, and can damage your board. We don't advise it.
·      3V3. A 3.3 volt supply generated by the on-board regulator. Maximum current draw is 50 mA.
·      GND. Ground pins.
·      IOREF. This pin on the Arduino board provides the voltage reference with which the microcontroller operates. A properly configured shield can read the IOREF pin voltage and select the appropriate power source or enable voltage translators on the outputs for working with the 5V or 3.3V.
Memory:
The ATmega328 has 32 KB (with 0.5 KB used for the bootloader). It also has 2 KB of SRAM and 1 KB of EEPROM.
Input and Output:
Each of the 14 digital pins on the Uno can be used as an input or output, using pinMode(), digitalWrite, and digitalRead  functions. They operate at 5 volts. Each pin can provide or receive a maximum of 40 mA and has an internal pull-up resistor (disconnected by default) of 20-50 kOhms. In addition, some pins have specialized functions:
·      Serial: 0 (RX) and 1 (TX). Used to receive (RX) and transmit (TX) TTL serial data. These pins are connected to the corresponding pins of the ATmega8U2 USB-to-TTL Serial chip.
·      External Interrupts: 2 and 3. These pins can be configured to trigger an interrupt on a low value, a rising or falling edge, or a change in value. See the attatchedInterrupt() function for details.
·      PWM: 3, 5, 6, 9, 10, and 11. Provide 8-bit PWM output with the analogWrite  function.
·      SPI: 10 (SS), 11 (MOSI), 12 (MISO), 13 (SCK). These pins support SPI communication using the SPI library.
·      LED: 13. There is a built-in LED connected to digital pin 13. When the pin is High value, the LED is on, when the pin is LOW, it's off.
The Uno has 6 analog inputs, labeled A0 through A5, each of which provide 10 bits of resolution (i.e. 1024 different values). By default they measure from ground to 5 volts, though is it possible to change the upper end of their range using the AREF pin and the analogReference()  function. Additionally, some pins have specialized functionality:
·      TWI: A4 or SDA pin and A5 or SCL pin. Support TWI communication using the Write library.
There are a couple of other pins on the board:
·      AREF. Reference voltage for the analog inputs. Used with analog Reference().
·      Reset. Bring this line LOW to reset the microcontroller. Typically used to add a reset button to shields which block the one on the board.
Communication:
The Arduino Uno has a number of facilities for communicating with a computer, another Arduino, or other microcontrollers. The ATmega328 provides UART TTL (5V) serial communication, which is available on digital pins 0 (RX) and 1 (TX). An ATmega16U2 on the board channels this serial communication over USB and appears as a virtual com port to software on the computer. The '16U2 firmware uses the standard USB COM drivers, and no external driver is needed. The Arduino software includes a serial monitor which allows simple textual data to be sent to and from the Arduino board. The RX and TX LEDs on the board will flash when data is being transmitted via the USB-to-serial chip and USB connection to the computer (but not for serial communication on pins 0 and 1).
A SoftwareSeriallibrary allows for serial communication on any of the Uno's digital pins.
The ATmega328 also supports I2C (TWI) and SPI communication. The Arduino software includes a Wire library to simplify use of the I2C bus; see the documentation  for details. For SPI communication, use the SPI library.
Programming:
The Arduino Uno can be programmed with the Arduino software. Select Ardui- no Uno from the Tools > Board menu (according to the microcontroller on your board). The ATmega328 on the Arduino Uno comes preburned with a bootload
er  that allows you to upload new code to it without the use of an external hard- ware programmer. It communicates using the original  STK500  protocol. We
can also bypass the bootloader and program the microcontroller through the IC SP (In-Circuit Serial Programming) header. The ATmega16U2 (or 8U2 in the  rev1 and rev2 boards) firmware source code is available. The ATmega16U2/8
U2 is loaded with a DFU bootloader, which can be activated by:
·      On Rev1 boards: connecting the solder jumper on the back of the board (near the map of Italy) and then resetting the 8U2.
·      On Rev2 or later boards: there is a resistor that pulling the 8U2/16U2 HWB line to ground, making it easier to put into DFU mode.
You can then use Atmel’s FLIP software (Windows) or the DFU prgrammer (Mac OS X and Linux) to load a new firmware. Or you can use the ISP header with an external programmer (overwriting the DFU bootloader)..
Automatic (Software) Reset:
Rather than requiring a physical press of the reset button before an upload, the Arduino Uno is designed in a way that allows it to be reset by software running on a connected computer. One of the hardware flow control lines (DTR) of the ATmega8U2/16U2 is connected to the reset line of the ATmega328 via a 100 nanofarad capacitor. When this line is asserted (taken low), the reset line drops long enough to reset the chip. The Arduino software uses this capability to allow you to upload code by simply pressing the upload button in the Arduino environment. This means that the bootloader can have a shorter timeout, as the lowering of DTR can be well-coordinated with the start of the upload.
This setup has other implications. When the Uno is connected to either a computer running Mac OS X or Linux, it resets each time a connection is made to it from software (via USB). For the following half-second or so, the bootloader is running on the Uno. While it is programmed to ignore malformed data (i.e. anything besides an upload of new code), it will intercept the first few bytes of data sent to the board after a connection is opened. If a sketch running on the board receives one-time configuration or other data when it first starts, make sure that the software with which it communicates waits a second after opening the connection and before sending this data.
The Uno contains a trace that can be cut to disable the auto-reset. The pads on either side of the trace can be soldered together to re-enable it. It's labeled "RESET-EN". You may also be able to disable the auto-reset by connecting a 110 ohm resistor from 5V to the reset line.
USB Overcurrent Protection:
The Arduino Uno has a resettable polyfuse that protects your computer's USB ports from shorts and overcurrent. Although most computers provide their own internal protection, the fuse provides an extra layer of protection. If more than 500 mA is applied to the USB port, the fuse will automatically break the connection until the short or overload is removed.
Physical Characteristics:
The maximum length and width of the Uno PCB are 2.7 and 2.1 inches respectively, with the USB connector and power jack extending beyond the former dimension. Four screw holes allow the board to be attached to a surface or case. Note that the distance between digital pins 7 and 8 is 160 mil (0.16"), not an even multiple of the 100 mil spacing of the other pins.



INTRODUCTION




Voting is most pivotal process of democratic society through which people determine its government. Various methodology are being applied from the ancient times to present context for voting process. EVM is one of the effective method for voting system.

Nowadays, providing preventive measures is one of the challenging matters in the world. In order to provide the inexpensive solutions to the voting system, the Finger Print Based Electronic voting machine can be best option. This provides the security by means of finger prints which is stored already in the data base. Then the finger prints which is stored in the data base is checked .Only if both the persons and the voters finger print  are the same then the voting machine is enabled  . This finger print matching is done with the help of sensors. This matching is fed as an input to the Microcontroller. The Microcontroller process the signal and then enable the buzzer. Nowadays with the rise in population the need for checking the validity of the voters has become a problem. With the Micro controller based finger print technique the task looks much simpler and also the accuracy is high. So this system provides the cost effective as well as reliable security for the users.

APPICATION OF REMOTE SENSING IN FORESTY


REMOTE SENSING:
•      It is the science of acquiring information about the Earth’s surface without actually being in contact with it.
•      This is done by sensing and recording reflected or emitted energy and processing, analyzing and applying that information.
FORESTRY:
    Forests are a valuable resource for:
•      Providing food, shelter, wildlife habitat, fuel and daily supplies such as medicinal ingredients and paper.
•      Balancing the Earth’s CO2    supply and exchange.
•      Depletion of forest resources has long term effects on climate, soil conservation, biodiversity and hydrological regimes.
OBJECTIVES:
•      To consistently and repeatedly monitor forests over large areas, it is desirable to use remote sensing data and automated image analysis techniques.
•      For sustainable forest management.
•      For protection of valuable forest resources.
•      To determine the animal’s life and civilization in the forest.
•      To determine life of the trees and medicinal ingredients .
REMOTE SENSING IN FORESTRY:
•      Several types of remote sensing data, including Aerial photography, Optical Multispectral Scanner, Radar, Lidar (Laser) and Video graphic data have been used by forest research and operational agencies to detect, identify, classify, evaluate and measure various forest cover types and their changes.
•      Remote sensing can detect, identify, classify, evaluate and measure various forest characteristics in two ways:
  
  Qualitative analysis
    Here, remote sensing can classify forest cover types to: coniferous and deciduous forest, mangrove forest, swamp forest, forest plantations, etc.
    Quantitative analysis
    Here remote sensing measures or estimates forest parameters (e.g. height, basal area, number of trees per unite area, timber volume and woody biomass), floristic composition, life forms, and structure.
FORESTRY APPLICATIONS OF REMOTE SENSING INCLUDES:
Ø   Reconnaissance mapping
•       Forest cover updating
•       Depletion monitoring
•       Measuring biophysical properties of forest stands
    
Ø  Commercial forestry
•      Clear cut mapping
•      Burn delineation infrastructure mapping
•      Forestry inventory
•      Biomass estimation
•      Species inventory
Ø  Environmental monitoring
    Monitoring the quantity, health and diversity of the earth’s forests.
•      Deforestation
•      Species inventory
•      Watershed protection
•      Coastal protection

BURN MAPPING:
•      Fires spread quickly and threaten settlements and wildlife, eliminate timber supplies and damage conservation areas.
•       Remote sensing help in detecting  and monitoring forest fires.
     Methodology:
·         Passive remote sensing
Ø   Haze and smoke reflect a large amount of energy.
·         Spaceborne remote sensing
Ø  For burn mapping  moderate spatial coverage, high to moderate resolution and a low around time are required.
Ø   Comparing burned areas to active fire areas provides information as to the rate and direction of the movement of the fire.
·         Active sensor
   In humid tropical areas  forest  measurements are difficult to obtain.
   It provides the only feasible source of data and facilitate regular monitoring.
  • Airborne sensor
    For detailed species and forest typing   identification, very high resolution data are needed.
    It provides updates to any change in the baseline.
MERITS:
•      Full Coverage of the area in relatively short time
•      Less costs due to reduced sampling intensity (some satellite data are freely available)
•      Visual documentation of the situation and the changes
•      Generation of map data
•      Accessibility of information from terrestrial inaccessible or “difficult to access” areas
•      Increase of national capacity in mapping, monitoring and reporting

•      More harmonized information assessment for the whole country.

Thursday, December 11, 2014

MVC pattern

In object oriented Programming follow the MVC rules. Model, View, Controller is relates in this figure. Controller is the common for both Model and View. Which is the function of tranfer data from model to view for display and load data from view to model into database. Model connect to the database and all query written in model to makes class.

MVC architecture of Yii Framework

As mentioned previously, Yii is an MVC framework and it provides an explicit
folder structure for each piece of model, view, and controller code. Before we start
building our first Yii application, we need to define a few key terms, and look at
how Yii implements and enforces this MVC architecture.

The model
Typically in an MVC architecture, the model is responsible for maintaining state.
Thus, it should encapsulate the business rules that apply to the data that defines
this state. A model in Yii is any instance of the framework class CModel or its child
class. A model class typically comprises data attributes that can have separate labels
(something user-friendly for the purpose of display), and can be validated against a
set of rules defined in the model. The data that makes up the attributes in the model
class could come from a row of a database table or from the fields in a user input form.
Yii implements two kinds of models: The form model (CFormModel class) and the
active record model (CActiveRecord class). They both extend from the same base
class CModel. CFormModel represents a data model that collects inputs in HTML
form. It encapsulates all the logic for form field validation and any other business
logic that may need to be applied to the form field data. It can then store this data
in memory, or with the help of an active record model, store data in a database.
Active Record (AR) is a design pattern used to abstract database access in an
object-oriented fashion. Each AR object in Yii is an instance of CActiveRecord or
its child class that wraps a single row in a database table or view, encapsulates all
the logic and details around database access, and houses much of the business logic
that is required to be applied to that data. The data field values for each column in
the table row are represented as properties of the AR object. AR is described in more
detail a little later.

The view
Typically, the view is responsible for rendering the user interface, based on the
data in the model. A view in Yii is a PHP script that contains user interface related
elements, often built using HTML, but can also contain PHP statements. Usually any
PHP statements within the view are very simple conditional or looping statements,
or refer to other Yii UI-related elements such as HTML helper class methods or
prebuilt widgets. More sophisticated logic should be separated from the view and
placed appropriately in either the model (if dealing directly with the data), or in the
controller for a more general business logic.


The controller
The controller is our main director of a routed request and is responsible for taking
user input, interacting with the model, and instructing the view to update and
display appropriately. A controller in Yii is an instance of CController or its child.
When a controller runs, it performs the requested action, which then interacts with
needed models and renders an appropriate view. An action, in its simplest form, is
a controller class method whose name starts with the word action.

Features of Yii framework

Yii is easy 
To run a Yii-powered web application, all you need is the core framework files and
a web server supporting PHP 5.1.0 or higher. To develop with Yii, you only need to
know PHP and object-oriented programming(OOP). You are not required to learn
any new configuration or templating language. Building a Yii application mainly
involves writing and maintaining your own custom PHP classes, some of which
will extend from the core Yii Framework component classes.
Yii incorporates many of the great ideas and work from other well-known web
programming frameworks and applications. So, if you are coming to Yii after
using other web development frameworks, it is likely you will find it familiar
and easy to navigate.
Yii also embraces a convention over configuration philosophy, which contributes to its
ease of use. This means that Yii has sensible defaults for almost all aspects of wiring
your application. If you follow the prescribed conventions, you will write less code
and spend less time developing your application. If desired, Yii allows you to
customize and easily override all of these conventions. We will be covering some
of these defaults and conventions later in this chapter and throughout the book.

Yii is efficient
Yii is a high-performance component-based framework for developing web
applications on any scale. It encourages maximum code reuse in web programming,
and can significantly accelerate the development process. As mentioned previously,
if you stick with Yii's built-in conventions, you can get your application up and
running with little to no manual configuration.
Yii is also designed to help you with DRY development. DRY (Don't Repeat
Yourself) is a key concept of agile application development. All Yii applications
are built using the Model-View-Controller (MVC) architecture. Yii enforces
this development pattern by providing a place to keep each piece of your MVC
code. This minimizes duplication and helps promote code reuse and ease of
maintainability. The less code you need to write, the less time it takes to get your
application to market. Similarly, the easier it is to maintain your application, the
longer it will stay on the market.

Yii is extensible 
Yii has been carefully designed to allow nearly every piece of its code to be extended
and customized to meet almost any need or requirement. In fact, it is difficult not to
take advantage of Yii's ease of extensibility as a primary activity when developing a
Yii-driven application, which is extending the core framework classes. If you want
to turn your extended code into useful tools for other developers to use, Yii provides
easy-to-follow steps and guidelines to help you create such third-party extensions.
This allows you to contribute to Yii's ever-growing list of features and actively
participate in extending Yii itself.

Yii framework in php

The past several years have marked a significant 'framework boom', and almost 
everyone involved in web application development these days is a part of a new 
generation of 'framework boomers'. Web development frameworks help jumpstart 
your application by immediately delivering the core foundation and plumbing 
needed to quickly turn your ideas scribbled on the whiteboard into a functional 
and production-ready code. With all of the common features expected from web 
applications today and available framework options that meet these expectations, 
there is little reason to code your next web application from scratch. A modern, 
flexible, and extensible framework is almost as essential a tool as the programming 
language itself to today's web developer. Moreover, when the two are particularly 
complementary, the results are an extremely powerful toolkit: Java and Spring, Ruby 
and Rails, C# and .NET, and PHP and Yii.
Yii is the brainchild of its founder Qiang Xue who started the development of this 
open source framework on January 1st, 2008. Prior to this, Qiang had previously 
developed and maintained the PRADO framework for many years. The years of 
experience and user feedback cultivated from the PRADO project solidified the 
need for a much easier, more extensible and more efficient PHP5-based framework 
to meet the ever-growing needs of application developers. The initial alpha version 
of Yii was officially released to meet these needs in October of 2008. Its extremely 
impressive performance metrics when compared to other PHP-based frameworks 
immediately drew very positive attention. On December 3rd, 2008, Yii 1.0 was 
officially released and as of March 14th, 2010, the latest production-ready version  
is 1.1.2. It has a growing development team and continues to gain popularity among 
PHP developers everyday. We feel that with just a little help from the information 
contained in this book, you will soon understand why.
The name Yii (an acronym for Yes, it is, pronounced as Yee or [ji:]) stands for 
easy, efficient, and extensible. Yii is a high-performance, component-based, web 
application framework written in PHP 5. Yii makes it easier to create and maintain 
large-scale web applications. It also makes them more efficient and extensible. Let's 
take a quick look at each of these characteristics of Yii in turn.

Monday, November 24, 2014

40 days love journey last part


Day 31: Love and marriage
A man shall leave his father and his mother, and be joined to his wife; and they shall become one flesh.
—Genesis 2:24
TODAY’S DARE
Is there a “leaving” issue you haven’t been brave enough to conquer yet? Confess it to your spouse today, and resolve to make it right. The oneness of your marriage is dependent upon it.
Follow this with a commitment to your spouse and to God to make your marriage the top priority over every other human relationship.
Day 32: Love meets sexual needs
The husband must fulfill his duty to his wife, and likewise also the wife to her husband.
—1 Corinthians 7:3
TODAY’S DARE
If at all possible, try to initiate sex with your husband or wife today. Do this in a way that honors what your spouse has told you (or implied to you) about whatthey need from you sexually. Ask God to make this enjoyable for both of you as well as a path to greater intimacy.
Day 33: Love completes each other
 If two lie down together they keep warm, but how can one be warm alone?
—Ecclesiastes 4:11
TODAY’S DARE
Recognize that your spouse is integral to your future success. Let them know today that you desire to include them in your upcoming decisions, and that you need their perspective and counsel. If you have ignored their input in the past, admit your oversight and ask them to
forgive you.
Day 34: Love celebrates godliness
[Love] does not rejoice in unrighteousness, but rejoices with the truth.
—1 Corinthians 13:6
TODAY’S DARE
Find a specific, recent example when your spouse demonstrated Christian character in a noticeable way. Verbally commend them for this at some point today.
Day 35: Love is Accountable
 Plans fail for lack of counsel, but with many advisers they succeed.
—Proverbs 15:22 NIV
TODAY’S DARE
Find a marriage mentor—someone who is a strong Christian and who will be honest and loving with you. If you feel that counseling is needed, then take the first step to set up an appointment.
During this process, ask God to direct your decisions and discernment.
Day 36: Love is God’s Word
Your word is a lamp to my feet and a light to my path.
—Psalm 119:105
TODAY’S DARE
Commit to reading the Bible every day. Find a devotional book or other resource that will give you some guidance. If your spouse is open to it, see if they will commit to daily Bible reading with you. Begin submitting each area of your life to its guidance and start building on the rock.
Day 37: Love agrees in Prayer
 If two of you agree on earth about anything that they may ask, it shall be done for them by My Father.
—Matthew 18:19
TODAY’S DARE
Ask your spouse if you can begin praying together. Talk about the best time to do this, whether it’s in the morning, your lunch hour, or before bedtime. Use this time to commit your concerns, disagreements, and needs before the Lord. Don’t forget to thank Him for His provision and blessing. Even if your spouse refuses to do this, resolve to spend this daily time in prayer
yourself.
Day 38: Love fulfills Dreams
 Delight yourself in the Lord; and He will give you the desires of your heart.
—Psalm 37:4
TODAY’S DARE
Ask yourself what your mate would want if it was obtainable. Commit this to prayer, and start mapping out a plan for meeting some (if not all) of their desires, to whatever level you possibly can.
Day 39: Love endures
Love never fails. 
—1 Corinthians 13:8
TODAY’S DARE
Spend time in personal prayer, then write a letter of commitment and resolve to your spouse. Include why you are committing to this marriage until death, and that you have purposed to love themno matter what. Leave it in a place that your mate will find it.
Day 40: Love is a covenant
Where you go, I will go, and where you lodge, I will lodge. Your people shall be my people, and your God, my God. 
—Ruth 1:16
TODAY’S DARE
Write out a renewal of your vows and place them in your home. Perhaps, if appropriate, you could make arrangements to formally renew your wedding vows before a minister and with family present. Make it a living testament to the value of marriage in God’s eyes and the high honor of being one with your mate.