Monday, 28 May 2018

022 Weekend Tour Baba Barakachari

Baba Barakachari temples very near to Kolkata, it is just 14 km from Thakur pukur. Baba Barakachari is very popular Hindu religious place, thousands of  devotee come here to worship daily. 




Baba Barakachari idol is a fig tree ,locally name Aastha , beside this, idol of Shiva, Krishna, Bramha is there. People from different part of the area come here an offer Pooja to Baba Barakachari. In the temple area, there is a large pond, devotee take Bath there. In the temple area, there are a large number of small shops, selling elements for wordship. Devotee ask blessing from Baba Barakachari.

 




Baba Barakachari means "Grand Court"  in local Bengali lanfuage, however it is a temple of Lord Shiva. You can come here by two ways, home Thakurpukur Amtala  to Bakhrahat, then take a rickshaw auto to reach the  Temple. Or you can reach home Charial  to Bakrahat , then Rickshaw  auto to the temple. 



Baba Barakachari is very popular, during the month of "Baisakh"  in Bengali , devotee from far away, walk here to pour  water the Lord Shiva. They carry the water, to their own shoulder the  entire way, finally offer to the Lord Shiva. Baba Barakachari is a one day tour for religious people of Hindu.

021 Weekend Tour Shantipur

Shantipur is famous for Rash festival . It is very near to Kolkata. Santipur is a Municipal area under Ranaghat division of Nadia district West Bengal India. Shantipur celebrate several festival like dol festival ,Rash festival ect. But it is famous for Rash festival. Big big pandals, Grand procession, lighting, sound of different playing instrument change the ambience of Shantipur in those days. 



Rash festival last for 4 days, last day, people do Grand  procession with drums, Kirtan, 108 dhaki ,banjo and other different playing instrument  in the road . Hindu people in those days goes to very festival mode  with their festival, they visit pandals to pandals and visit the idols and the decoration. Idols are generally made of clay, different Portrait of a epics  with background decoration.





Goswami Bari, Modan Gopal Thakur Bari, Radha Bollova  are very well known for Rash festival. Another attraction of Santipur is  Santipur library, one of the interesting for ancient culture and heritage. 



Shantipur is very near to Kolkata, almost each hour, train from Sealdah to Santipur is available. Shantipur is well connected with Kolkata by road also, you can  go to Shantipur by SBSTC bus from Esplanade. To visit Shantipur Rash festival, We hired an Toto , it was around 2 hours to visit almost all pandals,  there are plenty of Toto  available  in the Shantipur. We hired   at Rs.200. Could not found any good restaurant in the Shantipur,we took our launch by at Fulia, the nearest railway station of Santipur.

Shantipur also famous for saree. Santipur  produce  the traditional Bengali tant sarees. You can purchase from the manufacturer all wholesaler also.


020 Weekend Tour Chandipur

Another weekend Getaway of Odisha  is Balasore, commonly known as Baleshwar . Balasore is  a district  of Odisha,India.
Chandipur : Chandipur is the main attraction of Balasore. Auto , Traker service available  to move go Balasore to Chandipur. Chandipur is a good beach spending time after  a hectic weekend. Chandipur sea  play Hide and Seek with the visitor, during the high tide, sea appear near you , during low tide the sea goes far away. We walked around 2 to 2.5 km during low tide to see the sea . During high tide , people bath on the beach with the Rolling waves . We noticed,small car are  moving around the beach during low tide. You will find a lot of red crabs  in the beach , if you walk through during the low tide time. There are several private and government hotels near Chandipur beach, you can visit OTDC website for booking purpose.










Devkund Waterfall : Devkund waterfall is very famous picnic spot and very attractive to the tourist, huge waterfall is falling around 50 fit with roaring sound within a deep forest. Devkund waterfall is situated in Simlipal forest of Odisha. Dense forest, creeping of birds,  roaring of water create a beautiful ambience here. Beside waterfall, you can ride around 100 staircase to visit Devi Ambika Mata Temple. You can worship here  and ask blessing from Devi Ambika Mata. You should keep in mind,  you have to travel around half kilometre by walk, card will be stop at a place near Devkund Falls, the rest you have to travel by walk.






Similipal : Similipal is a wildlife sanctuaries of Odisha. It is a tiger reserve. Leopard, elephant, dear, crocodile are found here. It is a dense forest and deep green all around the forest, most of them are sal trees. You can stay in the Jungle or night stay in the jungle, you can visit otdc for this purpose.











Panchalingeswar  : Panchulingeswar is another place to visit near Chandipur. Panchalingeswar is situated at the top of a hill , you have to  upstairs around 250  to reach panchalingeswar. Panchalingeswar is idol of Lord Shiva, you will not be able to see the idol of Lord Shiva, the ideal is immerse in a  small flow of water , you have to put your hand to touch the idol of Lord Shiva. You can wordship  Lord shiva and ask for blessing. The scenic beauty of this place is wonderful.

Who is well connected with Kolkata, we boarded at Falaknuma Express at around 7:30 a.M and reach Balasore around 11:30 A.M. Then book a auto to reach Balasore.

Thursday, 24 May 2018

005 KnockoutJS template binding

