Posts

Enterprise Application Development Using PHP and Oracle

Image
How McGill University's Department of Development and Alumni Relations supports up to 160,000 users over the web using PHP and Oracle At McGill University's (Montreal, Quebec, Canada) Department of Development and Alumni Relations, we are in the process of moving extensive, multifaceted services for 200 to 300 paid and volunteer staff and up to 160,000 alumni and donors to the Web using an industrial-str ength PHP application and Oracle9i. It is expected that the program will accommodate tens of thousands of users per hour following major e-broadcasts. We are doing this using Oracle's powerful row-level security features and PHP's high performance and quick development platform. This article will address the following: * Background * Why we chose PHP, Oracle9i, Apache, and Linux * Structure of the application * Security * Synchronization * Lessons learned and advice to developers. Background Our organization faces what many do: * A central database application that is ...

How to use PDO for PHP and Oracle and other DB

The PDO library is a powerful addition to PHP. It shines when you need to build applications capable of talking to different database systems. It also has other very useful capabilities. This article, the first in a three-part series, will introduce you to this versatile library. Introduction PHP developers who used to work with different relational database systems have had two choices when it came to building their web applications. They either had to include a third-party library that allowed transparent handling of the interaction with RDBMSes, or, in the worse case, they had to create their own database abstraction layers, which was a time-consuming process. In the first case, picking up a pre-built package that provided PHP programmers with a decent level of abstraction for using diverse database servers was reduced to choosing between a certain number of well-trusted libraries. These include the robust PEAR::DB, or the excellent ADODb database abstraction software, to name the m...

MySQL driver for PHP

The MySQL native driver for PHP is an additional, alternative way to connect from PHP 5 and PHP 6 to the MySQL Server 4.1 or newer. It is a replacement for the libmysql, the MySQL Client Library. From now on you can use ext/mysqli either together with libmysql as you did in the past or with mysqlnd. We have no plans to remove libmysql support from ext/mysqli, which would break existing applications. We just add a new, superior alternative to our PHP offerings. Installation You need the PHP source code to install the new development. In the current development state the new MySQL native driver comes as a patch for ext/mysqli. 1.Get the PHP 5 or 6 source code from http://www.php.net. You can check out the source code from the CVS repository on http://www.php.net or download a source distribution of PHP. For example, follow the instructions for Anonymous CVS Access to check out PHP 6: cvs -d :pserver:cvsread@cvs.php.net:/repository checkout php6 2.Replace the ext/mysqli ...

PHP creating thousands of jobs if not millions

PHP based LAMP web development is increasing rapidly for its open nature and almost free tools. Compared to Java or .Net development need at least $200 to $300 for each developer to start developing on those technologies. But for LAMP - PHP based need almost $0 [not taken hardware and network cost] to start amazing web site and portals. Only for enterprise solutions and IDE like .Net platform need some little money to start on ease. Many of the development countries like India are now making huge progress in LAMP development. Not only the development countries or poor infrastructures countries but also giant companies like Oracle, IBM even Microsoft too trying to get its profit part from PHP. But the lack of good developer /programmer in PHP is scorching day by day. As open source development need very strong basic / fundamentals of computer science otherwise all are them are merely HTML extension programmer nothing else. They merely use copy and paste. They even do not know about 5% o...

Yes this is dengarously true

Image

SETI need your help

Image

Is your ISP cheating you?

If you aren’t sure about your ISP's intention and character, you will soon be able to download a tool from Google that will tell you once and for all if they are doing something wrong. If ISP’s aren’t going to tell their users exactly what is happening with their network connections, Google wants to make sure that these people have the ability to tell for themselves. This announcement is Google’s most recent attempt at raising awareness about net neutrality. This isn’t the first time someone has made software to monitor your network to figure out if your ISP is doing anything fishy, NNSquad Network Measurement Agent is a tool that does exactly that already. In fact, this might actually be the tool Google is referring to. Vint Cerf, Google’s chief Internet Evangelist, is part of the NNSquad already.

Tutorial: How to Integrate Wordpress into an Existing Website

Image
1. Build the site in PHP and CSS- Create a good solid site using PHP to include the content and CSS to control the layout (We're going to take our OWN CSS layout and simply match the blog with it). All of my layouts are controlled entirely without tables and though it takes a lot of work in the beginning, the incredibly wide range of flexibility it gives you in the end is totally worth it. 2. Download and then install the latest version of Wordpress - I used 1.5 in this example. I created the database on my server, updated the config.php file in the wordpress folder (which I renamed to blog) and then uploaded the whole deal. If you have fantastico available through your hosting provider, use that ;). 3. Check and make sure 'sall good - I viewed my /blog directory and yup, there she is.. the wordpress installation in its full untouched glory. Hehe.. not for long ;). The installation is good to go, I've updated my admin password and saved it in a secure location, and I...

Create VOIP application with PHP

Asterisk is the application library to use for voip appliaction with PHP. Asterisk Dialplan Commands Here is a list of all the commands that you can use in your Dialplan (extensions.conf). You can obtain your Asterisk's list of available applications at the CLI by typing "show applications" and "show application ". Notes: An alphabetical list can be found at the end of this page Please only list applications integrated in the Asterisk releases or CVS versions, with notes about version where it is included. Third party add-ons is listed in a separate section. General commands Authenticate: Authenticate a user VMAuthenticate: Authenticate a user based on voicemail.conf Bridge: Connect two arbitrary callers (new in Asterisk v1.6) ChannelRedirect: Redirect an existing channel to the dialplan Curl: Allows for the retrieval of external URLs. Also supports POSTing. Deprecated in favor of CURL. DUNDiLookup: Look up a number with DUNDi Page: Page a mobile device (new in ...

Why automart using PHP with Oracle to handle their giant site

