What is PHP?

Introduction to PHP

PHP is an open-source server-side programming language, also called the use scripting language, embedding the code of PHP into the code of API HTML. The full form of PHP is Hypertext Preprocessor, its original name is Personal Home Page. It was created by Ramsum Lerdorf in 1994.

Php runs on all platforms like Windows, Linux, Unix, Mac, OS, Etsy.

PHP file ka extension .php

What we can do with PHP?

-Can create dynamic pages with PHP.
-Handle button click, radio button:-
Through PHP you can handle the button click event
-Create database application
-client/server application
-Student Registration
-online course
-online shopping cart
-chat rooms

EXAMPLE:-

<!DOCTYPE html>
<html>
<body>

<?php
	echo"Helllo World";
?>

</body>
</html>

What are client and server?

Client

A client is a piece of computer hardware or software that accesses a service made available by a server. For example, web browsers are clients that connect to the web servers and retrieve web pages for display.

Server

A server is a computer program or a device that provides functionality for other programs or devices, called “client”.

There are many servers like: web server, mail server, print server etc.

Client-server Architecture

Client server Architecture:-

2-Tier Architecture:- A 2 Tire Architecture is where the client talks directly to a server.

3-Tier Architecture:- Middleware

If the client has sent the request to the application server, the application server checks that the request is made by the client. If the request is in its data source, then that application server will respond to your request.

Web Browser and Web Server

Web Browser

The web browser is a client, program, software, or tool through which we sent HTTP requests to a web server. It knows how to communicate whit the server. The main purpose of a web browser is to locate the content on the World wide web and display the web page, images, audio, or video form.

Web Server

A web server can be either a software unit or a hardware unit, which provides the web pages via HTTP. The web server gets the request and finds the resources than the response to the client. The web server provides service only for web applications. All the communication between client (web browser) and server takes place via HTTP.

Web server architecture

Web application

A web application or web app is a client-server software application in which the client runs in a web browser.

What is a Website?

Website is a collection of related web pages that may contain text, images, audio, and video. A website can consist of one page, depending on what the site owner is trying to accomplish.

Tagged : / / / / /

Useful Web Development ToolKit

web-development-toolkit
Bokeh
Bokeh is a Python interactive visualization library that targets modern web browsers for presentation. Its goal is to provide elegant, concise construction of novel graphics in the style of D3.js, but also deliver this capability with high-performance interactivity over very large or streaming datasets. Bokeh can help anyone who would like to quickly and easily create interactive plots, dashboards, and data applications.

Quick Example – http://bokeh.pydata.org/en/latest/docs/gallery.html#gallery

Jupyter Notebook
The Jupyter Notebook is a web application that allows you to create and share documents that contain live code, equations, visualizations and explanatory text. Uses include: data cleaning and transformation, numerical simulation, statistical modeling, machine learning and much more.
More Info
bqplot
Plotting library for IPython/Jupyter Notebooks by bloomberg

More Info – https://github.com/bloomberg/bqplot

Bootstrap by Twitter
Bootstrap is the most popular HTML, CSS, and JavaScript framework for developing responsive, mobile-first web sites.
Learn Faster using Web –http://www.w3schools.com/bootstrap/

Learn Faster Using Videos – https://www.youtube.com/watch?v=wesUO81YX0U&list=PL41lfR-6DnOovY0t3nBg8Zb6aqm_H70mR

 

RTBkit 
RTBkit is a real-time bidder framework designed for use on advertising exchanges such as the Rubicon Project, Nexage, App Nexus, The Google Ad Exchange and others.

More info – http://rtbkit.org/site/

meatspac

Chat with Webcam Application devloped using Node.js
talky
Google Hangout Like application Developed using Node.js
sputnik

More – http://sputnik.szwacz.com/

