Posts

Time Scheduler App

Image
I'm sharing the codes of Time Scheduler App , which are purely written in JS , some new functionality can be add by converting the codes in Object Oriented Paradigm and adding some Server side functionality with PHP. Codes of Time Scheduler App- <html> <head> <script src= "js/jquery.min.js" type= "text/javascript" ></script> <script src= "js/bootstrap.min.js" type= "text/javascript" ></script> <link href= "css/bootstrap.min.css" rel= "stylesheet" > <style type= "text/css" > span #time { text-align : center ;} h1 { color : #a94442 ; text-shadow : 0 1px 0 #ccc , 0 2px 0 #c9c9c9 , 0 3px 0 #bbb , 0 4px 0 #b9b9b9 , 0 5px 0 #aaa , 0 6px 1px rgba( 0 , 0 , 0 ,. 1 ) , 0 0 5px rgba( 0 , 0 , 0 ,. 1 ) , 0 1px 3px rgba( 0 ,...

making web mouse for linux

                       making web mouse for linux     Required tools:    1.php    2.mysql server    3.apache2 server with php configured     4.xdotool utility command    5.sql    6.javascript for ajaxing part                                              "SQL PART" Now create a table named "coord" containing properties described below +-------+-------------+------+-----+---------+-------+ | Field | Type        | Null | Key | Default | Extra | +-------+-------------+------+-----+---------+-------+ | xy    | varchar(10) | YES  |     | NULL    |       | +-------+-------------+------+-----+---------+-------+         ...

A Simple Game in Javascript

                                     A Simple Game in Javascript  A week ago i thought about to take a revision of my Javascript skills ,so i planned to make some useful applications in Javascript. 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 <html> <title> Rocket Game </title> <head> <style type= "text/css" > html {} img #obstacle { position : absolute ; margin-left : 0px ; margin-top : 0px ;} </style> </head> <body id= "body" style= "opacity:0" onload= "show()" ...

Creating App USing REST APIS

                                          Creating App USing REST APIS  <?php session_start(); ?> <html><head> <title>Hitesh Saini's DownloadBook</title> <meta name="description" content="Download free it ebooks, download free information technology books, download free ebooks" /> <meta name="keywords" content="hitesh saini website,free it ebooks,hitesh saini from bharatpur,download ebooks,download free ebooks" /> <meta http-equiv="content-type" content="text/html; charset=UTF-8" /> <style type="text/css"> #head{width:800px;height:100px;border:1px solid blue;border:2px solid grey;} #left_head{float:left;width:400px;} #right_head{font-family:sans-serif;float:right;width:400px;} input.ex{z-index:1;font:sans-serif;width:300px; height:42px;font-size:25px;background:rgba(100,20,100,0.4); border:2px solid blue; border-col...

Setting up and understanding the Codeigniter framework

Image
Now download the codeigniter framework from it's official website and place that in the root directory of server configured with PHP. Look into the directory structure of codeigniter framwork files. Now i'm going to discuss about the folders and files included in its directory . This is directory structure of codeigniter Framework given in the adjacent picture and the shown folders and files are included  in the structure of codeigniter framework. Here also a folder in the above directory named as "system" in which library class functions of Codeigniter framework are included. By using the system library of CI, one can easily make a good app rapidly .All one has to do is just follow the rules of working in CI framework.  Lets talk about its working and directory Structure-  first we would discuss about each folder included in its application folder because it is most essential and will help to understand it's working. 1.cache:  At first...

Working with Frameworks of PHP- The MVC structure

Image
To work with frameworks of PHP first we have to learn what exactly is the MVC structure and how it works.. MVC is the acronym of Model View Controller.its means it has three main parts .. 1.Model             2.View              3.Controller       Lets see working flowchart of  MVC Structure . MODEL : Models are the place where main logic and codes for manipulating the database are kept ... thus its the main part of any MVC application VIEW : view is place or directory where codes or templates to interact with users are put..     CONTROLLER : controllers are the place or directory where codes to control over data given by user, are put.. Many frameworks of php are available in the market in paid or free of cost.. But now I am starting with CodeIgniter  because it is easy for beginners and you will laern it with no efforts just in first attempt.. First you need to download ...

Creating a mini-file-manager in PHP

Lets have a look on codes that i have written in php , html and styled in css combindly just in one file. 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 2...