Open Source Opens Options "Oracle is committed to its leading Java and service-oriented architecture development environment, Oracle JDeveloper. At the same time, we are also committed to offering developers productivity with choice," says Omar Tazi, Oracle's chief open source evangelist. "For developers who choose to use Eclipse, Oracle is committed to delivering the same productivity that customers using Oracle JDeveloper experience." That's one of the reasons Oracle joined the Eclipse Foundation as a strategic developer and board member, Tazi explains. Oracle contributes developers and leadership to three projects at Eclipse: the Dali JPA Tools Project (Project Dali), which concerns tools for Java Persistence API-style object-relational mapping; the JavaServer Faces Tooling Project, which involves simplifying development and deployment of JSF applications; and the BPEL Project, which focuses on adding comprehensive support to Eclipse for key BPEL 2.0 proc...

How new iPhone 3G may change the world of Internet

Apple has inroduced its revolutionary product iPhone. Which integrate 3 type of products in itself 1. iPod 2. Phone and 3. Internet communication device It has amezing features besides it will be able to brows the direct html not through wap. Means from now there will be almost no need to create wap version of the site to display / work on phone (wap). Instead it will directly browse the site on its safari browser. Huge memory and cheap reate will definitely make it popular worldwide. And ofcourse seamless internet connection will change the whole internet connection also. Not only the communication industry but also other industry also be mutually benifited from it. As from now cafe / resturanbt can give the wifi hotspot to attract the customer and customer also go there for free internet and all phone calls from there with hiugh speed internet connection and voip from those hotspots. Like these thousands of oppertunities will be evolved. Open source application developer will be beni...

Poor student cracked JEE and ranked 5th

Again adversity looses its power against determination. Very poor student Pijush Kanti Nandi cracked the Joint Entrance Examination [door for Enginnering and Medical studies] and ranked 5th. Wish him all the success in his life. The son of a farm labourer in Bankura, Pijush is the first in his family to get any kind of education. And, he could write his board exams and the WBJEE only because his education was completely sponsored by his teachers at Arambag High School. “His food, clothing, books and everything else were the school’s responsibility. His struggling parents could not afford to send him to study. To them, it would have made more sense if Pijush had helped earn some money,” said school headmaster Swapan Mondal. Pijush’s father earns just Rs 65 a day and his mother works in the field at the time of harvest and at other times as a domestic help. Hardship only steeled the teenager’s resolve. “I dreamt of becoming a doctor, but always thought that it was just a dream that I had...

Create Multi-Mobile Applications with PHP

What is a Multi-Mobile Application? The typical job description in the technology industry doesn’t include hazardous duty pay for all of the annoying acronyms, buzzwords and overhyped slogans that get tossed around. As such, I’m always cautious about using a new one (yes, I still feel a little funny talking about AJAX). However, I have noticed a trend toward a new type of web application that is focused on the delivery of content and interactivity to end users through multiple devices (desktop browser, cell phone, traditional phone, PDA, IM client, etc.). This new breed of application, in my humble opinion, deserves its own buzzword — “Multi-mobile” applications. Fans of XHTML+Voice and SALT will know instantly what multimodal applications are — applications that support different kinds of user input (i.e., voice, keypad, stylus) through the same interface. Multi-mobile applications are differnet. These applications deliver content that is specifically tailored to the device being empl...

Mobile Web Server

Johan Wikman -- contact Ferenc Dósa Rácz Overview Background For quite some time it has been possible to access the Internet using mobile phones, although the role of the phone has strictly been that of a client. Considering that modern phones have processing power and memory on par with and even exceeding that of servers of the early web, there really is no reason anymore why webservers could not reside on mobile phones and why people could not create and maintain their own personal mobile websites. Goals A desire to show in practice that personal mobile websites are feasible triggered the birth of the project that started in the beginning of 2004. The primary goals were to bring a full-fledged webserver to S60 and to make a webserver running on a mobile phone accessible from the Internet using any web browser. Apache In order to show that modern phones really are quite capable we decided, rather than writing a small webserver from scratch, to port Apache httpd, the most widely used w...

PHP On Symbian

If you google for "PHP Symbian" you will find a very old post written in 2004 at circle.ch pointing to an older php groups post that I have written earlier in 2003. I thought that the story of PHP and Symbian have been forgotten since that time, but ! After Nokia effort to make mobile web server available for S60, now it seems that PHP also have been successfuly ported to run on S60 platform. According to a forum post, the PAMP stack will be demonstrated this Thursday and Friday in Las Vegas during the CCNC conference. And here PAMP stands for Personal Apache, MySQL, PHP. Since it's experimental project, the memory usage is still very high according to the forum post also, but we will know more when the project will be officially released for public. In addition of PHP itself, there will be PHP extension modules that provide access to the core functionality of the phone. This will be very useful to create phone specific applications in PHP, the same way people used to do ...

Business Opportunities for PHP in the Wireless Market

by Roland Schmidt 06/15/2001 The benefits of PHP as a server-side, cross-platform HTML scripting language are generally acknowledged. However, PHP's advantages for developing wireless applications are less well known. PHP is a great tool to generate Wireless Markup Language (WML) for the WAP protocol, and cHTML (a subset of HTML) for i-Mode. For example, PHP can generate different markup languages for the same URL request depending on device requirements (does the client need HTML, WML, cHTML, etc.?). It can also adapt this generated output to display properly on different-sized screens, such as a Palm display or a web-enabled mobile phone. In other words, PHP is a great choice for dynamic web-based interfaces. And as we look at the emerging wireless markets, PHP could provide open-source developers with an opportunity to work in these potentially profitable arenas. Revenue sharing in wireless marketplaces The i-Mode protocol, developed in Japan by NTT DoCoMo, currently has 24 mil...