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

Saturday, March 26, 2016

Top PHP Twitter Scripts, Widgets, Plugins of 2016

Twitter has actually become one of the very best devices for social messaging to date. Each day thousands of individuals worldwide use various Twitter website to upgrade their status, and read through tweets. Twitter is appealing to use due to the fact that it’s informal, on factor and conversational yet requires very little dedication for individuals.
There are hundreds of Twitter Plugins, Widgets and Scripts particularly made to aid you incorporate Twitter into your internet site. A lot of Twitter Plugins are split into 2 categories– those that present Twitter lives on your site, and those that enable others to share your material on their Twitter feeds. Which Twitter plugin is best for you relies on what you ‘d such as to use it for. Let’s checkout these top PHP Twitter scripts, widgets and plugins.

RSS To Twitter PHP Script

RSS To Twitter PHP Script
RSS To Twitter PHP Script posts your content in your RSS feed to your Twitter account automatically. This one is best for photo streams, news updates and affiliate marketing.

Twitter Picture Downloader

Twitter Picture Downloader
Twitter Picture Downloader can be used to download pictures for an event according to a hash tag, to download pictures from another user and to make background backup of your pictures posted to twitter.

Tweet To Unlock!

Tweet To Unlock!
Tweet To Unlock! is an easy way to reduce a timer to help your users interact with your website. This script allows your site’s visitors to wait for a download or show the download button by creating a tweet.

Schedule Twitter App – Schedule Tweets

Schedule Twitter App - Schedule Tweets
Schedule Twitter App allows your to schedule your tweets in advance, specify the time at which the tweets should be posted on your Twitter timeline.

LongTweet

LongTweet
LongTweet is a complete blog system that is integrated with Twitter. Post on your blog, it will be posted to your twitter account also. Comment on your blog, it will be retweeted on your twitter account. You have not limited with 140 characters!

Latest Tweets – Twitter Tab App For Facebook Pages

Latest Tweets - Twitter Tab App For Facebook Pages
With this App you can add your Latest Tweets inside your Facebook Page easy and fast. Your Facebook friends and Pages Fans can Follow you , Replay, Retweet, Favorite your Twitter posts, all form your Facebook Pages.

Viral Lock PHP – Like, Google+1 or Tweet to Unlock

Viral Lock PHP - Like, Google+1 or Tweet to Unlock
Viral Lock PHP has many features such as: content is protected until the visitor likes or shares your page, you can lock anything that you can put in a PHP file, specify which link to share for each protected area or automatically use the current page URL, users can write a comment with their like or Google + for added exposure and much more.

Twitter Viral and Marketing Social App

Twitter Viral and Marketing Social App
Did you ever dream to get a viral app fully integrated to the Twitter experience? You’ve got it. With this app you can let you users connect with their Twitter account before being able to access your reserved content.
You can define any locked content you want (video, article, download link…). And of course you have access to your connected users Twitter timeline. So basically you can potentially reach hundreds and thousands of your users followers, when posting a Twitter update on their timeline !

Twitter Lottery

Twitter Lottery
Nowadays most companies invest in Social Media. Some take it to the next level and have ‘Retweet and win competitions’. This script can help you by selecting a random follower or selecting a user that retweeted a tweet.

SocialAuth-Facebook+Twitter+Linkedin+Google Login

SocialAuth-Facebook+Twitter+Linkedin+Google Login
SocialAuth PHP script allows you to integrate a method to login via social networks like Twitter, Facebook, Yahoo, Google. The script also has DB authentication with extended callback mechanism.

Facebook Likebox/Twitter Slider

Facebook Likebox Twitter Slider
Facebook Likebox/Twitter Slider script has 3 nice layout designs, left/right side available, light/dark color scheme, 3 click configuration, live preview, middle/fixed vertical position and locale settings.

Ultimate Twitter Feed Class

