Saturday, 28 December 2013

Ruby On Rails Web Development

         Ruby On Rails Web Development



Web Development with Ruby On Rails

Get the best of latest technologies from the experts in the field who are adept at frameworks, programming languages and development of latest web related tools that suit your business requirements perfectly. Ruby on Rails is a fast track website development technique that offers faster access to the online companies and users.
Ruby on Rails Overview
Ruby on Rails, aka RoR is a web application framework which is open source too that is written in ruby and follows the MVC…model-view-controller architecture whose aim is to catalyze the speed with which the websites that are database driven can be created. This language offers the scaffolding from the beginning and hence you get the skeleton code frameworks in different packages like the active record (for greater database interactivity), action pack (starts from request and goes up to response), active support (standard library extensions and utility classes from Rails) and action web service (available in the form of server side support and also other support features that brings about interoperability with other major platforms too).
At TechiesTown, we are adept at using the ideal combination of RUBY with RAILS Web application framework so that website development is not only quick but also highly economical for all our clients. With the help of the architecture that comes through this web framework, we are able to organize all our application programming easily. With the help of scaffolding we are able to build the most basic of websites too and this Ruby on Rails development supports SQL Servers, PostgreSQL, and MySQL and Oracle databases too.
As website development involves a few goals that are to be achieved, our RoR programmers and web development designers are at it to give you the refined output after having understood the requirements you have for your business. The features, methodologies and principles that have made Ruby on Rails development very popular with most of our clients are Don’t Repeat Yourself (DRY) and Convention over Configuration (CoC) and Agile Development Methodology. RoR technology has become popular with the developers too as it is not only a economical web application that can be accomplished in less time and less coding, it enables them to cater various facilities during the development process like code reusing.

Why use TechiesTown for Ruby On Rails Web Development Services?

We can vouch that our services as far as Ruby on Rails development is top notch and you can get expert consulting services in the areas of development, application maintenance, modernization as well as migration. We also offer services in debugging, testing and also in evaluating current applications in your website so as to avert any Ruby on Rails slowdowns or crashes.
Our RoR experts are open for any latest changes and keep themselves informed of the same to stay active on the online marketplace. We have a well coordinated R&D team that can implement the latest updates in the field. Our team is capable of developing robust RoR applications that would suit each individual business.
Get in touch with us to learn more details about RoR.

Thursday, 26 December 2013

Ruby On Rails -- Making a new project.


Now lets start with ruby on rails.
After installation of rails proceed in your cmd

>rails new sampleapp 
   :- This will make all the directory require directory in c:/sites/
  sampleapp/
...../assets
..../app
......../controller
......../helpers
......../models
......../views
............../layouts
..../components
..../config
..../db
..../doc
..../lib
..../log
..../public
..../script
..../test
..../tmp
..../vendor
README
Rakefile

