SpiderPhp

Just another WordPress weblog

Posts Tagged ‘Java’

What would be the most profitable computer language to learn right now? What would be the fastest and easiest way to learn it?

Can Somebody Give Me A Fine Comparison Between Java Ee And Php?

Posted Saturday, January 2nd, 2010
Tags: , , , , ,
Posted in Uncategorized | 1 Comment »

thanks!!
As far as I know….
Java EE is harder to learn, but easier to use,
php is easier to learn, but harder to use,
php is a scripting language,
Java EE is a compiled language that can take advantage of Java Library,
and php does not cost anything to use on most commercial web servers, and Java EE does cost money but it is used by many big companies around the world.

Is Php Easier To Learn Than Java Or Flash?

Posted Tuesday, December 1st, 2009
Tags: , , , ,
Posted in Uncategorized | 4 Comments »

I am 48 year old and I need to do something with my damned life. I have little bit experience with HTML. How hard PHP & Msql will it be for me?
I tried Java and it was too hard for me to learn. Should I learn PHP under Linux/ I just need to get my life together. Also I am extremely lazy so that does not help me. I have been asking similar questions but this time I want to do it!! Thanks for your time guys.

I have a Star SP500 receipt printer & wanted to use PHP to help my sister manage her store using web base POS and printing receipt. Thanks in advance for your help.

I have basically no experience in Java or PHP and need your help!
I want to switch one line of HTML code every day at a certain time, from a list of lines of code. Preferably, it would draw from a list of 20 or more, but if its easier to do it based on the day of the week that would suffice.
Can someone throw me some code to try? I really appreciate the help!

Does Anyone Know A Java To Php Bridge That Works On Windows ?

Posted Sunday, August 2nd, 2009
Tags: , , , , , , ,
Posted in Uncategorized | 1 Comment »

I need a java to php brige to access php from Java in windows. I know about Plava but it they say that it was not made for windows.

I wanna develop an interactive website whose requirements are quite complex, especially requirements on sorting/ordering, which programming language should I choose, PHP or Java?

BETA Records, in anticipation of their upcoming release of Version 3 (V3) of their online music social community, has created a technological innovation that could ultimately allow websites to become more dynamic, creative and sophisticated while enabling companies to cut costs and reduce loads on servers needed in large-scale clusters.

Called “BETACache,” the new technology resulted from BETA’s PHP developers Rock Mutchler, Paul-Anton van Handel, Jon Bauer, Bernhard Schenkenfelder, and Eric Hollander.

“These guys may have devised the ultimate scalability breakthrough for large-scale communities around the world – it’s like taking the performance of a Volkswagen and turning it into a Bentley overnight,” says Chris Honetschlaeger, BETA Records president. “From Facebook down to the world’s 20 million PHP websites, we at BETA are hopeful to finally give back to the PHP community we so admire.”

PHP applications require a means of caching data from remote services, expensive database queries and other performance-killing operations. These problems are greatly magnified by Web 2.0’s heavy reliance on numerous AJAX requests to the web application, and frequent web service calls to partners.

“BETACache could offer a superior alternative to the widely-used memcached, as well as opening up a tremendous amount of other features to PHP application engineers through JCS,” says Rock Mutchler, BETA VP of Technology. “With the BETACache process in place, we can now use the leading technologies to solve the performance issues that developers face. At BETA we have modified Zend Cache in the Zend Framework, by adding our own custom object that makes use of the Zend Platform Java Bridge.”

The Zend Platform PHP/Java Bridge is a PHP module which provides stable and high-performance access to a Java Virtual Machine. “Through this we’re able to use the JCS package to provide an enterprise-class, pluggable and tunable distributed caching system written in Java,” Mutchler states.

BETACache offers a clustered, distributed cache system which automatically caches objects in local memory, local disk, or on remote servers. The Zend Java Bridge allows high-performance enterprise-class integration between the PHP environment and JCS. “We are excited about future enhancements of BETACache to leverage Enterprise Java persistence systems in our clustered PHP application,” Hollander said.

Practical Uses of PHP

It almost goes without saying that you will want your business website to be compelling, interactive, and secure. All of these characteristics will make your website more effective at bringing in and keeping customers. But how to go about it in a way that is stable, cost-effective, and easy to manage? One popular solution is to use the server-side scripting language PHP to help you solve those problems.

What is PHP?

