Web Languages: Php Vs. Asp.net
ASP.NET If you program in ASP.NET you'll typically get too responses from the other side. Either you're rich (or your company is) or you're a Microsoft lover. While the name comes from Microsoft's old ASP technology, they made a huge leap with the .NET Framework, and the CLR allows you to use other languages for [...]
Managing Discounts, Vouchers, and Referrals with PHP 5 Ecommerce
Once your shipping and tax issues taken into account, the next logical step for your e-commerce store is discount codes, as these need to be entered at the shopping basket stage. Going hand in hand with discount codes are voucher codes and referral discounts. In this article by Michael Peacock, you will learn: How to [...]
Shipping and Tax Calculations with PHP 5 Ecommerce
In this article by Michael Peacock, you will learn about how to process orders for shipping and tax calculations, once your e-commerce store has received the purchase order. The article includes the following topics: How to calculate shipping costs based on Product, Weight, Location, and "Shipping rules" About third-party shipping APIs How to integrate shipping [...]
Creating an Ajax Process Using PHP and Oracle
For some time now, Ajax (Asynchronous JavaScript and XML), has been all the rage in the Web development world. Coming to the forefront with some of Google's features (Suggest, Maps, Gmail, and so on), Ajax performs server requests without the user having to submit a form or click on a link. In other words, the [...]
Database-Based Authentication for PHP Apps, Part 2
In Part 2, you will expand on the example authentication and user entry solution constructed previously. Whereas the current solution treats all users as equals, the idea of users accessing all things equally is unusual in real applications. Rather, your users probably have roles and privileges limiting their access to data based on their position [...]
Database-Based Authentication for PHP Apps, Part 1
Managing secure access to Web pages and applications is a common problem. You want to enable those you trust to access data while preventing unauthorized ones from gaining access to it. In most cases, database-based authentication is the solution. Authentication systems contain an Access Control List (ACL) that lists your user credentials and matches them [...]
Migrating Web-Based PHP Applications to Ajax
Web development is messy. Over the years, our toolbox has filled up with odd implements that are hard to use and don't fit well together. Web code has become a legacy problem. A typical web page is a tangle of HTML, JavaScript, and server-side scripts. User interface logic is interwoven with business rules and client-server [...]
Creating Sortable Lists With PHP And Ajax
You might have been in a situation before where you had a list of items in your database that needed to be output in a specific order. These items could be anything: perhaps a listing of your favourite movies or your favourite books. For whatever reason, you want them ordered in a custom way that [...]
Creating a Multi-File Upload Script in PHP
Frustrated with single-file upload scripts? Looking for an alternate route? Read as Jonathan shows us how easy it really is to setup a multi-file upload script using PHP.
A Few Tips for Speeding Up PHP Code
Daryl HoustonEver wondered how to improve your code's execution time? Daryl reveals some of his secrets and shows us how to do just that.