Now let's explain the purpose of each directory
  • app : This organizes your application components. It's got subdirectories that hold the view (views and helpers), controller (controllers), and the backend business logic (models).
  • app/controllers: The controllers subdirectory is where Rails looks to find controller classes. A controller handles a web request from the user.
  • app/helpers: The helpers subdirectory holds any helper classes used to assist the model, view, and controller classes. This helps to keep the model, view, and controller code small, focused, and uncluttered.
  • app/models: The models subdirectory holds the classes that model and wrap the data stored in our application's database. In most frameworks, this part of the application can grow pretty messy, tedious, verbose, and error-prone. Rails makes it dead simple!
  • app/view: The views subdirectory holds the display templates to fill in with data from our application, convert to HTML, and return to the user's browser.
  • app/view/layouts: Holds the template files for layouts to be used with views. This models the common header/footer method of wrapping views. In your views, define a layout using the <tt>layout :default</tt> and create a file named default.rhtml. Inside default.rhtml, call <% yield %> to render the view using this layout.
  • components : This directory holds components tiny self-contained applications that bundle model, view, and controller.
  • config: This directory contains the small amount of configuration code that your application will need, including your database configuration (in database.yml), your Rails environment structure (environment.rb), and routing of incoming web requests (routes.rb). You can also tailor the behavior of the three Rails environments for test, development, and deployment with files found in the environments directory.
  • db: Usually, your Rails application will have model objects that access relational database tables. You can manage the relational database with scripts you create and place in this directory.
  • doc: Ruby has a framework, called RubyDoc, that can automatically generate documentation for code you create. You can assist RubyDoc with comments in your code. This directory holds all theR ubyDoc-generated Rails and application documentation.
  • lib: You'll put libraries here, unless they explicitly belong elsewhere (such as vendor libraries).
  • log: Error logs go here. Rails creates scripts that help you manage various error logs. You'll find separate logs for the server (server.log) and each Rails environment (development.log, test.log, and production.log).
  • public: Like the public directory for a web server, this directory has web files that don't change, such a s JavaScript files (public/javascripts), graphics (public/images), stylesheets (public/stylesheets), and HTML files (public).
  • script: This directory holds scripts to launch and manage the various tools that you'll use with Rails. For example, there are scripts to generate code (generate) and launch the web server (server).
  • test: The tests you write and those Rails creates for you all go here. You'll see a subdirectory for mocks (mocks), unit tests (unit), fixtures (fixtures), and functional tests (functional).
  • tmp: Rails uses this directory to hold temporary files for intermediate processing.
  • vendor: Libraries provided by third-party vendors (such as security libraries or database utilities beyond the basic Rails distribution) go here.
Apart from these directories there will be two files available in demo directory.
  • README: This file contains a basic detail about Rail Application and description of the directory structure explained above.
  • Rakefile: This file is similar to Unix Makefile which helps with building, packaging and testing the Rails code. This will be used by rake utility supplied along with Ruby installation.

    Workflow for creating Rails applications:

    A recommended workflow for creating Rails Application is as follows:
    • Use the rails command to create the basic skeleton of the application.
    • Create a database on the MySQL server to hold your data.
    • Configure the application to know where your database is located and the login credentials for it.
    • Create Rails Active Records ( Models ) because they are the business objects you'll be working with in your controllers.
    • Generate Migrations that makes creating and maintaining database tables and columns easy.
    • Write Controller Code to put a life in your application.
    • Create Views to present your data through User Interface.

Wednesday, 25 December 2013

RUBY ON RAILS STARTUP -INSTALLATION PROCESS (Only for windows user)

Ruby is a dynamic, reflective ,object oriented ,general-purpose programming languag. It was designed and developed in the mid-1990s by Yukihiro "Matz" Matsumoto in Japan.
Ruby embodies syntax inspired by Perl with Smalltalk-like features and was also influenced by Eiffel and Lisp.It supports multiple programming paradigms, including functionalobject oriented, and imperative. It also has a dynamic type system and automatic memory management. Therefore, it is similar in varying degrees to SmalltalkPythonPerlLispDylan, and CLU.
Rails Around 2005, interest in the Ruby language surged in tandem with Ruby on Rails, a popular web application framework written in Ruby. Rails is frequently credited with making Ruby "famous".
[NOTE : No Need to go in more details this is more then enough].
INSTALLATION OF RUBY ON RAIL:


Ruby-On-Rails

I prefer "link1" for the up-to-date rails installer.
Thank you.


Saturday, 21 December 2013

Wednesday, 18 December 2013

Friday, 13 December 2013

The lost city of Heracleion

The lost city of Heracleion
It was only a legend. Appearing in a few rare inscriptions and ancient texts the city of Thonis-Heracleion was not something anyone expected to find, and no one was looking for it. 
So it was something of a shock when French archaeologist Franck Goddio, looking for 18th-century French warships, saw a colossal face emerge from the watery shadows. Goddio had stumbled upon Thonis-Heracleion completely submerged 6.5 kilometres off Alexandria's coastline. Among the underwater ruins were 64 ships, 700 anchors, a treasure trove of gold coins, statues standing at 16 feet, and most notably the remains of a massive temple to the god Amun-Gereb, and the tiny sarcophagi for the animals that were brought there as offerings. 
The ruins and artifacts made from granite and diorite are remarkably preserved, and give a glimpse into what was, 2300 years ago, one of the great port cities of the world. The harbor of Thonis-Heracleion (the Egyptian and Greek names of the city) controlled all the trade into Egypt. 
Built around its grand temple, the city was criss-crossed with a network of canals, a kind of ancient Egyptian Venice, and its islands were home to small sanctuaries and homes. Once a grand city, today its history is largely obscured and no one is quite sure how it ended up entirely underwater. 