Ultimate Twitter Feed Class
This class eliminates common difficulties when trying to display Tweets on your website or web application. Most methods of loading Tweets are effective, but unfortunately limited when it comes to customization. With this class, you’re able to design your own feed. With a little bit of pre-existing knowledge of HTML you’re also able to create your own format without editing any code in the class.

Twitter Wall for Mobile Site PRO

Twitter Wall for Mobile Site PRO
Twitter Wall for Mobile Site PRO gives you the ability to display a collection of tweets to a user. All tweets are shown according to a search string. So it means you can also get tweets from one or more accounts.

Twitter Statistics Suite

Twitter Statistics Suite
Twitter Statistics Suite lists exactly who has started following or unfollowing you, and who you have started following or unfollowing in the past 24 hours. Each user is displayed with their avatar and their username, with only 1 click away from their Twitter profile.
You can get number of total number of Twitter useres you are blocking, number of direct messages you have been setn, number of favorite tweets you have, number of lists you appear in, current number of friends you have, current number of followers you have and total number of tweets you have posted.

Twitter connect & API integration

Twitter connect & API integration
The Twitter connect enables you to login a user into your website using his Twitter account, and the ability to request and display his Twitter information into your application or website (like friends, followers, last status update etc).

Twitter Widgets and Buttons class

Twitter Widgets and Buttons class
This Twitter widgets class enables you to centralize all your Twitter widgets and buttons declarations. The main advantage is to avoid having your widgets declarations everywhere in your projects. Instead you can have them all in one place, all defined in a structured and flexible class.

No Api Twitter Widget 

No Api Twitter Widget
Tired of the hassles of using the Twitter API just to setup a simple twitter feed? Is the Twitter widget slowing down the loading of your website? Then this is the perfect solution for you!

tweet commander

tweet commander
Tweet commander brings all your tweets and information about your twitter account into your website. It uses OAuth to connect to the API . You can use tweet commander to let you users sign in with an twitter account or if you want display some extended information about your twitter account on your website.

CachedTwit

CachedTwit
A small lightweight class for loading in Twitter posts from any account via the RSS API and caching them to your local system at an interval you provide that is triggered when the tweets are called for. This script will work to 1-20 of the most current tweets. If you need more of that or the ability to pull older/specific tweets, you should look into a full Twitter API plugin. They will be a little more complex, but should handle that.

Twitter UserInfo Signature

Twitter UserInfo Signature
This script creates a signature using your data from twitter. It allows custom “powered by” text, number of followings, number of followers, twitter status and twitter username.

SocialStrap – Social Networking Platform

SocialStrap - Social Networking Platform
User profiles with four user roles (anonymous, guest, user, subscriber, reviewer and admin)
Follow system with 4tier connections
Groups and Pages
Open or closed network setup (site can be available for registered only users)

Twitter Followers / Latest Post

Twitter Followers  Latest Post
This PHP script basically displays a given user’s Twitter information in forms of number of followers and what their latest post is. Then the following information can be displayed through Plain Text, Javascript, CSS Javascript and CSS HTML onto a persons website.

Wednesday, October 28, 2015

Most Common Point Understand for Start Learning Laravel

Most Common Point Understand for Start Learning Laravel 


1. Eloquent Queries
2. Flexible Routing
3. Easy Relationships
4. Form Model Binding
5. Cache Database Queries
6. View Composers
7. Simple Authentication
8. Resources
9. Blade Templating
10. Testing Facilities
11. Remote Component
12. Events
13. View All Routes
14. Queues
15. Easy Validation
16. Tinker Tinker
17. Migrations
18. Generators
19. Commands
20. Mock Facades
21. Form Helpers
22. The IoC Container
23. Environments
24. Simple Configuration
25. Top-Shelf Further Learning

Other Resources of Laravel...

Thursday, February 5, 2015

Top PHP Twitter Scripts, Widgets, Plugins

