We are pleased to announce that our PublicAPI PHP client is ready! This API query client is the sibling to Cpanel::PublicAPI that was announced last month.
You can download the PublicAPI PHP client at our github repository as well as the new cPanel PEAR channel.
One of the key distinctions of the PublicAPI PHP client class is that it’s distributed as part of the cPanel PHP Library. The cPanel PHP library is a collection of PHP classes for interfacing with cPanel systems. Continue reading
Application Programming Interfaces (APIs) are fundamental to the cPanel & WHM product. APIs allow developers to perform actions (functions) that source and manipulate data related to cPanel accounts and system utilities. Our APIs are used by the cPanel developers when designing new features and interfaces but are also available to 3rd-party developers. In this post, we’ll review the various APIs associated with cPanel and WHM and how you can use them in your own development. Continue reading
Today I posted cPanel::PublicAPI to github. This is a set of perl modules that allows for easy access into cPanel’s APIs from a simple object interface. This module offers several great features:
- Auto-detection of credentials (when available)
- Support for cPanel’s DNS Clustering API
- Support for: cPanel, WHM, webmail and non-cPanel services.
- Minimal dependencies
- BSD Licensed
To get started, you can install cPanel::PublicAPI via CPAN the source is also available on our github repository if you wish to submit patches/changes. I strongly suggest reading the documentation on CPAN to get started. Continue reading
The release of cPanel & WHM version 11.30 in EDGE is right around the corner. With this release we have made numerous changes, added a few features and fixed some bugs. Predominantly, these changes can be encompassed in a few bullet points:
- Complete rewrite of update system
- Addition of Cpanel::PublicAPI
- Removal of Legacy Themes
- Several new API calls
Though each of these changes may seem small when listed as bullet points, there are a few details that you, as someone who customizes or integrates with cPanel & WHM should be aware of. Continue reading
A while back, Matt Dees blogged about our upcoming change to LivePHP in 11.28. Specifically, he mentions the use of JSON. In this article I will illustrate, in brief, why this change was made. The decision process, as you’ll see, wasn’t exactly straight forward, but a solid compromise. Continue reading
I look at a lot of applicants here at cPanel and have some tips for would be job seekers. Many of these tips are generic and could help you get a job anywhere, but all of them will help you get a job here.
- Choose your resume format carefully. You worked hard to make your resume look the way you want it to; the format you send it in will ensure it looks that way when it is reviewed by a hiring manager. Submitting a .docx to a mac shop could be a problem. Sending in a .odt is troublesome because the formatting seems to get lost between different versions of OpenOffice. I recommend using a .pdf so your resume will be intact when reviewed.
- Name your resume file something other than resume.pdf. Make your resume stand out and make sure it’s not overwritten by another candidate.
- Spell check everything! Recently I have received a few resumes where someone has trained the spell check misspelled words and they use them repeatedly :(
- Write a cover letter for each job you apply for. If you want the job, make the time to write the cover letter. Avoid using your rubber stamp cover letter from that one time you applied at NASA, re-read it and make sure it applies to the job you want.
- Don’t be coy when the salary question comes up. Remember you’re not applying to be a rocket scientist or a brain surgeon.
- Remove ancient operating systems from your list of skills. Few people care if you are skilled with RedHat6 or WindowsNT.
- Include the most recent versions you have worked with. If you have installed RHEL6 or office 2011 put that out there. It shows you are out on the edge keeping up with things.
- Resumes are two pages at most. If you have a third page it had better impressive. If you saved your nobel prize in applied mathematics for the third page we’re ok with that.
- Never have a fourth page. If you have not convinced a hiring manager to want you in three pages you’re not going to on a fourth page.
- Don’t lie. This one should be simple but avoid putting skills down that you don’t have. Typically when a lie is uncovered in an interview you will be removed from consideration.
You’ve taken the plunge and installed Ruby on your cPanel system using our /scripts/installruby command. Now, you are preparing to run Rails applications to step into the Web 2.0 world. This guide will cover some of the common issues that might prevent your application from working. Continue reading
Hey there! In this instance of The Admins Toolbox, I’ll be discussing the tcpdump utility and some common uses. Sit back, crack open a frosty beverage of your choosing, and let’s learn about packet inspection for fun and profit. :)
Tcpdump is by no means a new program. Written by Van Jacobson, Craig Leres, and Steven McCanne, while working at Berkley in 1987, tcpdump’s popularity quickly rose due to its high caliber of features. Soon after it’s release, it was ported to Continue reading
With version 11.28 of cPanel & WHM making it’s way into the production update tiers, now is a great time to discuss your application testing strategies. It’s every developer’s responsibility to test and verify their applications within their actual deployment environments. cPanel & WHM is a constantly evolving product. With each new version we aim to improve not only the end user experience, but also its suitability as a platform for your applications. We work hard to maintain a stable and consistent application platform, but sometimes changes for the better will require an additional effort from developers. We want to ensure that those changes happen before our customers and your end users notice a problem. Continue reading
This past week, we have been working to improve livePHP. For those of you not familiar with livePHP, it is a PHP class that allows access to the cPanel & WHM API1 and API2 system within an object-oriented PHP environment.
We improved the backend of the livePHP system to use JSON for socket communication, which utilizes PHP’s native JSON internally. Our testing shows that this is a great deal faster (3X) than the previous XML-based serialization with custom PHP parsing functions.
Our intent has been to maintain compatibility with the legacy interface provided by the cpanel.php class. However when changes of this nature are made, there is always a possibility of conflict. If you have an application, either for your internal use or public distribution, then we would love to get feedback on how this change has improved your product. We recommend that you submit a support request directly to us, so that we can help coordinate your testing. Please reference this article so that we can ensure your request gets the priority it deserves.
It should be noted that this is not available in public builds yet, so a ticket will need to be opened in order to coordinate your testing.