Saturday, 7 December 2013

SHIVA LINGAM

 A BRIEF STUDY  ABOUT "SHIVA-LINGAM"


WHAT IS SHIVA LINGA ?
Many viwers are little confused with
the concept of linga,so i wish to
clarify it more.It represents the
"column of light" appeared during
the debate of Brahman and Vishnu.
It has been a common myth that
Shiva Lingam represents male
genital organs. This is not only
misleading but also base less. Such
misinterpretations are done in later
Vedic period and popularized much
later, when Indian literatures
actually came into hands of foreign
scholars. It was difficult to interpret
the language and a word may have
different meaning depending on the
context.
Some of the easy interpretation may
be misleading. And such
misinterpretation may actually be
welcome, if you want to find the
defects in somebody else’s faith.
This misunderstanding is can be one
of the most glaring examples of
such a situation. Misinterpretations
of actual Sanskrit literature led to
this false belief. Shiva Lingam is a
differentiating mark; it is certainly
not a sex mark.
The Lingam Purana states:
प्रधानं प्रकृतिर यदाहुर्लिगंउत्तम ।
गंध-वर्ण-रसहिंनं शब्द-स्पर्शादिवर्जितं ॥
meaning:
the foremost Lingam which is
devoid of colour, taste, hearing,
touch etc is spoken of as Prakriti or
nature.
The nature itself is a Lingam (or
symbol) of Shiva. When we see
nature, we infer the presence of its
creator – Shiva. Shiva Lingam is the
mark of Shiva the creator, Shiva the
sustainer and Shiva the destructor.
It also dispels another myth in
which Shiva is considered only as a
destructor.
Another authentic reference comes
from Skanda Purana where lingam is
clearly indicated as the supreme
Shiva from where the whole
universe is created and where it
finally submerge.
आकाशं लिंगमित्याहु: पृथ्वी तस्य पीठिका।
आलय: सर्व देवानां लयनार्लिंगमुच्यते ॥
(स्कन्द पुराण)
The endless sky (that great void
which contains the entire universe)
is the Linga, the Earth is its base. At
the end of time the entire universe
and all the Gods finally emerge in
the Linga itself.
From Vedanta :- A subtle
representative of God that is present
in our body. Kundalini is coiled with
it in three and half coils. This is
what Shiva Lingam and snake coiled
round depict in our temples. It
shows Paramatman in the form of
Atman and Shakti in the form of
Kundalini.
From Sankya :-The Mool Prakriti
that absorbs all the Vikriti came
from it finally.
From Nyay Shastra(V. Imp) :- A
source that can help us to know
exactly about a matter or event. So
formless Lingam represents the
formless power of this universe that
is the origin of all the matter and
the events of this universe.
Simple meaning :- Symbol by that
help us to know to recognize any
event or matter as stated above.
Though it is the source of creation,
the male sex organ was also given
this name as a source of
reproduction but it is not the main
meaning it is a derived meaning.
Meanings of Yoni are body and
origin. There are 84 lacs Yonis
(bodies) in which soul(Lingam)
travels. It is also called source
becasue all creation came from.
When this Lingam(atman) come out
of this circle of Yonis, It simply
looks like Shiva Lingam. Just a
symbol of tearing the circle of
rebirth.
This is what Yoni Lingam represents.
Yoni is also called vagina because
the main meaning of Yoni is origin
as life originates from vagina. So
Penis and Virgina are not the main
meaning of Lingam and Yoni. They
are symbolically called so.
"Yoni is also called Bhaga. That
means all the luxuries and pleasure
of this universe and Shiva Lingam
symbolizes how Atman tear them
apart to meet it real source
Parabrhaman"
In some sex-oriented lliterature of
Sanskrit. Vagina is the all luxury and
pleasurous thing for lusty people.
So, it was called Bhaga.
From Shiva Purana:-
We should worship Shiva Lingam
because Bharg(Shiv) is the the
masculine power aka Purusha and
Parvati is the feminine power
(Bhargaa) called Prakriti. Formless
kind of thing that is the base of this
universe is Lingam(Shiva) and the
origin of the creation that bring this
universe in to existence is Yoni
(Paravati). Both Prakriti and
Purusha are the reason of this
visible world we are watching. This
is what Lingam and Yoni represents.
The soul again and again sent here
by Purusha and again and again
preserved in Maya(prakriti).
So SHIVA LINGAM IS THE PARENTAL
MANIFESTATION OF THIS UNIVERSE.
Human body is made of 5 kalas
while Sakara Brahman (Krishna and
Shiva) contains 16 kalas that is why
we worship them. But they are not
confine to only 16 kalas. They are
also beyond them. That is why we
called them (Nishkal) means without
kalas. Shiva Lingam also presents so.
IT IS A FORMLESS REPRESENTATION
OF GOD.
SHIVA LINGAM IS THE ONLY
NIRAKARA REPRESENTATION IN
SCULPTURES OTHERWISE YOU WILL
SEE THAT ONLY SAKARA BRAHMAN
IS WORSHIPED IN SCULPTURES(LIKE
SHIVA, RAMA, KRISHNA, GANESHA
ETC.)
During the creation a debate took
place between the creator Brahma
and the preserver Vishnu that who
Shiva is. Just then this "Column of
light" appeared in front of them on
the Hindu month of Margasheersha
and Hindu date Poornima or
Pratipada. When both the demigods
failed to know the real origin and
end of this column, Shiva appeared
in his visible form. He preached
both of them the real meaning of
Shiva Lingam.
He said,
" I have two form, Sakala(with
form) and Nishkala(with out form).
This column of light is my real
form. Brahman is my Nishkala form
and Maheshwara is my Sakala form.
When I come with sixteen kalas, I
become Sakala and when I present
in the crude energy, I am called
Brahman. Brahman means the most
enormous(Brihat) and the creator of
all. Lingam depicts my formless
Brahman power. This is my Lingam
(symbol). Lingam(Braman) and
Lingee(Atman) are same. therefore
the great souls should also worship
me. One who has established Shiva
Lingam somewhere in his life, he
gots Sayujya Moksha(eternal
company of Shiva)