Template binding  is a sophisticated way to bind a template with associated DOM  result of rendering a template. Template binding smart  to build a sophisticated  interface structure  may be repeated and nested as per the function of view model data.

There are two type of template binding


Native
templating : Native templating generally used for printing for each , if , with control flow  bindings. This type of bonding capture the HTML markup  element and use as a template rendering against data item.

String based templating : String based computing is a way to connect  to third party template. By passing model  value to the external template , inject  the templates string  to the HTML document.



Parameters

To make a template the following properties can be sent as parameter-value to template.

  • name − The ID of an element that contains the template you wish to render .
  • nodes − This represents an array of DOM nodes to be used as the template.This     is optioanl if you have also passed a nonempty value for name. 
  • data − object data will be render  via the template.
  • if − The Template will only be rendered only if this parameter expression evaluates to true.
  • foreach − To loop template in foreach format.
  • as − This is to make an alias in foreach element.
  • afterAdd, afterRender, beforeRemove − Callable functions to be executed depending on rendered DOM elements.

A Simple named template

In this example, we have used person template and the template is wrapped with script tag. To prevent the template as JavaScript execution it typed dummy is  added  in the scripted.


 
Example



<!DOCTYPE html>
<body>
           <script src="https://cdnjs.cloudflare.com/ajax/libs/knockout/3.3.0/knockout-min.js"
type="text/javascript"></script>

            <div data-bind="template: { name: 'person-template', data: myName }"> </div>

<script type="text/html" id="person-template">
 
        
                 
 
</script>
<script type="text/javascript">

var myViewModel = function ()
{
        this.myName = { FirstName: 'John', LastName: 'Rich' };
};

ko.applyBindings(new myViewModel());

</script>
</body>

Output :

John Rich



A Simple named template with foreach

The following is a example of foreach parameter along with template name.

Example

<!DOCTYPE html>
<body>

            <script src="https://cdnjs.cloudflare.com/ajax/libs/knockout/3.3.0/knockout-min.js"
type="text/javascript"></script>

<div data-bind="template: { name: 'person-template', foreach: myName }"> </div>

<script type="text/html" id="person-template">
         
         
</script>

<script type="text/javascript">

var myViewModel = function ()
{
          this.myName = [{ FirstName: 'John 1', LastName: 'Rich 1' },
                                    { FirstName: 'John 2', LastName: 'Rich 2' },
                                    { FirstName: 'John 3', LastName: 'Rich 3'}]
};
 
ko.applyBindings(new myViewModel());

</script>
</body>

Output :

John 1 Rich 1
John 2 Rich 2
John 3 Rich 3


Creating alias Using as Keyword for foreach Items

The examples for how and alias can be created with foreach.

Example



<!DOCTYPE html>
<body>
<script src="https://cdnjs.cloudflare.com/ajax/libs/knockout/3.3.0/knockout-min.js"
type="text/javascript"></script>


<ul data-bind="template: { name: 'seasonTemplate', foreach: myData, as: 'season' }"></ul>
<script type="text/html" id="seasonTemplate">



  • </script>
    <script type="text/html" id="monthTemplate">
    |
    </script>
    <script>
    var viewModel = {
    myData: ko.observableArray([
    { FistName: 'John 1', LastName: 'Rich 1', Marks: [90, 100, 95] },
    { FistName: 'John 2', LastName: 'Rich 2', Marks: [89, 99, 96] },
    { FistName: 'John 3', LastName: 'Rich 3', Marks: [88, 98, 97] },
    { FistName: 'John 4', LastName: 'Rich 4', Marks: [87, 97, 98] }
    ])
    };
    ko.applyBindings(viewModel);
    </script>
    </body>

    Output :














    Using afterAdd, beforeRemove, and afterRender

    In some situation, you need some extra code  to be puted  after some event. After ad function  is invoke  when a new item is added in array

    Example

    <!DOCTYPE html>
    <head>
    <script src="https://cdnjs.cloudflare.com/ajax/libs/knockout/3.3.0/knockout-min.js"
    type="text/javascript"></script>
    <script src="https://code.jquery.com/jquery-2.1.3.min.js" type="text/javascript"></script>
    </head>
    <body>
    <div data-bind="template: {
    name: 'person-template',
    foreach: myPerson ,
    afterRender: RenderMe
    }">
    </div>
    <script type="text/html" id="person-template">
    </script>
    <script type="text/javascript">
    function viewModel() {
    this;
    this.myPerson = ko.observableArray([
    { fisrtName: 'Jonh 1', lastName: 'Rich 1' },
    { fisrtName: 'Jonh 1', lastName: 'Rich 2'},
    ])

    this.RenderMe = function (elements, data) {
    $(elements).css({ color: 'Green' });
    }
    }
    ko.applyBindings(viewModel);
    </script>
    </body>
    </html>

    Output
    Jonh 1 Rich 1
    Jonh 1 Rich 2


    বাঙালির বেড়ানো সেরা চারটি ঠিকানা

      বাঙালি মানে ঘোড়া পাগল | দু একদিন ছুটি পেলো মানে বাঙালি চলল ঘুরতে | সে সমুদ্রই হোক , পাহাড়ি হোক বা নদী হোক। বাঙালির ...