Showing posts with label PHP. Show all posts
Showing posts with label PHP. Show all posts

Tuesday, May 19, 2020

What is Interface in PHP? Back to Basics


An Interface allows the users to create programs, specifying the public methods that a class must implement, without involving the complexities and details of how the particular methods are implemented. It is generally referred to as the next level of abstraction. It resembles the abstract methods, resembling the abstract classes. An Interface is defined just like a class is defined but with the class keyword replaced by the interface keyword and just the function prototypes. The interface contains no data variables. The interface is helpful in a way that it ensures to maintain a sort of metadata for all the methods a programmer wishes to work on.

Interfaces are characterized similarly as a class, however, only the interface keyword replaces the class phrase in the declaration and without any of the methods having their contents defined.

Example

Let' create an interface and implement it with a simple example.


Explanation

Here we have declared an interface MyFirstInterface with two methods getName and getAge() inside it without any content. Then the class MyClass implements this interface and uses the available methods according to requirement.

Let's learn some important Characteristic of the interface:
  1. An interface comprises of methods that have no content, which means the interface methods are abstract methods.
  2. Every one of the methods in interfaces must have public visibility scope.
  3. Interfaces are not quite the same as classes as the class can inherit from one class but the class can implement one or more interfaces.
  4. No variables cant be present inside the interface.

hope you find this post useful,
you might be more interested in
Freelance Programmer, Hire PHP Programmer, Hire PHP Developer India, Web Development Company, Web Development, Freelancing Sites, PHP Freelancer, PHP Freelancing India, Freelance Projects, Web Applications

Thursday, November 14, 2013

Facts on Freelancing for Freelance Web Developer

Facts on Freelancing for Freelance Web Developer

Do you need a freelancer? Whether you're looking for the solo worker or development team, you could find them now in the easiest way as today a lot of marketplaces are available. Today, we have Odesk, Elance, PeoplePerHour, GetAFreelancer. These are the best resources on proved and reputed best freelance networks. I proud to be a provider on these. I would highly recommend them as these are the best for both i.e. freelancer and the employer.


  • By working with many and varied clients, your Web Development and business skills will grow at a rapid pace. If everything goes right, you should be able to make a good living doing something you love and really deserve the same for what you are being paid.
  • The only thing required is the perfect understanding on the task that needs to be completed as Requirement Analysis really matters. Being a Freelance Web Developer, I would love to share my real time experience with you. I have completed so many projects under Web Development and execute them all successfully. Some times when I deal with my client(s), I usually found them varying with the current needs as they update their actual plan by watching new spheres or due to lack of analysis on their business logics. But I handle the situation as per our mutual understanding as this really matters for successful completion of the goal.


I would love to share my knowledge and skills as am a Freelance Web Developer and looking for great employers always. I will precise my understanding on finding a professional web developer and would share my 4+ years of consolidated experience in the Web Development. I am a PHP/MySQL Freelance Web Developer skilled in developing custom PHP scripts, upgrade existing PHP code, or install and customize Web Applications, coding from the scratch, CMS based development.




Hope you have enjoyed to read this post,
let me know if you have more suitable suggestions.

you might be more interested in 
freelancersWeb DevelopmentRequirements AnalysisFreelance Web Developer,PHPmysqlWeb Applications 


Good Day [/ Night] ! Happy Google + ing !

Thursday, November 7, 2013

Freelance Programming, a New Development in the Global Market

Freelance Programming, a New Development in the Global Market