Twitter has actually become one of the very best devices for social messaging to date. Each day thousands of individuals worldwide use various Twitter website to upgrade their status, and read through tweets. Twitter is appealing to use due to the fact that it’s informal, on factor and conversational yet requires very little dedication for individuals.
There are hundreds of Twitter Plugins, Widgets and Scripts particularly made to aid you incorporate Twitter into your internet site. A lot of Twitter Plugins are split into 2 categories– those that present Twitter lives on your site, and those that enable others to share your material on their Twitter feeds. Which Twitter plugin is best for you relies on what you ‘d such as to use it for. Let’s checkout these top PHP Twitter scripts, widgets and plugins.

RSS To Twitter PHP Script

RSS To Twitter PHP Script
RSS To Twitter PHP Script posts your content in your RSS feed to your Twitter account automatically. This one is best for photo streams, news updates and affiliate marketing.

Twitter Picture Downloader

Twitter Picture Downloader
Twitter Picture Downloader can be used to download pictures for an event according to a hash tag, to download pictures from another user and to make background backup of your pictures posted to twitter.

Tweet To Unlock!

Tweet To Unlock!
Tweet To Unlock! is an easy way to reduce a timer to help your users interact with your website. This script allows your site’s visitors to wait for a download or show the download button by creating a tweet.

Schedule Twitter App – Schedule Tweets

Schedule Twitter App - Schedule Tweets
Schedule Twitter App allows your to schedule your tweets in advance, specify the time at which the tweets should be posted on your Twitter timeline.

LongTweet

LongTweet
LongTweet is a complete blog system that is integrated with Twitter. Post on your blog, it will be posted to your twitter account also. Comment on your blog, it will be retweeted on your twitter account. You have not limited with 140 characters!

Latest Tweets – Twitter Tab App For Facebook Pages

Latest Tweets - Twitter Tab App For Facebook Pages
With this App you can add your Latest Tweets inside your Facebook Page easy and fast. Your Facebook friends and Pages Fans can Follow you , Replay, Retweet, Favorite your Twitter posts, all form your Facebook Pages.

Viral Lock PHP – Like, Google+1 or Tweet to Unlock

Viral Lock PHP - Like, Google+1 or Tweet to Unlock
Viral Lock PHP has many features such as: content is protected until the visitor likes or shares your page, you can lock anything that you can put in a PHP file, specify which link to share for each protected area or automatically use the current page URL, users can write a comment with their like or Google + for added exposure and much more.

Twitter Viral and Marketing Social App

Twitter Viral and Marketing Social App
Did you ever dream to get a viral app fully integrated to the Twitter experience? You’ve got it. With this app you can let you users connect with their Twitter account before being able to access your reserved content.
You can define any locked content you want (video, article, download link…). And of course you have access to your connected users Twitter timeline. So basically you can potentially reach hundreds and thousands of your users followers, when posting a Twitter update on their timeline !

Twitter Lottery

Twitter Lottery
Nowadays most companies invest in Social Media. Some take it to the next level and have ‘Retweet and win competitions’. This script can help you by selecting a random follower or selecting a user that retweeted a tweet.

SocialAuth-Facebook+Twitter+Linkedin+Google Login

SocialAuth-Facebook+Twitter+Linkedin+Google Login
SocialAuth PHP script allows you to integrate a method to login via social networks like Twitter, Facebook, Yahoo, Google. The script also has DB authentication with extended callback mechanism.

Facebook Likebox/Twitter Slider

Facebook Likebox Twitter Slider
Facebook Likebox/Twitter Slider script has 3 nice layout designs, left/right side available, light/dark color scheme, 3 click configuration, live preview, middle/fixed vertical position and locale settings.

Ultimate Twitter Feed Class

Ultimate Twitter Feed Class
This class eliminates common difficulties when trying to display Tweets on your website or web application. Most methods of loading Tweets are effective, but unfortunately limited when it comes to customization. With this class, you’re able to design your own feed. With a little bit of pre-existing knowledge of HTML you’re also able to create your own format without editing any code in the class.

