Notes: BRAND NEW FROM PUBLISHER! 100% Satisfaction Guarantee. Tracking provided on most orders. Buy with Confidence! Millions of books sold!
Average
Customer Rating : Not
yet rated
Editorial Review :
Whether you are a FileMaker developer who is new to web publishing, a web developer who is new to FileMaker, or a complete beginner looking to put your data online, this book is for you.
In Part I, you learn the basics of how web publishing works and how to write your own HTML and PHP. In Part II, you learn how to build a FileMaker database and install and configure the FileMaker Server to host the database. In Part III, you learn how to put it all together to create web pages that talk to your database and allow people to view the data and, if you like, modify it. Throughout the book, publishing a FileMaker Product Catalog to the web is used as an example. Each chapter builds on the previous chapter. When you are done, you will have a working website!
Detailed information on how to…
Master web publishing
Read and write basic HTML
Read and write basic PHP
Build a FileMaker database
Install and configure FileMaker Server
Publish your FileMaker data to the web
Work with portals and container fields
Repurpose your FileMaker layouts on the web
Introduction 1 Part I: Basics of Web Publishing Chapter 1: How Web Publishing Works 7 Chapter 2: Introduction to HTML 17 Chapter 3: Introduction to PHP 31 Part II: Laying the Groundwork Chapter 4: Building a Simple FileMaker File 49 Chapter 5: Configuring the Server(s) 67 Part III: Publishing FileMaker Data on the Web Chapter 6: Viewing FileMaker Data 91 Chapter 7: Altering FileMaker Data 115 Chapter 8: Working with Related Data (Portals) 137 Chapter 9: Working with Images 167 Chapter 10: Repurposing a FileMaker Layout on the Web 189 Part IV: More Information Appendix A: Performance Tuning 213 Appendix B: Security Concerns 217 Appendix C: Error Handling and Prevention 225 Appendix D: FileMaker PHP API Reference 231 Index 239
In just a short time, you can learn how to use Ajax, JavaScript, and PHP to create interactive interfaces to your web applications by combining these powerful technologies.
No previous Ajax programming experience is required. Using a straightforward, step-by-step approach, each lesson in this book builds on the previous ones, enabling you to learn the essentials of Ajax programming with JavaScript, PHP, and related technologies from the ground up.
Regardless of whether you run Linux, Windows, or Mac OS X, the enclosed CD includes a complete Ajax programming starter kit that gives you all the programming tools, reference information, JavaScript libraries, and server software you need to set up a stable environment for learning, testing, and production.
Learn how to…
Build better, more interactive interfaces for your web applications
Make JavaScript, HTML, XML, and PHP work together to create Ajax effects
Compile an Ajax application
Create and consume web services with SOAP and REST
Avoid common errors and troubleshoot programs
Use popular Ajax libraries to speed up and improve common programming tasks
On the CD
XAMPP for Windows, Mac OS X, and Linux—an easy-to-install package to set up a PHP- and MySQL-enabled Apache server on your computer
The jEdit programming editor for Windows, Mac, and Linux
Prototype, Scriptaculous, Rico, and XOAD—popular JavaScript libraries for creating Ajax applications and effects
A complete Ajax, HTML, XML, and PHP tutorial reference library in searchable PDF format
Source code for the examples in the book
Phil Ballard is a software engineering consultant and developer specializing in website and intranet design and development for an international portfolio of clients. He has an honors degree from the University of Leeds, England, and has worked for several years in commercial and managerial roles in the high technology sector.
Michael Moncur is a freelance webmaster and author. He runs a network of websites and has written several bestselling books about web development, networking, certification programs, and databases.
This book is for intermediate programmers interested in building Ajax web applications using jQuery and PHP. Along with teaching some advanced PHP techniques, it will show you how to take your dynamic applications to the next level by adding a JavaScript layer with jQuery.
Learn to utilize built-in PHP functions to build calendar tools.
Learn how jQuery can be used for Ajax, animation, client-side validation, and more.
What you’ll learn
How to use PHP to build a calendar application that allows users to post, view, edit, and delete events
How to use jQuery to allow the calendar app to be viewed and edited without requiring page refreshes using built-in Ajax functions
The power and versatility of PHP's object-oriented programming style
The various forms of security available and how to best apply them
jQuery plug-in development patterns to create modular, reusable jQuery plug-ins.
The basics of jQuery effects, including fading elements, generating HTML markup on the fly, and creating modal windows
Who this book is for
This book is intended for programmers who want to bridge the gap between front- and back-end programming. It does not cover HTML or CSS except where absolutely necessary, and it focuses on taking intermediate PHP developers to the next level while getting comfortable with Ajax and the power of jQuery.
Table of Contents
Introducing jQuery
Common jQuery Actions and Methods
Object-Oriented Programming
Build an Events Calendar
Add Controls to Create, Edit, and Delete Events
Password Protecting Sensitive Actions and Areas
Enhancing the User Interface with jQuery
Editing the Calendar with Ajax and jQuery
Performing Form Validation with Regular Expressions
Notes: BRAND NEW FROM PUBLISHER! 100% Satisfaction Guarantee. Tracking provided on most orders. Buy with Confidence! Millions of books sold!
Average
Customer Rating : Not
yet rated
Editorial Review :
AJAX and PHP: Building Responsive Web Applications is the most practical and efficient resource a reader can get to enter the exciting world of AJAX. This book will teach you how to create faster, lighter, better web applications by using the AJAX ingredients technologies to their full potential. This book is for web developers willing to build better web applications. A basic knowledge of PHP, XML, JavaScript and MySQL, or a strong will to learn-as-you-type, is assumed.
How to build a user registration system using PHP 5. Create user registration and login scripts. Setup an administrative back-end to search for users, update user information and delete user accounts.
This is suitable for an advanced beginner to intermediate level PHP programmer familiar with using MySQL.
Part 1. Creating a Simple User Registration and Login Application Part 2. Extending the User Login Application Part 3. Building the Member/User Administration Back-end of your Website
Question : How to get a PHP file to be included across files in different directories?
Currently I have created some php based webpages and uploaded them to my web hosting server.It has a PHP 5.1.6installed.With this I am able to include files only that are in the same directory(they work well using require() fn).If not an error message displaying some "no such file" in directory appears in the page.I would like to use them to be included in different direcetories.What should I do?
Answer:
create the directories and include the names when using the require() function.example :your index.php is in the root directory/index.phpand you have a directory with your other php files in/lib/other.phpso in index.php you will haverequire("lib/other.php");
Question : How can i search php programmers to build my website ?
hi alli am planning to create a new php file hosting website (like rapidshare) and searching a php programmers to do this for me ,,where can i find php programmers ?where to search ?thanks
Answer:
Hi We are a Web design & Development company from india. You can mail your requirements to mantrainsight@gmail.comWe would be happy to work for you at a reasonable rate.ReagardsAkshayCEOmantrainsightIndia
Question : How is the career of a php developer in financial perspective?
Say as in my case I am only pure science(non-IT) science graduate who passed out long back. I have been to mainly sales job but now i resigned from that job & want to get into s/w or web development.So just I want to know what is the growth prospect & obstacles in the path of a php developer?I am 33 yrs old single man from India.
Answer:
It really depends on what part of the world you are in. I know that the freelance developer jobs are quickly on the rise in Asia because of the lower cost of developer work when compared to the cost of paying some one from Europe or North America. That said those same developers also have a bad reputation for low quality of work and/or unreadable/messy code. You get what you pay for I guess. That is not to say that good work doesn't come from those regions, but there is certainly a disproportionate amount of sloppy work.If you are living in the United States then it will still depend on what region you are in as to how much you will get paid and how much work is available. For example there is not a lot of PHP work in the Kansas City area. There is a shortage of qualified PHP programmers there too, but the pay is considerably lower when compared to other major cities around the country.The same can be said of any kind of software or web development really. But programming still pays better in most cases than the vast majority of jobs that don't require a masters degree or higher. You will need some experience first before you can land a decent job. Learn yourself up and volunteer to do some projects for some non-profit organizations to build up your portfolio.
Question : How do i create a php page that will automatically redirect & login to a password protected directory?
How do i create a php page that will automatically redirect & login to a password protected directory on my website, so that the user doesn't have to input the user & password to access the site.
Answer:
it involves the use of $_COOKIE. I would not recommend you automatically redirecting someone to "protected" content.Thumb through my script and use what you need. Reference the link below because yahoo will truncate my answer./*************************** login.class.php***************************/class user{//To track the switch/errors through outvar $login_error;//constructorfunction user($UserInput){$this->login_form();}//End function//Just a simple login formfunction login_form(){echo "";}//End Functionfunction validate_user($UserInput){//my chosen user name and password pattern$this->user_name_pattern = ("^[a-zA-Z0-9]{5,15}$");$this->password_pattern = ("^[a-zA-Z0-9\!\@\#\$\%\^\&\*\`\~\_]{5,15}$");//JavaScript History -1$this->go_back = (Go Back);$this->success_login_redirect = "http://dzsoundnirvana.com/";switch($UserInput){case ($UserInput['FLU'] == "" || !ereg($this->user_name_pattern,$UserInput['FLU'])):$this->login_form();echo "
";$this->login_error == false;break;}if($this->login_error === false){//Or you can redirect to a "Forgot password/user name" page or leave it alone. This will kill the script. No output after though!exit;}else{//Now we go to the Database and validate the user$this->db();$this->query_string = "SELECT * FROM users WHERE user_name='$UserInput[FLU]'&& password='" . md5($UserInput['password']) . "'";$this->query = mysql_query($this->query_string);//Error check the queryif(!$this->query){echo "System error! Contact the system administrator! or $this->go_back";//use this for debugging (below), Delete the // at the beginning//echo mysql_error();}else{//Need to check if more than 1 user exists if so....throw HACKING error (not supported here)..another class$this->num_rows = mysql_num_rows($this->query);if($this->num_rows > 1){echo "Hacking warning";exit;}else{//Get the user information and set into the $_SESSION and then redirect to the directed page$this->user_information = mysql_fetch_assoc($this->query);//Put all user data into $_SESSIONforeach($this->user_information as $key => $value){$_SESSION[$key] = $value;//Now we redirect to the page specifiedecho "";echo "If you are not redirected success_login_redirect\" target=\"_parent\">Click here to continue";}}}//else}//if($this->login_error === false)/else{}//End functionfunction db(){$this->db_link = mysql_connect("data_base_host","data_base_user","data_base_password]);//Select the DB$this->db_select = mysql_select_db("data_base_name");}}//End Class?>
Question : How can i run a php or mysql script automatically every month, quarter or year?
I have a script for a MySQL Database that adds up all of the numbers in a column and sets it back to zero (its pretty much like an adjusting entry). I don't want to clear the contents completely because I need them for reporting purposes. I want either PHP or MySQL to run a script to do this automatically so I don't forget to do it. What is the best way in going about doing this?
Answer:
Have you hosted this on a Linux cPanel Server.. If es.. then you might have heard of Cron Jobs.. Cron jobs are scheduled tasks that take place at predefined times or intervals on the server.. This feature is available on cPanel servers.. Check the below link for details :http://docs.cpanel.net/twiki/bin/view/AllDocumentation/CpanelDocs/CronJobs
Question : How to include elements from different webpages using PHP or JavaScript to my home page?
I have a homepage (MyHome.php). On the homepage, I'd like to display the latest 3 posts from another page (Post.php). For example. I want to include the first 3
tags from Post.php into a
tag on MyHome.php. Is it possible to do this?
Answer:
There could easily be better ways to do this, but without actually seeing how your data is organized I only have one workable suggestion.In post.php, add each post to array and then echo the array contents to output the posts. Then include post.php in homepage.php.post.php-------------$post = array();$post[0] = "
Post #1
This is post #1";$post[1] = "
Post #2
This is post #2";$post[2] = "
Post #3
This is post #3";foreach ($post as $x) {echo $x;}echo "
More posts
More posts here!";myhome.php-------------------require_once('post.php'); // Gives you access to all the stuff in post.phpecho "Let's see the first three posts: ";foreach ($post as $x) {echo $x;}echo "Stuff on homepage other than top posts.";
Question : How to publish php file that I just edited back to my website?
I used FTP program that is offered by default by GoDaddy and downloaded a file to my PC. After chaning this php file using MS Notepad, I uploaded it back on to my website's back end, but don't know how to make it so that the edited php file publishes on my website. Please help. Thanks.
Answer:
If you uploaded it to the Public website section, it should be there... Just go to the page you are looking to see. If it doesn't work, maybe you didn't upload the right page, but the older page. Just uploading the file to the Public section generally makes the site viewable.
Question : How can I learn php & mysql with the most efficiency?
I can edit php/mysql but I have a hard time writing it. I know there are php tutorial web sites and what not but what is the most efficient? I can not spend any money and am needing something that is to the point.Thanks a lot.
Answer:
W3Schools generally has good tutorials:http://www.w3schools.com/php/php_syntax.aspFor a more thorough approach, see the php.net language reference:http://www.php.net/manual/en/langref.phpOnce you have learned the basics, the php.net function reference is invaluable:http://www.php.net/manual/en/funcref.php
Question : How can i study or try PHP programming at home if I only have a laptop with WIndowsXP SP3 OS?
I want to learn PHP programming but I do not have that big server computers or a network of computers. Is it possible to do PHP programming using only a laptop connected only to internet, through a 3g modem; and running on Windows XP SP3 OS? What are the application and/or software that I need to install to make it work?
Answer:
You could install XAMPP. That will give you Apache web server, PHP and MySQL. It's fairly easy to install and setup. See fist link below.But DO make sure you secure it once installed, otherwise your machine could be vulnerable. Also not hard to do, read the instructions in the second link.
Question : How do I use php code from a different domain?
Here's what I'm trying to do: I have a php page I created on one domain, that stores information in a database. Next, I have another web page (This page is html NOT php) on a Different domain that I call this php page using Javascript, and would like to return a variable from the php page. How is this possible? I know it is, so don't say that it isn't! (10 points for the person that finally answers this question!)
Answer:
Ok, this makes marginally more sense. So, you want your PHP to return a variable to the JavaScript? Try a hidden field:and the js: var value = document.getElementById('myHiddenField').value;if that is not the case, if you are trying to get a JS variable into PHP, that cannot be done.PHP is a server side language, which means the code is DONE by the time the web page is displayed. JavaScript is a client side language, which means the code is executed ONCE THE PAGE IS LOADED. Communication between client-side and server-side languages is limited, and one way (server-side->client-side via hidden field [crude]). I suggest you rethink your method...