Freelancing is becoming a popular new development in the global market and the Freelance Web Developers are growing in a geometric progression. And in these Freelance Programmers the fastest growing generation is of the PHP programmers.


  • A website clone is a Website similar to an existing website. This concept came due to the easy handling of some of the sites and complexity of the others. You surf through a site. You like the pages and they load easily and quickly, then you want to have the similar site. What do you do? You go to your Freelance PHP Developer, tell him to make a similar site for you and within the days what do you see is that a new site is ready. With the same features and some new if you wanted them. This is the site clone. And not just the little products, but the Freelance Programmers can finish your big projects within the time as they are generally the people who earlier used to work in a company and left it because of their free nature or the clash of thinking.
  • PHP, which earlier stood for the "personal home page" is now acronym for "Hyper Text Preprocessor". Since PHP is a useful language to produce dynamic web pages and is light in nature, it is used in the client side GUI application. The famous social networking site facebook's GUI is developed in PHP. And this was because the Facebook application developers had the light nature of the language in the mind and that is why, even after having five hundred million users world wide the site does not run slowly.
  • If you need your independent Website then even you can take the help of Freelance PHP developers and can get a light and smooth site. Or if you want to open an ecommerce shopping cart, a simple blog site or anything you need you will get that.
  • Wordpress is the prominent open source CMS and you can start your own website using this. Wordpress Developers have kept this in mind that it gives all the basic needs a website wants. But with the passage of the time you need to do some changes in your website to meet the current requirements. Though there are updates and new Plugins there but they may not meet your need. This is the time when freelance PHP can help you. The Freelance Programmer will provide you with the custom wordpress themes and custom wordpress templates as per your needs.
Freelance Web Developers,  PHP Developer India re getting more and more in numbers because of the growing popularity of the scripting language. And lets have a look what can they do.




Hope you have enjoyed to read this post,
let me know if you have more suitable suggestions.

you might be more interested in Freelance Programmer, PHP Programmer, Freelance Website Developer, PHP Developer India, Freelance, Wordpress Developer India, Freelance PHP Developer, PHP


Good Day [/ Night] ! Happy Google + ing !

Thursday, April 25, 2013

Convert HTML + CSS to PDF with PHP?

How to Convert HTML + CSS to PDF with PHP ? 




Days ago.was searching for a solution for conveting html to pdf, was having have an HTML (not XHTML) document that renders fine in Firefox 3 and IE 7. It uses fairly basic CSS to style it and renders fine in HTML. i got many extraordinary tools / plugins for this matter, here i am sharing with  you.





 


