Wednesday, 21 October 2015

XMPP Integration Using iOS SDKS

If you want to add chat functionality in your iOS app . Then this blog can help you to do some basic chat functionality. Such as creating xmpp session , login on sever, creating room, getting list of login buddies and chatting.
First step download the XMPP framework from the following link :
https://github.com/robbiehanson/XMPPFramework
call this function to start and setup xmpp stream
 
  1. -(void)startXMPP:(id)viewController{
  2. [DDLog addLogger:[DDTTYLogger sharedInstance]];

  3. // Setup the XMPP stream
  4. NSLog(@"XMPP new method called");
  5. self.delegate=viewController;
  6. [self setupStream];
  7. if (![self connect])
  8. {
  9. dispatch_time_t popTime = dispatch_time(DISPATCH_TIME_NOW, 0.0 * NSEC_PER_SEC);
  10. dispatch_after(popTime, dispatch_get_main_queue(), ^(void){

  11. });
  12. }

  13. }
- Read the full Blog at : XMPP Integration Using iOS SDKS
Our Java developer forum forum is developed for those tech geeks who don’t want to wait for a longer duration of time, as the community members within FindNerd can answer any android query within shortest possible time frame.
Apart from this, If you have any language query like C, Java, JavaScript, iOS, Html, PHP etc . you can post at FindNerd’s  Php questions and answers forum.

Tuesday, 13 October 2015

How to Add and Remove items in array using AngularJS

With the help of Angularjs, We can dynamically add or remove list items in an array. It is shown In the example given below. Addition of the list items is done using 'push' method and removal of the item is done using “splice” method. Controller-

<div><input type="text" value="ItemName" placeholder="name of new item..." />
<button>Add Me</button>
<ul class="nav">
    <li id="item{{item.id}}"><a href="#">{{item.title}}</a> <a class="delete-item">x</a></li>
</ul>
</div>

'push' Method-

- Read the full Blog at: How to Add and Remove items in array using AngularJS.

Our Php developer forum forum is developed for those tech geeks who don’t want to wait for a longer duration of time, as the community members within FindNerd can answer any android query within shortest possible time frame.

Apart from this, If you have any language query like C, Java, JavaScript, iOS, Html, PHP etc . you can post at FindNerd’s Java questions and answers.

Dynamicaly Load More Items to the ListView

To dynamically load more items to the ListView when you scroll at the bottom, we implement onScroll() method in which we can find out the which item is visible when we will reach at bottom it will load more items.
Following steps are used for this:

Adding footer view on ListView: For this we will create an XML file that will define how the footer of your ListView will look like.


Read the full set of codes at FindNerd's Blog Post: Dynamicaly Load More Items to the ListView

FindNerd’s Php questions and answers forum is developed for those tech geeks who don’t want to wait for a longer duration of time, as the community members within FindNerd can answer any android query within shortest possible time frame.

Apart from this, If you have any language query like C, Java, JavaScript, iOS, Html, PHP etc . you can post at FindNerd’s Java questions and answers forum.

Monday, 12 October 2015

Create a Dynamic View in OpenERP/ ODOO

In dynamic view we can manage view from xml file. Therefore you can create a dynamic view as done in example stated below
  1. <record model="ir.ui.view" id="session_tree">
  2. <field name="name">session tree</field>
  3. <field name="model">session</field>
  4. <field name="arch" type="xml">
  5. <tree string="Session">
  6. <field name="name"/>
  7. <field name="start_date"/>
  8. <field name="duration"/>
  9. <field name="seat"/>
  10. <field name="attendee1"/>
  11. <field name="instructor"/>
  12. <field name="course"/>
  13. </tree>
  14. </field>
  15. </record>
Create a Dynamic View in OpenERP/ ODOOFor complete set of codes, read full Blog at: Create a Dynamic View in OpenERP/ ODOO
FindNerd’s Php questions and answers forum is developed for those tech geeks who don’t want to wait for a longer duration of time, as the community members within FindNerd can answer any android query within shortest possible time frame.
Apart from this, If you have any language query like C, Java, JavaScript, iOS, Html, PHP etc . you can post at FindNerd’s Java questions and answers forum.

Wednesday, 7 October 2015

Protecting Your CakePhp Application Against SQL Injection

SQL injection is a technique where malicious users can inject the SQL commands /queries into an SQL statement, resulting in false input of the web page and the security of a web application.
Eventually CakePhp already protects the application against the SQL Injection if you are using the CakePhp's methods like find() and save() and proper array notation (ie. array('field' => $value))
Still, it is sometimes necessary to perform manual queries, which can be done with Model::Query.

- Read the full Blog at: Protecting Your CakePhp Application Against SQL Injection

Our Php questions and answers forum is developed for those tech geeks who don’t want to wait for a longer duration of time, as the community members within FindNerd can answer any android query within shortest possible time frame.

Apart from this, If you have any language query like C, Java, JavaScript, iOS, Html, PHP etc . you can post at FindNerd’s Java developer forum.

Tuesday, 6 October 2015

How to import the Products data through csv file in OpenERP(Odoo)?

If you want to import the customer data through csv file in OpenERP(Odoo) follow the below mentioned steps:- Step-1 Go to purchases Menu and Click it.


openERP


Our Java developer forum forum is developed for those tech geeks who don’t want to wait for a longer duration of time, as the community members within FindNerd can answer any android query within shortest possible time frame.

Apart from this, If you have any language query like C, Java, JavaScript, iOS, Html, PHP etc . you can post at FindNerd’s Php questions and answers.

Monday, 5 October 2015

How to create an "Admin Panel" for a project in cakephp ?

We can use a plugin, that will help us to create an admin panel in a very short span of time.
For cakephp framework there is a plugin named as “BrowniePHP”.

Prerequisite:
One should know how to create web sites and web applications using cakephp framework.

Setting up the BrowniePHP:
    1. . Create a basic web application in cakephp framework that have it's own database.
    2. . Download the pluging (link: https://github.com/plusglobal/BrowniePHP).
    3. . Now extract the downloaded package into the floder : app/Plugin/Brownie
    4. . Now add the Brownie panel component in the below mentioned file of your main application :
project-folder/app/Controller/AppController.php



-Read the full Blog at: How to create an "Admin Panel" for a project in cakephp ?


Our Php developer forum forum is developed for those tech geeks who don’t want to wait for a longer duration of time, as the community members within FindNerd can answer any android query within shortest possible time frame.

 Apart from this, If you have any language query like C, Java, JavaScript, iOS, Html, PHP etc . you can post at FindNerd’s Java questions and answers.