Twitter Wall for Mobile Site PRO

Twitter Wall for Mobile Site PRO
Twitter Wall for Mobile Site PRO gives you the ability to display a collection of tweets to a user. All tweets are shown according to a search string. So it means you can also get tweets from one or more accounts.

Twitter Statistics Suite

Twitter Statistics Suite
Twitter Statistics Suite lists exactly who has started following or unfollowing you, and who you have started following or unfollowing in the past 24 hours. Each user is displayed with their avatar and their username, with only 1 click away from their Twitter profile.
You can get number of total number of Twitter useres you are blocking, number of direct messages you have been setn, number of favorite tweets you have, number of lists you appear in, current number of friends you have, current number of followers you have and total number of tweets you have posted.

Twitter connect & API integration

Twitter connect & API integration
The Twitter connect enables you to login a user into your website using his Twitter account, and the ability to request and display his Twitter information into your application or website (like friends, followers, last status update etc).

Twitter Widgets and Buttons class

Twitter Widgets and Buttons class
This Twitter widgets class enables you to centralize all your Twitter widgets and buttons declarations. The main advantage is to avoid having your widgets declarations everywhere in your projects. Instead you can have them all in one place, all defined in a structured and flexible class.

No Api Twitter Widget 

No Api Twitter Widget
Tired of the hassles of using the Twitter API just to setup a simple twitter feed? Is the Twitter widget slowing down the loading of your website? Then this is the perfect solution for you!

tweet commander

tweet commander
Tweet commander brings all your tweets and information about your twitter account into your website. It uses OAuth to connect to the API . You can use tweet commander to let you users sign in with an twitter account or if you want display some extended information about your twitter account on your website.

CachedTwit

CachedTwit
A small lightweight class for loading in Twitter posts from any account via the RSS API and caching them to your local system at an interval you provide that is triggered when the tweets are called for. This script will work to 1-20 of the most current tweets. If you need more of that or the ability to pull older/specific tweets, you should look into a full Twitter API plugin. They will be a little more complex, but should handle that.

Twitter UserInfo Signature

Twitter UserInfo Signature
This script creates a signature using your data from twitter. It allows custom “powered by” text, number of followings, number of followers, twitter status and twitter username.

SocialStrap – Social Networking Platform

SocialStrap - Social Networking Platform
User profiles with four user roles (anonymous, guest, user, subscriber, reviewer and admin)
Follow system with 4tier connections
Groups and Pages
Open or closed network setup (site can be available for registered only users)

Twitter Followers / Latest Post

Twitter Followers  Latest Post
This PHP script basically displays a given user’s Twitter information in forms of number of followers and what their latest post is. Then the following information can be displayed through Plain Text, Javascript, CSS Javascript and CSS HTML onto a persons website.

PHP Coding Styles & Standards

No matter how much proficient you are in PHP, no matter how much do you know about the in and out of the language syntax or functions, it is very simple and easy to write obfuscated and sloppy code. But such kind of code is very difficult to debug and maintain. If you are proficient in PHP and writing hard-to-read code, then it means you are having a lack of professionalism. So here you’ll find out some PHP coding styles & standards to improve your coding style.

Indentation

Although indentation or any code styling is not mandatory in PHP, but is a very nice visual organization tool that you should always consistently apply to your code. Check the following example without indentation.
1
2
3
4
5
6
7
if($day == 'Sunday' || $month == 'April') {return 30;
}
else if($day == 'Monday') {
if($month == 'January') {
return 29;
}
}
Above code is very hard to read and understand. Now compare the above code the below one:
if($day   == ‘Sunday’ ||
   $month == ‘April’) {
   return 30;
}
else if($day == ‘Monday’) {
    if($month == ‘January’) {
        return 29;
    }
}
You can see the difference between the two that which code snippet is clear. So using indentation is a good strategy to clear up your code.