PrinceXML.
It's definitely the best HTML/CSS to PDF converter out there, although it's not free (But  your programming is not free either, so if it saves you 10 hours of work, you're home free.)


 

WKHTMLTOPDF
Have a look at WKHTMLTOPDF . It is open source, based on webkit and free.based on webkit (safari's wrapper), is really fast and powerfull.. seem like is the best one (atm) for convert on the fly html pages to pdf, taking only 2 seconds for a 3 pages xHTML document with CSS2. Is a recent project, anyway, the google.code page is often updated.

 

mPDF 
A PHP class to generate PDF files from HTML with Unicode/UTF-8 and CJK support.mPDF is a PHP class which generates PDF files from UTF-8 encoded HTML. It is based on FPDF and HTML2FPDF, with a number of enhancements.


DocRaptor
You can create a PDF or Excel file using the sample code we've provided, or by submitting custom HTML. Everything created here is done in test mode. If you want to create real documents,

 

TCPDF
It has some HTML to PDF functionality that might be enough for what you need. It's also free! it's support is for rendering html is rather limited, you might want to read this: tcpdf.
this is an ehnanced and mantained version of fpdf. Main Features of tpdf and it is also having less execution time with great output. For detailed tutorial on using the two most popular pdf generation classes: TCPDF and FPDF.. please follow this link

 

DOMPDF 
php class that wrap the html and build the pdf. Works good, customizable (if you know php), based on pdflib, if i remember right it takes even some CSS. Bad news: slow when the html is big or many complex.

HTML2PS 

same of DOMPDF, but this one convert first in .ps (ghostscript), then, in whatever format you need (pdf, jpg, png). For me is little better then dompdf, but have the same speed problem.. oh, better compatibility with css.

Those two are php classes, but if you can install some software on the server, and access it throught passthru() or system(), give a look to these too:

 

htmldoc 
this one is a tank, it really never stop/crash.. the project seem death in the 2007, but anyway if you dont need css compatibility this can be nice for you.


Hope you have enjoyed to read this post,
let me know if you have more suitable suggestions.

you might be more interested in PHP, CSS, html, PDF


Good Day [/ Night] ! Happy Google + ing !

:D

Wednesday, December 26, 2012

Outsource PHP Development work to India based Web Development Company For WordPress, Joomla, Magento, Drupal, Android, iPhone, CakePHP, Codeigniter

Outsource PHP Development work to India based Web Development Company For WordPress, Joomla, Magento, Drupal, Android, iPhone, CakePHP, Codeigniter



1 PHP-Programming-India and our professional clearly understand that the technologies are changing continuously and therefore have a well maintained in-house team to look over the latest advancements so as to run the continuous activities accordingly. For this we provide project based programmer team to understand the need of a particular project. For the smooth operation for your business activities we offer maintenance procedures irrespective of the location of the application development.


2 Every project is always completed within the allotted time given by our customers. Our staffs are very sincere to their work and could help you to become a leader in the business you are involved keeping your competitors behind with their high knowledge and innovative ideas for developing web sites. With the use of PHP MySQL our professional are enthusiastic to take all types of challenges and create new and innovative things. Here at PHP-Programming-India we ensure your business growth and increased sales and fame by using latest features in the business and best coding practices.

PHP-Programming-India caters its professional PHP development services to almost the whole ecommerce in the world and has its offshore Development Center in India e in PHP-Programming-India have a vast number of professional, and experienced PHP developers who are fanatical to their work and ensures total lucidity with the client's staff.


PHP and MySQL software are very helpful in Content Management System that has become a must for every website to progress properly. It can be said PHP is a fine combination of some features of C and Perl in a simple format. When compared to other scripting languages PHP MySQL is preferred by programmers as it is easier to maintain and update. It is accepted as a boon for easy-to program superb web pages.
Consumers across the world prefer India as the center point when it comes to PHP programmers as they are efficient enough to provide rising platforms to the owners, with the creation of booster web sites which increases their site traffic and eventually increases their sales. PHP programmers with the use of open source codes benefit from the elasticity of editing, modifying and updating the source code when there is requisite. Such programmers with strong basic knowledge and experience accept all sorts of difficulties and aims at benefiting the consumers at the most. Open source as proved itself a boon for these programmers as resources could be utilized at the max with minimum cost. In India the pay scale for these programmers are a fraction when compared to other developed countries, which is another reason why India has become the first choice at global market.



Hope you have enjoyed the post !
any more idea about the same ? let me know by comments !

Know More About :
PHP Freelancing India

Monday, December 10, 2012

Hire Freelance PHP Programmer On the web Forums Where They Eagerly Wait for an Call

Hire Freelance PHP Programmer On the web Forums Where They Eagerly Wait for an Call


Hire PHP developer India and grab the ability to cut the website expenses almost 60%. Statistics advise that the quantity that you simply probably be forced to pay to foreign website designer is all about thrice that Indian developer's charge, without any lesser quality work guaranteed. Freelance PHP programmer from India will direct you through the whole strategy of guiding you and also proving the final project exactly what you'll have wanted. Indian companies 24x7 support for the complete durations on the project and they are generous enough to create every necessary updates and changes that you want. The outsourcing clients are continuously growing as a result of various great things about it and in future one can expect this idea to enter into ever see field.


A PHP programmer India will let you effortlessly problems with regards to your business promotion along with your site. It does not matter by which industry that you are from. All kinds of solutions are offered with these Indian guys. Indian programmers are masters within the web design applications like Joomla, MySQL, PHP, Flash and also a numerous other. They are able to generate actual time flash environment that could increase the people to your internet site a great way.


These dedicated PHP programmers can certainly save a lot of money that you need not need to build a separate department with the upkeep of your sites and separately training a team of fresh professionals. Additionally you must install the required hardware if you choose to consider an 'in house' setup.


Outsourcing a project will bring in the bids of the greatest professionals and they'll fight among themselves to offer you the minimum rates. Thus you happen to be saved from the bargaining and in addition finding the best individual. Freelance professionals aren't effective on any business payroll in addition to their jobs are over whenever they submit the complete project and get the payment.

Hope you have enjoyed the post ! any more ideas / questions about the same ? let me know by comments !

Know More About :
PHP Freelancing India

Thursday, November 1, 2012

Zend Framework Enabling , Switching ,Disabling Layouts ,Using Layout Helpers

Zend Framework Enabling , Switching ,Disabling Layouts ,Using Layout Helpers




This line represents the location within the template where the content that makes up your site's various pages (views) will be injected. Therefore, to add a header and footer to your site template all you need to do is code around this line, for instance:



Enabling Layout Management

Oddly, the Zend Framework's layout feature isn't enabled by default. To enable this feature you'll need to navigate to your application's home directory and use the Zend_Tool utility. Executing this command will create a directory named layouts within your project's application directory, and within it, a file named layout.phtml. Open this file and you'll see just a single.




Switching Layouts


Disabling Layouts



Using Layout Helpers






if you are developer then i dont think i have to write more lines for understanding.


Hope you have enjoyed the post ! any more ideas / questions  about the same ? let me know by comments !

Know More About :
PHP Freelancing India

Saturday, October 27, 2012

Facebook tool aims to speed up PHP

In development for the past two years, the technology, called HipHop for PHP, has been used to reduce the CPU usage on Facebook Web servers by an average of about 50%, said Haiping Zhao, senior server engineer at Facebook.

Read Full Article here.








Hope you have enjoyed the post !
any more idea about the same ? let me know by comments !

Know More About :
PHP Freelancing India

Friday, October 19, 2012

What to Look For While Hiring Dedicated PHP Developers or PHP Freelancers ?

PHP Development Services in India - Qualities that you must look for while hiring dedicated developers:


  • Ask how the number of hours they will devote to your project and make sure that they give regular work reports in case you have decided to hire dedicated PHP developers.
  • Always choose a web development company as per your requirements. Suppose you need a programmer for an e-commerce site that it is more beneficial to choose a developer that has more experience in developing both custom and e-commerce sites.
  • Ask about their PHP programming strategies and SEO strategy as the part of the proposal to compare it to other php application development companies in India.
  • Ask for the total number of dynamic website developers that will be working on your project.You must ensure that who will own the rights of the website and the content after the completion of the project.
  • Second and the most important step would be the years of experience of the web development company. Choose a PHP programming company that has a track record of 5 years or more. Examine the proficiency of dynamic website developers by asking questions about the development program.
  • Nothing can describe the quality of the developer as good as his work, make sure to review their portfolio to judge the quality and expertise of the developer. You may also read client testimonials or ask for the reference of their clients and call to ask them about the quality of the service.


Hope you have enjoyed the post ! 
any more idea about the same ?  let me know by comments !

Know More About :
PHP Freelancing India


Friday, September 7, 2012

Mysql error 1093 - Can't specify target table for update in FROM clause

Mysql error 1093 - Can't specify target table for update in FROM clause

Q : 

I have a table story_category in my database with corrupt entries. The next query returns the corrupt entries:

SELECT * FROM story_category WHERE category_id NOT IN (
SELECT DISTINCT category.id FROM category INNER JOIN story_category ON category_id=category.id);


I tried to delete them excuting:
DELETE FROM story_category WHERE category_id NOT IN (
SELECT DISTINCT category.id FROM category INNER JOIN story_category ON category_id=category.id);

but I get the next error:

#1093 - You can't specify target table 'story_category' for update in FROM clause

How can I overcome this?

: Solution :


In MySQL, you can't modify the same table which you use in the SELECT part.
This behaviour is documented at: 
http://dev.mysql.com/doc/refman/5.6/en/update.html

You will need to stop using the nested subquery and execute the operation in two parts, or alternatively use a simple where clause.

Below is from Baron Schwartz, published at Nabble:

However, you can do multi-table updates like this:UPDATE tbl AS a
INNER JOIN tbl AS b ON ....
SET a.col = b.col


If you absolutely need the subquery, there's a workaround, but it's ugly for several reasons, including performance:
UPDATE tbl SET col = (
SELECT ... FROM (SELECT.... FROM) AS x);

The nested subquery in the FROM clause creates an implicit temporary table, so it doesn't count as the same table you're updating.

You can Also Try 

Solution 2 : 



The inner join in your subquery is unnecessary. It looks like you want to delete the entries in story_category where the category_id is not in the category table.
Instead of this:


DELETE FROM story_category WHERE category_id NOT IN (SELECT DISTINCTcategory.id FROM category INNER JOINstory_category ONcategory_id=category.id);


Do this:
DELETE FROM story_category WHERE category_id NOT IN (SELECT DISTINCTcategory.id FROM category);




Cheers !
Hope you got the Ans !
still having probs ? let me know by comments !

Know More About :
PHP Freelancing India


Wednesday, September 5, 2012

PHP startsWith() and endsWith() functions, Check String Ending/ Starting with a Character


PHP startsWith() and endsWith() functions, Check String Ending/ Starting with a Character 

Q:

I need two functions that would take a string and return if it starts with the specified character/string or ends with it.



For example:

$str='|apples}';

echo startsWith($str,'|'); //Returns true
echo endsWith($str,'}'); //Returns true


Solution :

function startsWith($haystack, $needle)
{
  $length = strlen($needle);
  return (substr($haystack, 0, $length) === $needle);
}

function endsWith($haystack, $needle)
{
  $length = strlen($needle);
  if ($length == 0) {
  return true;
}

  return (substr($haystack, -$length) === $needle);
}


Use this if you don't want to use a regex.

:D
Steel facing probs ? let me know by comments !

Know More About :
PHP Freelancing India

Sunday, July 15, 2012

What should every programmer know about web development?

Hi Googler,
Feeling Good while  writing for Web Development. :) 

Lets get in to the topic. What matters a good programmer needs to care about.

Technology:

  • Understand HTTP and things like GET, POST, sessions, cookies, and what it means to be "stateless".
  • Write your XHTML/HTML and CSS according to the W3C specifications and make sure they validate. The goal here is to avoid browser quirks modes and as a bonus make it much easier to work with non-standard browsers like screen readers and mobile devices.
  • Understand how JavaScript is processed in the browser.
  • Understand how JavaScript, style sheets, and other resources used by your page are loaded and consider their impact on perceived performance. It may be appropriate in some cases to move scripts to the bottom of your pages.
  • Understand how the JavaScript sandbox works, especially if you intend to use iframes.
  • Be aware that JavaScript can and will be disabled, and that AJAX is therefore an extension, not a baseline. Even if most normal users leave it on now, remember that NoScript is becoming more popular, mobile devices may not work as expected, and Google won't run most of your JavaScript when indexing the site.
  • Learn the difference between 301 and 302 redirects (this is also an SEO issue).
  • Learn as much as you possibly can about your deployment platform.
  • Consider using a Reset Style Sheet.
  • Consider JavaScript frameworks (such as jQuery, MooTools, Prototype, Dojo or YUI 3), which will hide a lot of the browser differences when using JavaScript for DOM manipulation.
  • For XML processing and HTML DOM updates, consider XSLT 2.0 running within a JavaScript processor app (such as Saxon-CE) - this can interoperate with JS and handle user-events (with matching templates) also.
  • Taking perceived performance and JS frameworks together, consider using a service such as theGoogle Libraries API to load frameworks so that a browser can use a copy of the framework it has already cached rather than downloading a duplicate copy from your site.
  • Don't reinvent the wheel. Before doing ANYTHING search for a component or example on how to do it. There is a 99% chance that someone has done it and released an OSS version of the code.


Bug fixing


  • Understand you'll spend 20% of your time coding and 80% of it maintaining, so code accordingly.
  • Set up a good error reporting solution.
  • Have a system for people to contact you with suggestions and criticisms.
  • Document how the application works for future support staff and people performing maintenance.
  • Make frequent backups! (And make sure those backups are functional) Ed Lucas's answer has some advice. Have a restore strategy, not just a backup strategy.
  • Use a version control system to store your files, such as Subversion, Mecurial or Git.
  • Don't forget to do your Acceptance Testing. Frameworks like Selenium can help.
  • Make sure you have sufficient logging in place using frameworks such as log4j, log4net or log4r. If something goes wrong on your live site, you'll need a way of finding out what.
  • When logging make sure you're capture both handled exceptions, and unhandled exceptions. Report/analyse the log output, as it'll show you where the key issues are in your site.

  • Lots of stuff omitted not necessarily because they're not useful answers, but because they're either too detailed, out of scope, or go a bit too far for someone looking to get an overview of the things they should know. If you're one of those people you can read the rest of the answers to get more detailed information about the things mentioned in this list. If I get the time I'll add links to the various answers that contain the things mentioned in this list if the answers go into detail about these things. Please feel free to edit this as well, I probably missed some stuff or made some mistakes.


SEO (Search Engine Optimization)


  1. Use "search engine friendly" URLs, i.e. use example.com/pages/45-article-title instead ofexample.com/index.php?page=45
  2. When using # for dynamic content change the # to #! and then on the server$_REQUEST["_escaped_fragment_"] is what googlebot uses instead of #!. In other words,./#!page=1 becomes ./?_escaped_fragments_=page=1. Also, for users that may be using FF.b4 or Chromium, history.pushState({"foo":"bar"}, "About", "./?page=1"); Is a great command. So even though the address bar has changed the page does not reload. This allows you to use ? instead of #! to keep dynamic content and also tell the server when you email the link that we are after this page, and the AJAX does not need to make another extra request.
  3. Don't use links that say "click here". You're wasting an SEO opportunity and it makes things harder for people with screen readers.
  4. Have an XML sitemap, preferably in the default location /sitemap.xml.
  5. Use <link rel="canonical" ... /> when you have multiple URLs that point to the same content, this issue can also be addressed from Google Webmaster Tools.
  6. Use Google Webmaster Tools and Bing Webmaster Tools.
  7. Install Google Analytics right at the start (or an open source analysis tool like Piwik).
  8. Know how robots.txt and search engine spiders work.
  9. Redirect requests (using 301 Moved Permanently) asking for www.example.com to example.com(or the other way round) to prevent splitting the google ranking between both sites.
  10. Know that there can be badly-behaved spiders out there.
  11. If you have non-text content look into Google's sitemap extensions for video etc. There is some good information about this in Tim Farley's answer.


Performance


  • Implement caching if necessary, understand and use HTTP caching properly as well as HTML5 Manifest.
  • Optimize images - don't use a 20 KB image for a repeating background. php.
  • Learn how to gzip/deflate content (deflate is better).
  • Combine/concatenate multiple stylesheets or multiple script files to reduce number of browser connections and improve gzip ability to compress duplications between files.
  • Take a look at the Yahoo Exceptional Performance site, lots of great guidelines including improving front-end performance and their YSlow tool. Google page speed is another tool for performance profiling. Both require Firebug to be installed.
  • Use CSS Image Sprites for small related images like toolbars (see the "minimize HTTP requests" point)
  • Busy web sites should consider splitting components across domains. Specifically...
  • Static content (i.e. images, CSS, JavaScript, and generally content that doesn't need access to cookies) should go in a separate domain that does not use cookies, because all cookies for a domain and its subdomains are sent with every request to the domain and its subdomains. One good option here is to use a Content Delivery Network (CDN).
  • Minimize the total number of HTTP requests required for a browser to render the page.
  • Utilize Google Closure Compiler for JavaScript and other minification tools.
  • Make sure there’s a favicon.ico file in the root of the site, i.e. /favicon.ico. Browsers will automatically request it, even if the icon isn’t mentioned in the HTML at all. If you don’t have a/favicon.ico, this will result in a lot of 404s, draining your server’s bandwidth.


Security






Interface and User Experience


Hope this post will be helpful a lot.
For more Please check: http://programmers.stackexchange.com


Ads:

Saturday, February 25, 2012

PHP 5.4 Emerges From the Collapse of PHP 6.0


"I guess you could say [PHP 6] was too ambitious," said Zeev Suraski, one of the principal contributors to PHP as well as the chief technology officer and co-founder of PHP software vendor Zend Technologies.


While the use of more memory may not be a big deal for a server running a single Web site, many of PHP's users run large sites requiring multiple servers operating at full capacity. "When you have a popular website, it's all about density: how many requests per second can your server take?" Suraski said. For these users, a greater memory requirement would translate directly into the need to buy more servers.
Because of this excess memory usage, the developers have temporarily halted work on the PHP 6.0 project, focusing their efforts instead on PHP 5.4 instead.




At first glance, the idea to move to Unicode makes sense for PHP. It is the most widely used server-side scripting language around the world, according to an ongoing survey from Q-Success's W3Techs. Rasmus Lerdorf created PHP in 1995 to help creating dynamic Web pages by providing basic programming concepts to augment the static markup offered by HTML. PHP is an abbreviation of PHP: Hypertext Preprocessor, a recursive algorithm.


Building a Unicode-based PHP, however, developers found their implementation required twice the run-time memory. Perhaps this is not surprising given that many of the characters in Unicode require multiple bytes to render. As a result, the software, though operational, was "significantly slower," Suraski said.



One new project is called Traits, which will allow a developer to use a specific piece of functionality in multiple parts of an application. "In each class where you wanted to support logging, you could just use the logging Trait," Suraski said. Suraski likened Traits to Java's Multiple Inheritance.
Also, many of the features that have been deprecated from PHP and were set to be removed in version 6.0 are now being removed in 5.4 instead. One example of this is PHP's Safe Mode, a mode of operation designed for running PHP in multisite implementations. Safe Mode has been both notoriously buggy and gave users a "false sense of security," Suraski said.




NIIT ties up with Zend Technologies for PHP training


Zend will provide NIIT with its training curriculum for PHP, Zend Framework, Zend software product training and the two companies will customise the content for the Indian market, NIIT said in a statement.
The program will be initially offered in India and subsequently launched in other parts of the Asia-Pacific region and other emerging markets, according to the statement.




Feb 14 (Reuters) - Software trainer NIIT Ltd (NIIT.BO) said on Monday it has tied up with U.S.-based Zend Technologies to provide training for hypertext preprocessor (PHP), a computer language used in creating web pages.




"The adoption of PHP has grown in enterprises. This partnership with NIIT is very important for us. System integrators in the US, Europe and India are being increasingly asked by clients now to build more PHP applications then Java-based applications," Zend Technologies Vice-President, Americas and Emerging Markets Field Operations, Siddhartha Agarwal said. 






ads
Get Freelancing Projects !

Visual Studio Developers Get PHP IDE Upgrade


 Jcx.Software's VS.Php 2.6 integrated development environment integrates a developer's PHP code with Microsoft's Internet Information Services 7.0, a commercial Web server. Through the integration, a Visual Studio 2008 user can test drive PHP code on a Web server before releasing it for deployment.
The VS.Php integrated environment also makes use of Visual Basic 2008's IntelliSense feature, which captures the class library and variable names of a project as they are created and automatically fills in names needed by developers after the first few letters are typed.    






features : 
  • Be more productive and obtain faster results
  • Build dynamic web applications and web services using Php
  • Collaborate better with your software team
  • Ensure quality early and often throughout the development process
  • Deploy your application securely
  • Leverage your existing software tool investment 
PHP,Visual-Studio,

For projects contact on :
bhavinrana07[@]gmail.com


Thursday, February 16, 2012

Developing Facebook Applications

hi Googler,




Building an app on Facebook gives you the opportunity to deeply integrate into the core Facebook experience. Your app can integrate with many aspects of Facebook.com, including the News Feed and Notifications. All of the core Facebook Platform technologies, such as Social Plugins, the Graph API and Platform Dialogs are available to Apps on Facebook.


read more here.

Add a Custom Scheduler for sugarcrm


Hi  Googler ! 
I was working on sugar crm, and come to add custom scheduler.


Create a file and name it “_AddJobsHere.php” in custom/modules/Schedulers/ (you may need to create the directory). Functions need to return true.
<?php
$job_strings[] = 'your_function';
function your_function(){
  // Do stuff
  return true;
}
?>
Create a new language file
<?php
//MAKE SURE THE $mod_strings KEY IS COMBINATION OF "LBL_" & SCHEDULER JOB FUNCTION NAME, ALL CAPITALS
$mod_strings['LBL_YOUR_FUNCTION'] = 'Send Reminder';
?>
write your custom function in the file and you will able to select it when you create a new scheduler job. Your directory structure will be thus:
custom/modules/Schedulers/custom/modules/Schedulers/language
custom/modules/Schedulers/language/en_us.lang.php
custom/modules/Schedulers/_AddJobsHere.php


cheers ! 

Tuesday, September 20, 2011

Speed up Page Load by reducing HTTP requests with PHP


Hi Googler,


A nice technique to speed up your page loading times is to try to reduce the amount of calls your browsers has to make to the server. This will be every image, every css and every JavaScript file included in the webpage. Each time you want to load in one of these elements you will be sending a request to the server which will return the requested object known as a HTTP request.

Reduce Page Loading Time With PHP

Each one of these uses up time on your page loading, so to reduce page load all you have to do is reduce the amount of calls being made. But what if you want to organise you JavaScript files, jquery file, general file, application file and page file. There could be upto 4 requests for some javascript for the page.
It is possible in PHP to combine these JavaScript files together and trick the browser into thinking they are just one JavaScript file, therefore reducing the amount of calls being made to the server. This is done by reading the JavaScript with PHP then changing the header to JavaScript like the example below.
Create a PHP file and use the readfile function to bring in your Javascript files then change the header to Javascript and the server will treat this page as Javascript.


readfile(jquery.js');
readfile(general.js');
readfile(jquery-ui.js');
readfile(page.js');
header('Content-type: text/javascript');

The above technique can also be used with CSS files or a combination of them both.

hope this post helped,
any questions ? let me know by comments ..
:D 

Monday, September 19, 2011

All you need to know about web site heatmaps overview

Hi Googler,
Site heatmaps are graphical illustrations of data where variables represent values of data which are recorded in two-dimensional tables. The origin of the heatmaps is the 2D displays, and its values are represented in a data matrix. In most instances, values that are larger are represented by small squares that are either dark, gray or black. The smaller squares are represented by squares that are lighter in color.
There are many different uses of heatmaps in a website, and they are very important to the people who use them. Among the different types and the uses if the heart maps include:

Web heatmaps :

  • These are heatmaps which are used to display certain areas of the web which are scanned by visitors mostly. In extension, the site owners use this information to understand what the visitors like most; hence assisting in making the necessary decisions about the steps that can be taken to ensure that more traffic is achieved.

Tree map: 

  • This is a two-dimensional partitioning of data which in ordinary cases resembles aheatmap. It has the ability to show the source and the areas that visitors visit most in a website.

Mosaic maps : 

  • These types of heatmaps which represent higher or two ways of data. It is tiled and appears in a way that makes it look like they are organized hierarchically in a mosaic plot. The regions are rectangular shaped and not squarely shaped as it is the norm. It is mainly used to make graphical representations in websites.
It is through the use of heatmaps that you can be able to understand about the visitors that you have recorded and all the things which they like doing on your site. It can be compared to someone watching another person performing a certain activity. Whenever there is a campaign that is being done online, the site owner can make use of heatmaps to understand where the traffic comes from and other related information.
A site heatmap records every mouse that clicks on your web pages. This makes it possible that you get all the necessary statistics through the eyes of your customers. By doing this, you will be able to get more information, which will make to make your site better.
Site heatmaps are graphical illustrations of data where variables represent values of data which are recorded in two-dimensional tables. The origin of the heatmaps is the 2D displays, and its values are represented in a data matrix. In most instances, values that are larger are represented by small squares that are either dark, gray or black. The smaller squares are represented by squares that are lighter in color.
There are many different uses of heatmaps in a website, and they are very important to the people who use them. Among the different types and the uses if the heart maps include:

Web heatmaps:

  •  These are heat-maps which are used to display certain areas of the web which are scanned by visitors mostly. In extension, the site owners use this information to understand what the visitors like most; hence assisting in making the necessary decisions about the steps that can be taken to ensure that more traffic is achieved.

Tree map: 

  • This is a two-dimensional partitioning of data which in ordinary cases resembles a heatmap. It has the ability to show the source and the areas that visitors visit most in a website.

Mosaic maps: 

  • These types of heatmaps which represent higher or two ways of data. It is tiled and appears in a way that makes it look like they are organized hierarchically in a mosaic plot. The regions are rectangular shaped and not squarely shaped as it is the norm. It is mainly used to make graphical representations in websites.
It is through the use of heatmaps that you can be able to understand about the visitors that you have recorded and all the things which they like doing on your site. It can be compared to someone watching another person performing a certain activity. Whenever there is a campaign that is being done online, the site owner can make use of heatmaps to understand where the traffic comes from and other related information.
A site heatmap records every mouse that clicks on your web pages. This makes it possible that you get all the necessary statistics through the eyes of your customers. By doing this, you will be able to get more information, which will make to make your site better.


Hope this post helped.
for any questions,
let me know via comments.


Know More About :
PHP Freelancing India

About

Professional & Experienced Freelance Developer From India, Technologist, Software Engineer, internet marketer and Open Sources Developer with experience in Finance, Telecoms and the Media. Contact Me for freelancing projects.

Enter your email address:

Delivered by FeedBurner