Created in 1995, PHP originally stood for “Personal Home Page”, however it is now generally understood to mean “PHP: Hypertext Preprocessor”. It was originally designed to create dynamic or more interactive web pages. It is a widely-used, open-source, general-purpose scripting language. PHP is a “high-level” language, meaning that it’s generally more human-friendly (and easier to learn) than other programming languages such as C, ASP or ASP.net.

PHP was originally designed for use in Web site development, but rapidly grew to become a much more robust language. PHP’s primary use is as an “embedded” scripting language, which means that the actual PHP code is embedded in HTML code. When used in this way, PHP enables your web server to process web pages before they’re displayed in the user’s web browser.

Benefits of PHP

PHP is popular because it can be embedded directly into HTML coding.

PHP can be used on all major operating systems and is supported on most web servers.

PHP’s main focus is development for the web, so it has a quick development time and can solve scenarios much quicker than some of the other web design languages.

The latest version of PHP is a very stable and mature language used for web programming much like Java and Microsoft C#.

It is open source so it is free!

Database: It is very easy to write simple scripts which allow your Web site to interact with a database.

Cross-Platform: Both the PHP engine and the PHP code can be used on almost any platform, making it extremely versatile.

Development Tools: You only need a text editor to work on PHP; you do not need any development environment or compilers.

What can you do with PHP?

PHP generally runs on a web server, taking PHP code as its input and creating Web pages as output, however you can also use it for command-line scripting and client-side GUI applications. PHP is an extremely versatile language which enables you to create high-end, stable Web sites with plenty of bells and whistles. Here are just a few of the things you can do with PHP:

Make HTML Web Forms

Store Information in Databases

Remember Web site visitors (cookies and sessions)

Work with Arrays

Work with Files (File Management and downloads)

Parsing and Generating XML (also useful for large quantities of products on e-commerce)

Check which browser your visitor is using

How does PHP Work?

As its name (“PHP: Hypertext Preprocessor”) suggests, PHP derives its power by “preprocessing” hypertext on the server side. This generally means that when the PHP script (saved as a .php file) runs on your web server, it performs the programmed actions, and returns HTML code that will then be sent back to your customer’s web browser. The PHP script itself is not included in the HTML that is sent to the browser, so the PHP code is invisible and secure to the user.

For example, let’s consider the following simple PHP statement. (This example is merely to show the basic syntax of PHP in action. Any detailed discussion of PHP code is beyond the scope of this article.)

In this statement, is the closing tag, and echo is a PHP instruction that tells PHP to output the text that follows it as plain HTML code. The PHP software processes the PHP statement and outputs the following:

Hello World

This is a regular HTML statement that is delivered to the user’s browser. The PHP statement itself is not delivered to the browser, so the user never sees any PHP statements.

Using PHP to Improve Your Website.

PHP has many capabilities features designed specifically for use in Web sites, including the following:

1. Securing Your Website.

PHP can be used to secure your website (or certain areas of your website) so that your customer must enter a valid username and password. This can be used to reward preferred customers and to build an exclusive “membership” component of your business.

2. Working with Web Forms.

PHP can display an HTML form and process the information that the user types in. This can be an excellent way to learn more about your customers by asking them to provide profile information, and to collect information about their specific interests.

3. Communicate with Your Databases.

PHP is particularly adept at interacting with your databases, and storing information from the user or retrieving information that is displayed to the user. PHP handles connecting to the database and communicating with it, so it’s not necessary to know all of the technical details for connecting to or exchanging messages with the database. You tell PHP the name of the database and where it is, and PHP handles the details. All major databases are currently supported by PHP.

4. Customer Loyalty Functions.

You can also use PHP to create a number of different functionalities on your website that will further help you to build customer loyalty, including interactive polls, a guestbook, and a message board.

The popularity of PHP continues to grow rapidly because it has many advantages over other technical solutions. PHP is fast (because it’s embedded in the HTML code, the time to process and load a Web page is relatively short), PHP is free (it is open-source software), and PHP is versatile (is runs on a wide variety of operating systems, including Windows, Mac OS, Linux, and most Unix variants).

Perhaps most importantly, PHP is a very well-established language. There are many user-run Internet communities that make very large amounts of information (and scripts) available. With so much experience behind it, using PHP for certain dynamic features can be a cost-effective and low-hassle way of increasing the stability of your website.

Jeremy Gislason is a leading expert on membership sites, marketing and online business. For more Business Strategies, Membership Site Software and Information visit MemberSpeed.com
Bathroom Safety Products