CSS Guidelines
High-level advice and guidelines for writing sane, manageable, scalable CSS
http://cssguidelin.es/
Uptime Robot
Another area of web development that should be constantly going on in the background is the monitoring of a website’s performance. Uptime Robot does this for you. It checks 50 of your monitors every five minutes, including the HTTP(s), Ping, Port, and keywords. You can choose how to be alerted–for example, through email, SMS, or even Twitter. You’re able to view uptime, downtime, and response times as well.
Converse
For a chat facility on your website, Converse allows you to set up single-user chats or multi-user chat rooms. Users can send chat requests and accept or decline, plus add their chat status like “busy” or “available” and show their typing status.
It has the ability to translate into 15 languages and can be screencast to chat with friends on Gmail or jabber.org. Converse can be integrated with many web platforms, like WordPress and Roundcube, and since it’s written in Javascript, it runs directly through your browser.
HumHub
This is another tool that lets your website users chat to each other. However, HumHub does this on a much grander scale since you can create your very own social networking site with it. It has a user-friendly interface and lets the website’s business, school, project group, or friendship club communicate and collaborate easily.
Every user of the site has their own “V card,” giving an overview of their profile, plus groups can be set up. Users can post, follow, comment, and like other people’s content, or simply share files and discuss them. It’s completely secure as it’s a self-hosted solution and it’s flexible since you can add in third-party applications. Also, as any good social network, it’s mobile-friendly.
Impulse
This tool can create interactivity for your website, or specifically, dynamic physics based interactions. For example, you can create Chat Heads like Facebook’s, a pull-down menu, inertia scroll, Oridomi Cover, and Bouncy Scroll. They’re all designed to work with mobile devices.
Using Impulse to create dynamic content works better than CSS for example, as there ends up being a shorter delay between when the animation is generated and when it starts playing. CSS tends to be better for static animations. Impulse has created a variety of animations and is always working on more.
Monit
Monit is fantastic for monitoring your server and is used for error recovery – it’s one of those apps that you need to have to keep some weight off your mind. It conducts automatic maintenance and repair and can execute meaningful causal actions in error situations. For example, if sendmail stops working, Monit can start it again and send you a warning message so you can act quickly.
It can be used to monitor daemon processes or similar programs running on localhost, checking for changes, like timestamps changes, checksum changes or size changes. It monitors network connection to servers, which is useful if you work in the cloud. It also allows you to test programs or scripts. Both the free and open versions of BSD, many Linux distributions from .deb to .rpm packages, OS X and Solaris .pkg include Monit.
Onsen UI
A tool specifically for apps, Onsen UI has a large selection of web-based UI components and Java and CSS frameworks to build HTML5, PhoneGap, and Cordova apps. It works with jQuery and AngularJS and is customizable, for example, by using Font Awesome.
And of course, it has a responsive layout for all devices, switching between column sizes for mobiles and tablets. It makes the user experience of browsing apps superior and fast, and it’s incredibly simple to use.
Cinematico
Cinematico will create a responsive website for you, which is already elegant and sophisticated, but is customizable for your needs. You can add your logo and background image, for example, or spend a little money on a theme.
The main use of Cinematico, however, is that it updates your website whenever you publish a new YouTube or Vimeo video. It links to your YouTube and Vimeo playlist, channel or account and synchronizes automatically. All of this and it’s free, since it’s open source.
Rollerblade
For images with a difference, Rollerblade is a brilliant app. It allows users on smartphones, tablets, and desktops to slide the image they see left to right, and this will show a 360-degree view of the image. It works to showcase a building or location, or simply a product shot. With online shopping such a huge business, it makes sense to give customers as “real” an experience as possible.
For web developers, all you need to do is include the code in the top of your page with your CSS and do a few tweaks to get the rotator how you want it. You can have as many image rotators as you like, plus change the sensitivity and choose whether it plays automatically or needs to be dragged by the user.
Icon Maker
Icons and emoticons are everywhere these days and it’s easy to understand why: a simple smile can add warmth to any communication–even if it’s a little yellow face doing the smiling. With Icon Maker you can create your own icons to add to your website.
It’s easy enough for anyone to use and perhaps just a little bit of fun for the experienced web developers looking for their own, personalized icons. Create a flat or 3D icon with drop shadows and other design features in minutes.
Cylon JS
This is at the end of the list as it looks towards the future–with robots! Although the Internet of Things has been around some time now, it’s not fully integrated into every home. This tool allows developers to create a web between its 35 supported platforms. This includes Nest and Pebble, plus your basics like your keyboard or for marketing purposes; Salesforce.
It has an NPM module so that it can be run in your browser directly, or you can run it via your mobile through a Chrome connected app or a PhoneGap mobile app. It supports HTTP and Socket.io APIs, allowing you to send commands, send real-time data, and monitor your robots.
Tagged : / / / / / / / / / / / / /

20 useful tools for web developers | Handy tools for web developers

useful-developers-tools

NEWS: Keep up with industry trends and developments

  • HTML5Weekly: Those in the know sign up for this free weekly Wednesday newsletter, a curated selection of news about HTML5 and other web platform technology. Fun fact: each issue also contains job listings.
  • Hacker News: Y Combinator’s reddit-style web technology forum is replete with need-to-know news on all things development. Create a free account if you want to participate by upvoting interesting stories and partaking in discussions.
  • Slashdot: Slashdot offers the latest news stories on technology in general and coding in particular. Sort by “popular” if you’ve got only a few minutes to scan some headlines.
  • reddit: Scroll through the front-end development subreddit for the hottest in developer intel, and feel free to join the conversation whenever you’re so inclined.
  • A List Apart: This publication, which has been around since 1998, probes the design, development, and deeper meaning of the Internet in a sometimes mind-bending way, geared specifically towards people who “make websites.” It’s a refreshing destination when you’re in search of richly informative, thought-provoking content.

