About Mavensoft
Mavensoft is dynamic and growing IT Company with team of industry best Engineers working around the clock from offices geographically situated across United States (Portland, OR / Atlanta, GA) and India (Hyderabad). At Mavensoft we understand how hard you work to grow your business and image, so do we in order to provide a high value add to your bottom line!
Mavensoft pride ourselves on our efficient, low-cost solutions as well as our 'local business' company atmosphere, and guarantee flexibility, affordability, and ingenuity.
Mavensoft will...
The below are the interview questions..
Mavensoft is dynamic and growing IT Company with team of industry best Engineers working around the clock from offices geographically situated across United States (Portland, OR / Atlanta, GA) and India (Hyderabad). At Mavensoft we understand how hard you work to grow your business and image, so do we in order to provide a high value add to your bottom line!
Mavensoft pride ourselves on our efficient, low-cost solutions as well as our 'local business' company atmosphere, and guarantee flexibility, affordability, and ingenuity.
Mavensoft will...
The below are the interview questions..
- Introduce your self
- What is wishlist in shopping cart
Ans :- a list of desired things or occurrences. - How to connect to database in joomla
- How to connect to database in wordpress
- What is page template in wordpress
- What is Widget?
- How to create a plugin in wordpress
- How to connect to database in Codeigniter
- What is the method to parse JSON result
- What is the default session time in php
Ans :- (it is 24minutes 1400 seconds session.gc_maxlifetime() the value is set in seconds) - What is E-commerce..
- Do you know about Wordpress Custom Theme Creation
- How to get latest posts in wordpress?
- What is the current version of magento till date(24-07-2015)
- Do you know about payment gateway integrations
- What is module in drupal?
Question & Answers
2. What is wishlist in shopping cart
Ans:- When you select a product to shopping cart a product from inventory is subtracted and a that product is added to your cart where in wishlist it doesn't happen.
Other use: When you find some cool thing you wish to buy after you get your salary you drop it into wishlist, E-commerce companies use this to sent customized offers to users. A win-win game.
Amazon recently came up with amazing idea as you can check your friends wishlist and gift him on occasion. so you give the best gift for your buddy.
3. How to connect to database in joomla
Ans :- If you need to access tables within the same database as your Joomla! installation then you can simply use the JFactory->getDbo method. This uses the already established connection that Joomla! uses to connect to the database. For example:
Other use: When you find some cool thing you wish to buy after you get your salary you drop it into wishlist, E-commerce companies use this to sent customized offers to users. A win-win game.
Amazon recently came up with amazing idea as you can check your friends wishlist and gift him on occasion. so you give the best gift for your buddy.
3. How to connect to database in joomla
Ans :- If you need to access tables within the same database as your Joomla! installation then you can simply use the JFactory->getDbo method. This uses the already established connection that Joomla! uses to connect to the database. For example:
<?php $db = JFactory::getDbo(); ?>
$db is now an object of type JDatabaseDriver and you can perform database operations on it using the usual methods.
But what if you want to connect to a completely different database from the one used by Joomla!?. This might be a different database on the same machine as your Joomla! site or it might be on a different host and perhaps even require a different database driver. Well, you can do this using the JDatabaseDriver->getInstance method.
<?php $option = array(); //prevent problems $option['driver'] = 'mysql'; // Database driver name $option['host'] = 'db.myhost.com'; // Database host name $option['user'] = 'fredbloggs'; // User for database authentication $option['password'] = 's9(39s£h[%dkFd'; // Password for database authentication $option['database'] = 'bigdatabase'; // Database name $option['prefix'] = 'abc_'; // Database prefix (may be empty) $db = JDatabaseDriver::getInstance( $option ); ?>
$db is now an object of type JDatabaseDriver and you can perform database operations on it using the usual methods.
4. How to connect to database in Wordpress
Ans: Good explanation find at https://codex.wordpress.org/Editing_wp-config.php
5. What is page template in wordpress
Ans:- Since a page template is a specific type of template file, here are some distinguishing features of page templates: Page templates only apply to pages, not to any other content type (like posts and custom post types). Page templates are used to change the look and feel of a page.
Ans: Good explanation find at https://codex.wordpress.org/Editing_wp-config.php
5. What is page template in wordpress
Ans:- Since a page template is a specific type of template file, here are some distinguishing features of page templates: Page templates only apply to pages, not to any other content type (like posts and custom post types). Page templates are used to change the look and feel of a page.
- Page templates only apply to pages, not to any other content type (like posts and custom post types).
- Page templates are used to change the look and feel of a page.
- A page template can be applied to a single page, a page section, or a class of pages.
- Page templates generally have a high level of specificity, targeting an individual page or group of pages. For example, a page template named
page-about.php
is more specific than the template filespage.php
orindex.php
as it will only affect a page with the slug of “about.” - If a page template has a template name, WordPress users editing the page have control over what template will be used to render the page.
6. What is Widget
7. How to create a plugin in wordpress
Writing a Plugin
Good explanation at https://codex.wordpress.org/Writing_a_Plugin
8. How to connect to database in codeigniter
CodeIgniter has a config file that lets you store your database connection values (username, password, database name, etc.). The config file is located atapplication/config/database.php. You can also set database connection values for specific environments by placing database.php it the respective environment config folder.
The config settings are stored in a multi-dimensional array with this prototype:
$db['default']['hostname'] = "localhost";
$db['default']['username'] = "root";
$db['default']['password'] = "";
$db['default']['database'] = "database_name";
$db['default']['dbdriver'] = "mysql";
$db['default']['dbprefix'] = "";
$db['default']['pconnect'] = TRUE;
$db['default']['db_debug'] = FALSE;
$db['default']['cache_on'] = FALSE;
$db['default']['cachedir'] = "";
$db['default']['char_set'] = "utf8";
$db['default']['dbcollat'] = "utf8_general_ci";
$db['default']['swap_pre'] = "";
$db['default']['autoinit'] = TRUE;
$db['default']['stricton'] = FALSE;
$db['default']['username'] = "root";
$db['default']['password'] = "";
$db['default']['database'] = "database_name";
$db['default']['dbdriver'] = "mysql";
$db['default']['dbprefix'] = "";
$db['default']['pconnect'] = TRUE;
$db['default']['db_debug'] = FALSE;
$db['default']['cache_on'] = FALSE;
$db['default']['cachedir'] = "";
$db['default']['char_set'] = "utf8";
$db['default']['dbcollat'] = "utf8_general_ci";
$db['default']['swap_pre'] = "";
$db['default']['autoinit'] = TRUE;
$db['default']['stricton'] = FALSE;
$this->load->db(); to connect to database in codeigniter
9. What is the method to parse JSON result
Ans:- var obj=JSON.parse(result);
JSON.parse() is a javascript method which parse json result and assigning to object.
10. What is the default session time in PHP
Ans :- (it is 24minutes 1400 seconds session.gc_maxlifetime() the value is set in seconds)
11. What is E-commerce
Ans:- Commercial transactions conducted electronically on the Internet.
- E-commerce (electronic commerce or EC) is the buying and selling of goods and services, or the transmitting of funds or data, over an electronic network, primarily the Internet. These business transactions occur either business-to-business, business-to-consumer, consumer-to-consumer or consumer-to-business.
12.Do you know about Wordpress Custom Theme Creation
Good tutorial at https://www.siteground.com/tutorials/wordpress/wordpress_create_theme.htm
13. How to get latest posts in wordpress
Ans: <?php wp_get_recent_posts( $args, $output ) ?>
14.What is the current version of magento till date
Ans:- ver 1.9.2.0 - Added Jul 7, 2015
16. What is module in drupal
Ans :- A module is a collection of functions that link into Drupal, providing additional functionality for your Drupal installation. After reading this tutorial, you will be able to create a basic block module and use it as a template for more advanced modules.
13. How to get latest posts in wordpress
Ans: <?php wp_get_recent_posts( $args, $output ) ?>
<?php $args = array(
'numberposts' => 10,
'offset' => 0,
'category' => 0,
'orderby' => 'post_date',
'order' => 'DESC',
'include' => ,
'exclude' => ,
'meta_key' => ,
'meta_value' =>,
'post_type' => 'post',
'post_status' => 'draft, publish, future, pending, private',
'suppress_filters' => true );
$recent_posts = wp_get_recent_posts( $args, ARRAY_A );?>
For a full explanation of the arguments, see get_posts() and the WP_Query object.14.What is the current version of magento till date
Ans:- ver 1.9.2.0 - Added Jul 7, 2015
16. What is module in drupal
Ans :- A module is a collection of functions that link into Drupal, providing additional functionality for your Drupal installation. After reading this tutorial, you will be able to create a basic block module and use it as a template for more advanced modules.
0 comments:
Post a Comment