Using Whitespace

Using whitespace is also a good strategy to reinforce and provide logical structure in code. You may use whitespaces to group assignments and show associations. Check the code below without whitespaces:
1
2
3
4
5
$local_time = localtime();
$name = $_REQUEST['name'];
$email = $_REQUEST['email'];
$month = $_REQUEST['month'];
$day = $_REQUEST['day'];
Above code seems messy because, I couldn’t find logical group related assignments clearly. So now check the below code with whitespace.
$local_time    = localtime();
$name            = $_REQUEST[‘name’];
$email            = $_REQUEST[‘email’];
$month          = $_REQUEST[‘month’];
$day               = $_REQUEST[‘day’];

Using Braces in Control Structures

Most of the PHP code is adopted by the C programming language. As we could see in C, a single line conditional statement doesn’t require braces in PHP. But you should use code like below with control structures in PHP.
if(isset($email)) {
    echo ‘Email is correct';
}
else {
    echo ‘Email not correct';
}

Using continue & break to Control Flow in Loops

When you are writing a code in a loop, you can utilize PHP break to jump out blocks when you feel no need to be there. Check the code below:
while(($getLine = fgets($fileOpen)) !== false) {
    if(strcmp($getLine, ‘_END’) == 0) {
      break;
    }
    if(strncmp($getLine, ‘//’, 3) == 0) {
     continue;
    }
}

Global and Constants Variables

You should always use global and constant variables in uppercase letters. So you can easily identify them as constant or global variables.

Long-Lived Variables

Write long-lived variables descriptive and concise. Because it aid readability and make the large section of code easy to read. Now question is what are long-lived variables? These variables are used through any significant length of code and/or whose representation can use clarification. For example, $cacheFiles.

Temporary Variables

Temporary variables should be concise and short in length. Because these variables usually live only within a small section of code. For example, replace $number_of_parent_indices to $pcount.

Function Names

You should handle function names as variable names. For example, they should be separated by underscores and all in lowercase. But when it comes to braces, try to use classic style to separate function declarations from other conditional types.
function say_hello($text)
{
     echo “Hello $text”;
}

Multiword Names

If you want to use variable to have multiple words, then you can apply two methods. Either you should use mixed case like $cacheFiles or you can use separated by commas like $cache_files.

Class Names

When writing class names, you should follow the following guidelines:
1. Multiword class names should be concatenated, and the first letter of each world should be capitalized.
2. Use underscores to simulated nested namespaces.
3. Keep first letter of the word capitalized. Because this visually distinguishes a class name from a member name.
For example, Text_PrettyPrint{} or XML_RSS {}.

Method Names

Method names should be in mixed case like below:
class Test_Class
{
        function casheFiles() {}
}

Naming Consistency

Variables that are used for the same purpose should have similar names. For example, if you are getting maximum, minimum or sum of some specific elements or variables. Then use variables like below:
$sum_elements;
$min_elements;
$max_elements;

Avoid to Use Open Tags

Don’t use open tags, because there may be the time you are also using complete tags. For example replace
<?
echo “Hello”;
?>
To
<?php
echo “Hello”;
?>

Don’t Construct HTML Using Echo

PHP also has one great beauty to embed HTML in PHP or vice versa. For example:
1
2
3
4
5
6
7
8
<?php
echo "<table>";
echo "<tr><td>Name</td><td>Position</td></tr>";
foreach ($employees as $employee) {
echo "<tr><td>$emplaoyee[name]</td><td>$employee[position]</td></tr>";
}
echo "</table>";
?>
But writing code like above is not a good strategy. Instead write like:
Select Code
1
2
3
4
5
6
<table>
<tr><td>Name</td><td>Position</td><tr>
<?php foreach ($employees as $employee) { ?>
<tr><td><?php echo $emplaoyee[name]; ?></td><td><?php echo $employee[position]?></td></tr>
<?php } ?>
</table>