Tag Archives: Magento

Agile an approach to Software Development

24 Aug

What Is Agile?

Agile methodology is an alternative to traditional project management, typically used in software development. It helps teams respond to unpredictability through incremental, iterative work cadences, known as sprints. Agile methodologies are an alternative to waterfall, or traditional sequential development.

Martin_Fowler_(2008)

It promotes adaptive planning, evolutionary development and delivery, a time-boxed iterative approach, and encourages rapid and flexible response to change. It is a conceptual framework that promotes foreseen interactions throughout the development cycle.

Martin Fowler, widely recognized as one of the key founders of agile methods

Agile Manifesto:-

According to wiki, In February 2001, 17 software developers[6] met at the Snowbird, Utah, resort, to discuss lightweight development methods. They published the Manifesto for Agile Software Development to define the approach now known as agile software development.

images (2)

images

 

 

 

 

 

 

 

 

The Agile Manifesto is based on some of the principles as below:-

  • Customer satisfaction by rapid delivery of product (software).
  • Always welcome changing requirements, even late in development.
  • Working software is delivered frequently (weeks rather than months)
  • Working software is the principal measure of progress.
  • Regular,Close and daily interaction between developer,users and Managers.
  • Face-to-face conversation is the best form of communication.
  • Projects are built around motivated individuals.
  • Continuous attention to technical excellence and good design.
  • Self-organizing teams.

Why Agile?
Agile development methodology provides opportunities to assess the direction of a project throughout the development lifecycle. This is achieved through regular cadences of work, known as sprints or iterations, at the end of which teams must present a potentially shippable product increment.Agile methodology is described as “iterative” and “incremental.” In waterfall, development teams only have one chance to get each aspect of a project right. In an agile paradigm, every aspect of development — requirements, design, etc. — is continually revisited throughout the lifecycle.

download

This approach makes the team to work parallel, when they are gathering requirement and thus in turn it reduces the cost and time of the project. This approach give you right product, i.e exactly what you want.

Happy reading and look forward to your comments and feedback on this.

Cleaning Magento Store’s Database logs for faster performance

23 Aug

As we all know magento is a highly scalable eCommerce system but its database is not as efficient as it should be.It contains log tables and cleaning logs at regular interval will reduce latency of query execution which in turns helps in improving the performance of a system. Magento Store performance depends on various parameters but today we will talk about how to clean the log tables.

magento-log-cleaning

**Click Here to View Larger Image

I strongly recommends you to backup your database before doing anything (as it is always safe to have a backup). There are various techniques to take a back up your database.

  • Free extensions available to on maze store to take the backup.
  • You can use Magento’s built in profilers to export entire database.
  • Use phpmyadmin to take a backup.

Once you are done with the backup of database. you can use these two different options to clean up your logs:

  • Clean your logs via Magento Admin Panel “Log Cleaning”.
  • Clean up your database tables directly via phpmyadmin or through commandline.

Below are the tables used by Magento to manage logs:-

        log_customer
log_visitor
log_visitor_info
log_url
log_url_info
log_quote
report_viewed_product_index
report_compared_product_index
report_event
catalog_compare_item

How to clean logs via Magento Admin:-

  1. Log on to your Magento Admin Panel.
  2. Go to System => Configuration
  3. On the left side under Advanced click on System (Advanced = > System)
  4. Under system you will see “Log Cleaning” option
  5. Fill the desired “Log Cleaning” option values and click Save.

How to clean the logs through Command line or through phpmyadmin:-

  1. Open the database you are using for your store.
  2. Open the tables as stated above and truncate them.

Note:– Truncate means you are only deleting the values from the tables. Structure remains same. Never drop any table.

You are all done. You can also write a script to truncate the values of this tables on regular interval by putting it in cron. I will explain that in my next post.

Happy Reading and leave you valuable feedback.

Integrating Mailchimp into Magento Store

23 Aug

mailchimp-magento-integration

Mailchimp email subscription is a powerful tool if you want to send mass mails. If you are looking for how to integrate Mailchimp into your Magento store, you are at the right place. Go ahead and happy reading.

There are lots of mangento store but the store owners are not very happy with the default email subsciption of magento because they face various problem like:-

  • Cannot send the newsletter right away because their local time is not the same as of server time. Eventually, their newsletter campaign will be sent few hours later than the intended time. Although, this can be adjusted with a little tweak. But why to adjust when you already have mailchimp.
  • There is a limit on how many emails can be sent at one go. And they cannot sent mass email at a point of time.
  • Cron Management and all as you need to sent lots of triggered mailers.

You might be managing third party email subscription if you are also facing the same problem. Like Mailchimp, Feedburner,  etc. to manage their email lists and send out mass email newsletters or promotional emails. Today I will cover how to integrate Mailchimp email subscription within Magento store and how to create html newsletter in Mailchimp.

There are two ways to integrate Magento email subscription into your store:

  • Install existing extensions e.g. Advanced Newsletter (aheadworks), MailChimp Synchronization (ebizmarts) or E-Commerce 360 (mailchimp).
  • Manual Install

In this Article we will cover how to install Mailchimp manually:-

Below are the steps:

  • Log on to your Mailchimp account.
  • Click on “Lists” tab. It will show a list of all available Newsletter (If not please create one for your store).
  • Click on setting to explore more.
  • Click on the secondary tab called “for your website” Now, let’s click on “Signup Form Embed Code” link.
  • It will open up your Signup form designer with options like “Design Form Structure”, “Form Colors” & “Form Enhancements”. Modify or change the form and once all done click on “Create Embed code”. Copy the embed code from the text area at the left.
  • Your Mailchimp signup code is ready, Now add this code to your Magento store and replace the existing signup code (i.e the default one). You can change the code by editing app/design/frontend/default/theme/template/newsletter/subscribe.phtml.
  • You need to change the CSS and all to give your look and feel.

Thats all. You are done.

Now you are ready to draft your own newsletter. Go ahead and let me know if you find any problem in integrating it with your Magento Store.