JOBS: Find high-quality front-end dev gigs

  • Hired: Hired is an online marketplace created specifically for engineers, data scientists, designers, and product managers. Its goal is to streamline the recruiting process by making it transparent to employers and job seekers. Create a free profile (you’ll then have to be approved to join), review any offers that come in, schedule interviews through the Hired interface, and accept your best match—plus a $2,000 hiring bonus from Hired.
  • LinkedIn: No list of job sites is complete without LinkedIn. 332 million peopleuse the site in 200 countries and territories. A few tips to get the most out of LinkedIn: keep your profile current, complete with a succinct, catchy summary of your background, join and participate in relevant groups, advocate for yourself by tactfully requesting recommendations from former colleagues or clients, and respond to invitations and messages promptly.
  • Guru: The Web, Software & IT section on Guru is a goldmine of freelance job opportunities. The public ratings offered by people who have experience freelancing with each company are a helpful gauge for whether or not you should consider pursuing a posted opportunity.

NETWORKING: Interact with other developers

  • GitHub: The world’s largest open-source community is arguably the most invaluable resource on this list. Share code with friends, coworkers, classmates, and strangers, rubbing virtual elbows with other developers from whom you can learn. Browse interesting projects on a multitude of topics, check out trending repositories, and follow the content your connections on the site are into. Working on your own project? Share it, get feedback, and make changes.
  • Coderwall: Coderwall is a collaborative online platform for developers to improve their programming knowledge and showcase it to their peers and recruiters. You can share code snippets, tutorials, or even thought pieces, and learn from the experts about the latest languages, tools, and technologies. Log in with Twitter, LinkedIn, or GitHub, and earn badges to display on your Coderwall profile based on your career achievements.
  • Stack Overflow: Stack Overflow is like Quora for developers. Browse through interesting questions, pose your own, and chime in when you’ve got an answer to offer. It’s a great opportunity to take a seat at the virtual table and establish some relationships with others in the industry.
  • Geeklist: This social network for developers lets you display your portfolio of work; upvote, comment on, and share links and resources; and communicate with like-minded peers in any of 2,000+ subcommunities on the site.
  • CodePen: On this site you can show off your latest coding creations and get feedback, and further inspiration, from your peers. Browse through others’ “pens” and offer your own two cents.
  • CSS Community: The CSS Community group on Google+ is an active forum for anyone that works with CSS. Pick up techniques, tips, and tricks, answer questions, and check out the content other developers share.

TUTORIALS: Get instruction on key skills

  • HTML5Rocks: Google’s developer resource is a playground for curious developers, teeming with free tutorials on everything from synchronized cross-device mobile testing to CSS Shapes. You can also browse slides, presentations, and videos from other developers.
  • CSS-Tricks: Brush up on your CSS skills with this all-CSS, all-the-time site. Browse screencasts, pick up code snippets, and dive into forums on topics like creating dropdown menus and troubleshooting responsive images.
  • Smashing Magazine: Handbooks and how-to’s and workshops, oh my! Turn to this site for the latest and greatest in web development, delivered in an easily digestible format. Drill down into familiar topics like CSS, HTML, and JavaScript and expand your horizons into mobile development, UX design, and all things WordPress.
  • Tuts+: Check out this site for tutorials, courses, and ebooks on coding. Sort by paid or free, and filter by specific skill (for example, JavaScript, Ruby, or PHP).
  • Geeks for Geeks: This online portal offers easy-to-understand lessons written by computer science geeks, for computer science geeks. Be sure to check out the “GeekQuiz” section, which tests you on dozens of developer skills.
  • JavaScript Source: Search thousands of free JavaScript snippets that you can quickly copy and paste into your web pages.

GAMES/CHALLENGES: Keep your skill set sharpened

  • CodeCombat.com: Whet your coding skills by playing this free online multiplayer game. Create an account, choose your arena, then start playing to complete challenges using your coding know-how. You’ll have so much fun you won’t even realize how much you’ve learned.
  • Codewars: Some have called Codewars better than college. Solve coding challenges using JavaScript, CoffeeScript, Ruby, Python, Clojure, or Haskell, progressing through the ranks as you improve, getting matched with tougher and tougher challenges. Compare your solutions with others after each challenge, and discuss best practices and innovative techniques with the community.
  • HackerRank: Log in with Facebook, Google+, or GitHub to compete in codesprints and see how you rank against fellow programmers. Unlock rewards and badges based on your performance in five domains: Artificial Intelligence, Algorithms, Functional Programming, Code, and Machine Learning. Psst: you could even get a job offer. Companies (including Amazon, Yahoo, Microsoft, Skype, and Square) use the site as a technical recruitment platform through sponsored coding challenges and a real-time whiteboard with built-in code editor to conduct technical phone interviews.
  • HackerEarth: The calendar of coding challenges on HackerEarth is jam-packed with opportunities to showcase your skills to your peers and hiring managers. Flex your muscles (er, fingers) with practice problems aplenty, then give it all you’ve got by registering for real-time challenges.
Tagged : / / / / / / / / / / / /