pmuralikrishna111 / ire Goto Github PK
View Code? Open in Web Editor NEWThis project forked from irehelpline/ire
Source code of the Indian railway enquiry( ire ) app developed on txtweb platform
This project forked from irehelpline/ire
Source code of the Indian railway enquiry( ire ) app developed on txtweb platform
This is the source code for the sms app named @ire published on txtweb platform. Run updater.php before first running of the app.It creates all necessary files.updater.php will take about 2-3 minutes to finish running.So be patient and wait for it to complete. Files included 1)index.php This file is used to show the home page,main menu and associated links for the text site 2)preprocessor.php This file is used to preprocess the user request.Flags and parameters for the app engine is set inside this file 3)engine.php This is the app engine.All processing happens here. 4)getStationDetails.php Returns the details of railway stations from the station name or code.The station name or code should be passed as the get parameter named station_details.If exact station name/code is found,it returns the details for the station in the following format stationCode1~stationName1~divisionName1~zoneName1~stationCode2~stationName2~divisionName2~zoneName2~.... If exact station name is not found ,it returns a list of similar stations.By default the number of stations in the list will be 5 Two additional get parameters start and limit are used to control the number of stations in the list.By default start = 0,limit =5 List will contain stations from <start> th similar station to <limit> th similar station 5)stationCodes.php Stores the list of station codes as an array(<station name> => <station code>,<station name> => <station code>,...) 6)stationNames.php Stores the list of station codes as an array(<station code> => <station name>,<station code> => <station name>,...) 7)updater.php Updates all station information,referring to files stationCodes.php,stationNames.php,and the website http://www.trainenquiry.com This ensure that local names of some stations are included.Some names that are not there in the website will be fetched from the two files and vice versa.Thus we get almost a complete list of stations After running this file , a directory named stations will be created.In that directory there will be directories like stationsa,stationsb...Each of these directories store details of stations starting with the ending alphabet of the directory name Inside each of these directories,there will be two files. i)stFromName.php This file stores the information about stations whose name starts with the ending alphabet of directory name ,as an array array(<station name> => array(<station code>,<division>,<zone>) ,....) ii)stFromCode.php This file stores the information about stations whose station code starts with the ending alphabet of directory name ,as an array array(<station code> => array(<station name>,<division>,<zone>) ,....) Thus searching will be limited to any one of this directories and files instead of the entire list of stations,which enhances the speed of the application
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.