
Search In
Defining relations between different objects in our application, for instance, a state have many cities, and belongs to a country , is termed as associations. Association establish a way to represent the database table relationship inside Cakephp. It
Defining One to One Relationship
To define a situation of one to one relationship in modals we think of a situation where we store information about authors and books. This means that book has only one author this is one to one relationship. To defi
In MVC while creating views we need to show data in the page which contain the different kind of HTML controls.
For this we have one control called the @Html.DisplayFor that is like a label we have in HTML.
So it is
SQL data type is an attribute that tell us the type of the object.
SQL server has 6 type of datatype
Exact numeric data type
1. bigint- Range start from -9,223,372,036,854,775,808 to 9,223,372,036,854,775,807
2. int- Range start from -2,147,483,6
Active records gives us different ways to retrieve single objects from it.
Those methods with examples are given below :
find
The find method allows us to retrieve a single object or we can say single record from the database by passing i
View Engine
Rendering of the view into HTML form to the browser is done by view engine in ASP.NET MVC.
ASP.NET MVC supports various types of view engines but commonly used view engines are :-
Web form / ASPX view engine
Razor view
WordPress doesn’t have a bad security record compared to other content management systems in its class. An up-to-date and properly maintained WordPress site is as secure as any other CMS. Most hacked WordPress sites are out-of-date or otherwise
SOAP:Simple Object Access Protocol defines the request and response message format in a web service. It is XML-based communication format and encoding format for inter-application communication. SOAP is built to use for cross-platform, cross-language
String Functions
String functions are the part of core PHP. These are used to manipulate string data. Following are some commonly used string functions used in PHP. These are:
addslashes : Adds slashes to specified characters (
There is a vast range of frameworks in Web Application Development which makes it a challenging task for the developers to opt for the most suitable one. The reason is the diverse components, tools, community support and also the architecture that ca