Monday, 2 December 2013

In today’s world the technology is growing up as the speed of light in the every field of study, where the automatic computerized system specially the wireless system play very important and emerging role. So the computerized technology that is very time consuming and gives precise outcome in the field of the academic sector and the corporate sector. According to the present situation of the academic sector and the corporate sector is somewhat more paper work and much time consuming. 
The “MTIC: Multi-Functional Touch Identity Card” is a project to help especially to the people associated with the corporate sector and the corporate sector, especially in the academic sector the students should not worry about the attendance it would be done automatically by the RFID reader kept at the class rooms as well as in the every corner of the campus, which is controlled by the main server as the admin office which has each and every data of the identity card, when the student or the employee enters the campus area the MTIC gets activated, the details of the user can be seen by passing the first module of the biometrics security of figure touch. The MTIC starts vibrating at any time in the time span of one hour, which shows the presence of the student in the class, similary for the corporate employee the time span is of 3 hours. The another function is of the messaging from the higher authority till the student, no communication between the students and in the corporate employee, the marks of the test is directly displayed on the MTIC which save the time of announcing in the lecture. The tasks which is to be done by the employee is given to the employee daily, meeting time can also be directly displayed on MTIC.

The ultimate aim of this project is to develop “MTIC: Multi-Functional Touch Identity Card” is to save the unusual time of the academic and corporate sector, reduce the paper work to maximum extent, and make the people to use the latest technology rather than the old normal identity cards.