AvyaTech
  • +91-9818758244
  • info@avya-tech.com
  • live:avyatech
  • Services
        • Custom software development services

          All Services

        • Web DevelopmentWith impeccable precision through our web development services; marked by technical supremacy to create a robust two-way handshake.
        • Application DevelopmentWe are a leading web application development company that offers a fully functional…
        • Technology Audit and ConsultancyTransform how you use technology to achieve your business objectives…
        • Agile development teams on demandScalable, agile teams employed by AvyaTech help you develop …
        • Mobile App DevelopmentWe fully understand the challenges faced by businesses across different…
        • Website Support and MaintenanceAvyatech delivers expertise for your time-to-time requirements…
        • Cloud & DevOpsDesign, think, and build intelligent apps for the cloud with AvyaTech…
        • Digital MarketingMaking your digital marketing goals a reality is at the heart of what…
        • Quality AssuranceAdvance your quality testing processes through intelligent automation…
  • Technology
        • Bet on technologies that will work even years from now
        • Web Development
          • Laravel
          • WordPress
          • Node.js
          • Vue.js
          • AngularJS
          • WooCommerce
          • ReactJS
          • Magento
        • Cloud & Devops
          • AWS
          • Kubernetes
          • Docker
          • Serverless
          • Microservices
        • Mobile Development
          • iOS
          • Android
  • Company
        • Get to know us better
        • About UsAvyatech offers a full range of cutting-edge IT solutions including website design, software creation and mobile application development.
        • Our TeamAvyatech is a professional and future-oriented IT firm based out of Delhi / NCR. We have an experienced team of developers, designers and programmers.
  • Our Work
  • Hire Developer
  • Career
  • Blog
  • Contact Us
  • Which is Better Custom Website Design vs Template Website

    Custom Website Design vs Template Website

    Kill the business or goodwill of the business that’s how a website can impact your business. A website is an online or internet presence of your online development business. I don’t think we should use more words to explain the importance of a website. As the importance of your online presence, functionality with an outstanding look of the website is also important to target the right and high brands, to make a top-level presence in the hierarchy of the business.

    The website should be designed and build according to your business type. It’s a major and very crucial thing that I always say to every business owner is a “Quality”. No matter its a small scale business or large scale business, no matter you’re delivering or doing for your own,  no matter it’s a custom-crafted or prebuilt layout based website never ever compromise with the quality, today’s little saving can prove a costly mistake in the future. Now a question arises which one is best for our business type.

    template vs custom website design

    “A custom website or template website.”

     If you’re thinking I am going to share pros and cons between this two then you’re wrong. Nothing is bad; nothing is perfectly good unless you haven’t analysis your specific needs and goals. I am out of money or you can say business with a very low budget then what’s the use of investing ample amount on a custom website. So it’s a crystal clear if you’re looking something to be built quicker and easily and want an update in-house or in hands, then prepackaged graphics or template website is the perfect and right solution for your business need.

    Templates are also designed and developed by well-experienced professionals so no need to worry about its look and functionality, all are fully tested and well matches with current trends. Like me, if you also have unique instincts in you and looking search engine friendly then template website might not be a perfect fit for you. Loose your pocket as all these things can also be done on the pre-defined web site by paying few dollars or may be more up to your need. But forcing on a custom website without understanding your business need, functionality, budget etc is extremely thoughtless.

    Customized, costly, specifically created and designed according to the individuals need or business specific or brand specific and of course exclusively designed, responsive and SEO and browser friendly square shape site is a perfect option for long term business with a high budget. If you are a brand builder or building an image then the custom website is the only solution which can offer you a high return on investment. The perfectly designed bespoke custom website is also search engine optimized, unlike predefined website where you need to hire professionals to improve its ranking and traffic.

    If your purpose is long term, high traffic and extremely secure website and also chances to integrate third party software in future then go with custom based websites.

    Initially, it can be an expensive investment as it requires a lot of group effort and planning to develop but soon you’ll realize the smart and profitable benefits of this expensive investment such as it helps in engaging potential users and clients, help to grow your business in a competitive environment.

    “So go with or what your need. “

  • How to Download a Branch or Tag from Bitbucket Server using the Command Line

    How to download a branch or tag from the bitbucket server using the command line. To download the Bitbucket branch/tag as a zip file from the command line. Do the following steps:

    Step 1: Login to your server
    Step 2: Copy the below line and change the Username, download zip url as mentioned below.

    curl --user #username# -L -O https://bitbucket.org/#team_name#/#repo_name#/get/ 
    

    You need to replace ## value with correct details and it will look like as below:

    curl --user chandanavyatech -L -O https://bitbucket.org/avyatech/wp-dev/get/3ec81d47abe4.zip
    

    Step 3: Press Enter and it will ask for a password (bitbucket login password).

    Step 4: Once you enter the correct password it will start to download the zip file.

  • BonitaSoft: Custom Widget for BDM Download CSV

    CSV File Download

    • Create a page and add a variable of type external API.

    Custom Widget for BDM Download CSV

    StepForm being the name of Business Data Model whose data we are going to download in CSV format. “find” being the query in BDM that will return all field values of database.

    • Create a custom widget that when used in UI designer will look like as

    Custom Widget for BDM Download CSV
    • Open the UI Designer window from Bonitasoft studio and click on the Create button on the left side, choose custom widget, provide it a name and click create. This will open a create widget window.Code the HTML part for the widget in a template field.

    Custom Widget for BDM Download CSV
    • Code the jquery part in Controller section. Complete code will look like

    function ($scope){
    $(".download").click(function() {
    // var FileName = $("#filename").val();
    var  ColumnHeading=$scope.properties.fieldName;
    var JSONData = $scope.properties.pageData;
    // var exclude = $("#exclude_col").val();
    /* if(FileName==""){
    alert("Please enter file name");
    return false;
    } else {
    //alert($scope.properties.pageData);
    $(".txtarea").html($scope.properties.pageData);
    $scope.apiData =  $scope.properties.pageData;*/
    JSONToCSVConvertor(JSONData,true, $scope.properties.FileName , $scope.properties.exclude, $scope.properties.fieldName);
    });
    //});
    
    function JSONToCSVConvertor(JSONData,ShowLabel, FileName, ExcludeCol, ColumnHeading) {
    var arrData = typeof JSONData != 'object' ? JSON.parse(JSONData) : JSONData;
    var excludeArr  = ExcludeCol.split(",");
    var excludeArrIndex = [];</code>
    var CSV = '';
    if (ShowLabel) {
    var row = "";
    for (var index in arrData[0]) {
    // alert (Index);
    if($.inArray(index, excludeArr)===-1){
    row += index + ',';
    }
    }
    row = row.slice(0, -1);
    CSV += row + '\r\n';
    }
    for (var i = 0; i < arrData.length; i++) {
    var row = "";
    for (var index in arrData[i]) {
    if($.inArray(index, excludeArr)===-1){
    var arrValue = arrData[i][index] == null ? "" : '' + arrData[i][index] + '';
    row += arrValue + ',';
    }
    }
    row.slice(0, row.length - 1);
    CSV += row + '\r\n';
    }
    if (CSV == '') {
    growl.error("Invalid data");
    return;
    }
    var fileName = FileName;
    if(msieversion()){
    var IEwindow = window.open();
    IEwindow.document.write('sep=,\r\n' + CSV);
    IEwindow.document.close();
    IEwindow.document.execCommand('SaveAs', true, fileName + ".csv");
    IEwindow.close();
    } else {
    var uri = 'data:application/csv;charset=utf-8,' + escape(CSV);
    var link = document.createElement("a");
    link.href = uri;
    link.style = "visibility:hidden";
    link.download = fileName + ".csv";
    document.body.appendChild(link);
    link.click();
    document.body.removeChild(link);
    }
    }
    function msieversion() {
    var ua = window.navigator.userAgent;
    var msie = ua.indexOf("MSIE ");
    if (msie != -1 || !!navigator.userAgent.match(/Trident.*rv\:11\./)) // If Internet Explorer, return version number
    {
    return true;
    } else { // If another browser,
    return false;
    }
    return false;
    }
    }
    
    • Create a new property to link controller variable and UI designer variable, property name to be controlled variable’s name and label name which will be displayed in UI designer choose type as a collection for JSON. Here create a property for pageData that will hold the JSON data and set its type as collection

    Custom Widget for BDM Download CSV
    • If we want to provide the file name from UI designer then bind the variable for the file name(here variable name in the controller is FileName) in properties, with property name as a variable name in the controller and give label which will be displayed in UI designer.

    Custom Widget for BDM Download CSV
    • If we wish to exclude some of the column values to be downloaded in CSV file then create a variable in the controller and bind that variable in in the property by creating a new property with value as variable name.

    Custom Widget for BDM Download CSV

    Using this custom widget in UI designer and setting its property values as:

    Custom Widget for BDM Download CSV
    • The name we provide here as property value will bind to controller variables.(a)JSONData will hold the source of JSON data from where data will come.(b)ColumnExclude will hold the column headings that will be excluded in CSV file.(c)Name of File will be the name of the downloaded file with .csv as the file extension.

    •  It will look like as:

    Custom Widget for BDM Download CSV
    • The downloaded file content will be as

    Custom Widget for BDM Download CSV
  • Facebook
  • Linkedin
  • Instagram
Drop us a line:

info@avya-tech.com

Services
  • Web Application Development
  • Mobile Application Development
  • Digital Marketing Solution
  • Technology Audit & Consultancy
  • Website Support & Maintenance
  • Quality Assurance As a Service
  • Agile Development teams
  • Cloud Adoption & Engineering
  • Resilient Software Architecture
Technologies
  • Laravel
  • Vue.js
  • Node.js
  • Woocommerce
  • Angular JS
  • Magento
  • React
  • Cloud & DevOps
  • WordPress
Company
  • Services
  • Career
  • Blog
  • About Us
  • Faq
  • Our Team
  • Rss feed
  • Our Work
  • Contact Us
  • Hire Developer
Noida Office

Infinity business tower
Avya technology pvt. ltd.
suite# 406 4th floor
h-221, sector-63,
noida, 201301

US Office
Clutch Good Firms Crowd Reviews Clutch Good Firms Crowd Reviews

© 2023 Avyatech| All rights reserved.

Privacy policy | Terms of service